summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 19:29:05 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 19:29:05 +0000
commitba84759bf7e28a3f07e2d4379fa78a908dd4e3cb (patch)
tree9c51ae064307946e78903f50935d616804f69a1a /src
parentf428fe870d78bf90e27e0124e24f05c06e7ded58 (diff)
Fix this to pass a User
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp3
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];