From: w00t Date: Sun, 28 Oct 2007 19:29:05 +0000 (+0000) Subject: Fix this to pass a User X-Git-Tag: v2.0.23~4298 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=ba84759bf7e28a3f07e2d4379fa78a908dd4e3cb;p=user%2Fhenk%2Fcode%2Finspircd.git Fix this to pass a User git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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];