1
0
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:
Adam
2011-03-07 19:54:51 -05:00
parent 093b3d258e
commit 8eb23e7d48
21 changed files with 356 additions and 248 deletions
+1 -1
View File
@@ -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());
}