git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@421
c11ca15a-4712-0410-83d8-
924469b57eb5
return;
}
- if ($msg eq $last{say} and length($msg) > 256) {
- &status("say: detected repeated message; skipping.");
- return;
- }
- $last{say} = $msg;
-
&status("</$talkchannel> $msg");
if (&whatInterface() =~ /IRC/) {
$msg = "zero" if ($msg =~ /^0+$/);
return;
}
- if ($msg eq $last{msg} and length($msg) > 256) {
- &status("msg: detected repeated message; skipping.");
- return;
- }
- $last{msg} = $msg;
-
&status(">$nick< $msg");
$conn->privmsg($nick, $msg) if (&whatInterface() =~ /IRC/);
}