mirror of
https://github.com/anope/anope.git
synced 2026-07-02 07:46:40 +02:00
Added support for extbans
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ void common_unban(ChannelInfo *ci, User *u, bool full)
|
||||
std::pair<Channel::ModeList::iterator, Channel::ModeList::iterator> bans = ci->c->GetModeList(CMODE_BAN);
|
||||
for (; bans.first != bans.second;)
|
||||
{
|
||||
Entry ban(bans.first->second);
|
||||
Entry ban(CMODE_BAN, bans.first->second);
|
||||
++bans.first;
|
||||
if (ban.Matches(u, full))
|
||||
ci->c->RemoveMode(NULL, CMODE_BAN, ban.GetMask());
|
||||
|
||||
Reference in New Issue
Block a user