1
0
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:
Adam
2013-03-13 14:40:49 -05:00
parent 1d16629a6d
commit 1ff7a7c1f1
7 changed files with 92 additions and 122 deletions
+1 -1
View File
@@ -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)
{