Bot-Pastebot
view release on metacpan or search on metacpan
lib/Bot/Pastebot/Server/Http.pm view on Meta::CPAN
}
# else must be local?
}
my $error = "";
if (length $channel) {
# See if it matches.
if (is_ignored($heap->{my_isrv}, $channel, $remote_addr)) {
$error = (
"<p><b><font size='+1' color='#800000'>" .
"Your IP address has been blocked from pasting to $channel." .
"</font></b></p>"
);
$channel = "";
}
}
# Goes as a separate block.
if (length $channel) {
unless (grep $_ eq $channel, channels($heap->{my_isrv})) {
$error = (
( run in 0.466 second using v1.01-cache-2.11-cpan-49f99fa48dc )