mirror of
https://github.com/anope/anope.git
synced 2026-06-28 09:16:38 +02:00
Fixed elist_match_user to check against vhosts, patch from sergio
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2377 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -2296,7 +2296,7 @@ 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)
|
||||
elist_match(list, u->nick, u->GetIdent().c_str(), u->vhost, ip);
|
||||
res = elist_match(list, u->nick, u->GetIdent().c_str(), u->vhost, ip);
|
||||
|
||||
if (host)
|
||||
delete [] host;
|
||||
|
||||
Reference in New Issue
Block a user