diff --git a/PBot/AntiFlood.pm b/PBot/AntiFlood.pm index 291e3908..caa54f2b 100644 --- a/PBot/AntiFlood.pm +++ b/PBot/AntiFlood.pm @@ -490,6 +490,8 @@ sub address_to_mask { $banmask = "*.$1"; } elsif($address =~ m{^gateway/([^/]+)/([^/]+)/}) { $banmask = "gateway/$1/$2/*"; + } elsif($address =~ m/^([^:]+):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)$/) { + $banmask = "$1:$2:*"; } else { $banmask = $address; }