From f1e227b64d353db55071a6121dd41385ddcb0ea9 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 19 Jun 2010 21:38:50 +0000 Subject: [PATCH] Forward to ##stop_join_flood instead, since it has a candide-specific on-join msg and topic --- PBot/AntiFlood.pm | 4 ++-- PBot/VERSION.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/AntiFlood.pm b/PBot/AntiFlood.pm index ba959c62..a28d5ced 100644 --- a/PBot/AntiFlood.pm +++ b/PBot/AntiFlood.pm @@ -202,7 +202,7 @@ sub check_flood { my $banmask = address_to_mask($host); - $self->{pbot}->chanops->ban_user_timed("*!$user\@$banmask\$##fix_your_connection", $channel, $timeout * 60 * 60); + $self->{pbot}->chanops->ban_user_timed("*!$user\@$banmask\$##stop_join_flood", $channel, $timeout * 60 * 60); $self->{pbot}->logger->log("$nick!$user\@$banmask banned for $timeout hours due to join flooding (offense #${ $self->message_history }{$account}{$channel}{offenses}).\n"); @@ -283,7 +283,7 @@ sub unbanme { my $banmask = address_to_mask($host); - my $mask = "*!$user\@$banmask\$##fix_your_connection"; + my $mask = "*!$user\@$banmask\$##stop_join_flood"; if(not exists $self->{pbot}->{chanops}->{unban_timeout}->hash->{$mask}) { return "/msg $nick There is no temporary ban set for $mask in channel $channel."; diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index e00178bc..0aa1c2da 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 181, + BUILD_REVISION => 182, BUILD_DATE => "2010-06-19", };