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/);
}