mirror of
https://github.com/anope/anope.git
synced 2026-06-30 00:16:39 +02:00
Refactor mask/entry code, allow full matching (against users real host/ip) if their displayed host is their real real host. Also match against cloaked host even if full matching is not being done
This commit is contained in:
@@ -383,7 +383,7 @@ class InspIRCdExtBan : public ChannelModeList
|
||||
|
||||
bool Matches(const User *u, const Entry *e) anope_override
|
||||
{
|
||||
const Anope::string &mask = e->mask;
|
||||
const Anope::string &mask = e->GetMask();
|
||||
|
||||
if (mask.find("m:") == 0 || mask.find("N:") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user