1
0
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:
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
@@ -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)
{