git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@147
c11ca15a-4712-0410-83d8-
924469b57eb5
if (!exists $nuh{lc $nick}) {
&DEBUG("chat: nuh{$nick} doesn't exist; hrm should retry.");
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;
return;
} else {
$message = $msg;
push(@who, grep /^\Q$message\E$/i, keys %{$flood{$_}});
}
if (scalar @who) {
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" );
}
} else {
&msg($who,"Someone already said that ". (time - $time) ." seconds ago" );
}