]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix this to pass a User
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 28 Oct 2007 19:29:05 +0000 (19:29 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 28 Oct 2007 19:29:05 +0000 (19:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7

src/users.cpp

index b945e3238b6589802ae0a6ef28b1ed13ee204ec3..5f61ce1df58ca7a4c0bf99e9a17b5e3ccf5c3f29 100644 (file)
@@ -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];