diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-28 19:29:05 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-28 19:29:05 +0000 |
commit | ba84759bf7e28a3f07e2d4379fa78a908dd4e3cb (patch) | |
tree | 9c51ae064307946e78903f50935d616804f69a1a | |
parent | f428fe870d78bf90e27e0124e24f05c06e7ded58 (diff) |
Fix this to pass a User
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index b945e3238..5f61ce1df 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -833,7 +833,8 @@ void User::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, in New->exempt = (Instance->XLines->matches_exception(New) != NULL); if (!New->exempt) { - ZLine* r = Instance->XLines->matches_zline(ipaddr); + ZLine* r = Instance->XLines->matches_zline(New); + if (r) { char reason[MAXBUF]; |