summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-01 16:14:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-01 16:14:31 +0000
commitb52bfda87559740f6b7f10f2c7a2d2489f9fd574 (patch)
tree200813377e4fc82462e2ec9cd887624c2186383c /src
parent7ad9ad1e2b6ccf03dbb5f5148cca1bbf89c2775a (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
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);