diff --git a/plugins/factoids.pm b/plugins/factoids.pm index 3b1d0dd..294ad5b 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -608,7 +608,7 @@ sub basic_get_fact { } } else { - 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 + 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/\?$//;