]> git.donarmstrong.com Git - infobot.git/commitdiff
fixed - typo for join()
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 2 Oct 2000 17:12:10 +0000 (17:12 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 2 Oct 2000 17:12:10 +0000 (17:12 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@147 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/IrcHooks.pl

index deff4f3935f951daadb9f62a3575068c47037b92..b7126b4189ff9672c13f83f9bc66e2199278f6fe 100644 (file)
@@ -45,6 +45,7 @@ sub on_chat {
 
     if (!exists $nuh{lc $nick}) {
        &DEBUG("chat: nuh{$nick} doesn't exist; hrm should retry.");
+       &msg($nick, "could not get whois info?");
        return;
     } else {
        $message        = $msg;
@@ -856,7 +857,8 @@ sub hookMsg {
                push(@who, grep /^\Q$message\E$/i, keys %{$flood{$_}});
            }
            if (scalar @who) {
-               &msg($who, "you already said what ".join(@who)." have said.");
+               &msg($who, "you already said what ".
+                               join(' ', @who)." have said.");
            } else {
                &msg($who,"Someone already said that ". (time - $time) ." seconds ago" );
            }