1
0
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:
adam-
2009-07-12 19:53:26 +00:00
parent e669382cab
commit 23c654519c
+1 -1
View File
@@ -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;