From 7ece8e935a6bcedf98930d058f929e3f726f4f73 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Fri, 12 Mar 2010 16:18:30 -0500 Subject: [PATCH] finally found the damned bug --- plugins/factoids.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/factoids.pm b/plugins/factoids.pm index 737b466..4414c47 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -362,7 +362,7 @@ sub get_fact_substitute { if ($said->{body} =~ m|^(?:\s*substitute)?\s*(.*?)\s*=~\s*s/([^/]+)/([^/]+)/([gi]*)\s*$|i) { - my ($subject, $match, $subst, $flags) = ($1, $2, $3); + my ($subject, $match, $subst, $flags) = ($1, $2, $3, $4); my $fact = $self->_db_get_fact( _clean_subject( $subject ), $name );