]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/IRC/IrcHooks.pl
fixed - typo for join()
[infobot.git] / blootbot / 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" );
            }