1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 10:45:40 -04:00

should make it respond to "hi perlbot" now

This commit is contained in:
ryan 2010-01-12 14:22:25 -05:00
parent 225d14fe3b
commit 9b2996b532

View file

@ -303,6 +303,12 @@ sub _said {
$said->{addressed} = 1;
$said->{addressed_as} = $1;
}
elsif ($body =~ s/\s*\b($name_re)\s*$//)
{
$said->{body} = $body;
$said->{addressed} = 1;
$said->{addressed_as} = $1;
}
}
#--------------------------