From b52bfda87559740f6b7f10f2c7a2d2489f9fd574 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 1 May 2007 16:14:31 +0000 Subject: Change a return NULL to a continue so that where host matches but port doesnt, skip the connect tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6854 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users.cpp b/src/users.cpp index fb4c8b48e..ca2a27f0d 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1826,7 +1826,7 @@ ConnectClass* userrec::GetClass() if (this->GetPort() == i->GetPort()) return &(*i); else - return NULL; + continue; } else return &(*i); -- cgit v1.2.3