3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 11:12:42 +01:00

anti-flood: check for ban evasion on nick changes

This commit is contained in:
Pragmatic Software 2011-12-12 00:19:34 +00:00
parent 242a0d5dfc
commit 44bef4bdb3
2 changed files with 2 additions and 1 deletions

View File

@ -145,6 +145,7 @@ sub get_flood_account {
if($mask =~ m/!\Q$user\E@\Q$host\E$/i) {
$self->{pbot}->logger->log("anti-flood: [get-account] $nick!$user\@$host linked to $mask\n");
$self->{message_history}->{"$nick!$user\@$host"} = $self->{message_history}->{$mask};
$self->check_nickserv_accounts($nick, $self->{message_history}->{$mask}->{nickserv_account});
return "$nick!$user\@$host";
}
}

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 328,
BUILD_REVISION => 329,
BUILD_DATE => "2011-12-11",
};