1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 20:55:39 -04:00

finally found the damned bug

This commit is contained in:
Ryan Voots 2010-03-12 16:18:30 -05:00
parent 97f166bfa2
commit 7ece8e935a

View file

@ -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 );