mirror of
https://github.com/anope/anope.git
synced 2026-06-26 11:36:38 +02:00
Added support for extbans
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ void BotInfo::Join(Channel *c, ChannelStatus *status)
|
||||
/* We check for bans */
|
||||
for (; bans.first != bans.second; ++bans.first)
|
||||
{
|
||||
Entry ban(bans.first->second);
|
||||
Entry ban(CMODE_BAN, bans.first->second);
|
||||
if (ban.Matches(this))
|
||||
c->RemoveMode(NULL, CMODE_BAN, ban.GetMask());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user