]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Double checking to make sure that non-local users dont end up in the local users...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 9 Jan 2006 00:34:41 +0000 (00:34 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 9 Jan 2006 00:34:41 +0000 (00:34 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2743 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules.cpp

index efd4a5f06516bc88fcbf2b5b494ba54faf433642..0f838032a202850b4b8e85e0e9568053704b5113 100644 (file)
@@ -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;