diff --git a/plugins/factoids.pm b/plugins/factoids.pm index 294ad5b..2f8ec15 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -611,7 +611,7 @@ sub basic_get_fact { if ($subject =~ /[\?\.\!]$/) #check if some asshole decided to add a ? at the end of the factoid, if so remove it and recurse, this should only be able to recurse N times so it should be fine { my $newsubject = $subject; - $newsubject =~ s/\?$//; + $newsubject =~ s/[\?\.\!]$//; return $self->basic_get_fact($pm, $said, $newsubject, $name, $call_only); }