]> git.donarmstrong.com Git - infobot.git/commitdiff
* Correction to last "whois" bug not handling "whois#"
authortroubled-irc <troubled-irc@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 12 Oct 2007 20:27:00 +0000 (20:27 +0000)
committertroubled-irc <troubled-irc@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 12 Oct 2007 20:27:00 +0000 (20:27 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1355 c11ca15a-4712-0410-83d8-924469b57eb5

src/Factoids/Core.pl

index 205158d27acb09860175c8d6df893d403e6997f6..a43a3d6e7eee63cfe840c2bc22e745d2dbbcc2a2 100644 (file)
@@ -460,7 +460,7 @@ sub FactoidStuff {
        # fix the string.
        s/^hey([, ]+)where/where/i;
        s/\s+\?$/?/;
-       s/^whois/who is/i; # Must match ^, else factoids with "whois" anywhere break
+       s/^whois /who is /i; # Must match ^, else factoids with "whois" anywhere break
        s/where can i find/where is/i;
        s/how about/where is/i;
        s/ da / the /ig;