From: brain Date: Mon, 9 Jan 2006 00:34:41 +0000 (+0000) Subject: Double checking to make sure that non-local users dont end up in the local users... X-Git-Tag: v2.0.23~9334 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=9c37e57a12d2b819cd3dfeaba48c628c22cb23e0;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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;