summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-09 00:34:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-09 00:34:41 +0000
commit9c37e57a12d2b819cd3dfeaba48c628c22cb23e0 (patch)
tree746e178b4e983112ce676325b47bf1e8de973185
parent69c6384ee924bf47550cfd680234bfc7ffeecc2c (diff)
Double checking to make sure that non-local users dont end up in the local users list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2743 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index efd4a5f06..0f838032a 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -652,7 +652,7 @@ bool Server::PseudoToUser(userrec* alive,userrec* zombie,std::string message)
}
}
}
- if (find(local_users.begin(),local_users.end(),zombie) == local_users.end())
+ if ((find(local_users.begin(),local_users.end(),zombie) == local_users.end()) && (zombie->fd != FD_MAGIC_NUMBER))
local_users.push_back(zombie);
return true;