mirror of
https://github.com/anope/anope.git
synced 2026-07-06 02:53:13 +02:00
Made elist_match_user match against users cloaked hosts
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2500 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+3
-1
@@ -2296,7 +2296,9 @@ Entry *elist_match_user(EList * list, User * u)
|
||||
/* Match what we ve got against the lists.. */
|
||||
res = elist_match(list, u->nick, u->GetIdent().c_str(), u->host, ip);
|
||||
if (!res)
|
||||
res = elist_match(list, u->nick, u->GetIdent().c_str(), u->vhost, ip);
|
||||
res = elist_match(list, u->nick, u->GetIdent().c_str(), u->GetDisplayedHost().c_str(), ip);
|
||||
if (!res && !u->GetCloakedHost().empty() && u->GetCloakedHost() != u->GetDisplayedHost())
|
||||
res = elist_match(list, u->nick, u->GetIdent().c_str(), u->GetCloakedHost().c_str(), ip);
|
||||
|
||||
if (host)
|
||||
delete [] host;
|
||||
|
||||
Reference in New Issue
Block a user