mirror of
https://github.com/anope/anope.git
synced 2026-06-25 21:26:38 +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:
@@ -381,7 +381,7 @@ class UnrealExtBan : 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("~c:") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user