mirror of
https://github.com/anope/anope.git
synced 2026-06-26 06:36:40 +02:00
Added support for extbans
This commit is contained in:
+1
-1
@@ -870,7 +870,7 @@ bool matches_list(Channel *c, User *user, ChannelModeName mode)
|
||||
std::pair<Channel::ModeList::iterator, Channel::ModeList::iterator> modes = c->GetModeList(mode);
|
||||
for (; modes.first != modes.second; ++modes.first)
|
||||
{
|
||||
Entry e(modes.first->second);
|
||||
Entry e(mode, modes.first->second);
|
||||
if (e.Matches(user))
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user