From 9c37e57a12d2b819cd3dfeaba48c628c22cb23e0 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 9 Jan 2006 00:34:41 +0000 Subject: 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 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3