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:
parent
242a0d5dfc
commit
44bef4bdb3
@ -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";
|
||||
}
|
||||
}
|
||||
|
@ -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",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user