]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/tcpclient.cpp
Fixed a few things with the version and ping.
[irc/gameservirc.git] / gameserv / tcpclient.cpp
index bcc98fad81fddfa582824b600bc6e8028341aaba..12cc359967f282fe8aa481660c41633d2a81af8c 100644 (file)
@@ -125,7 +125,7 @@ int main(int argc, char *argv[])
            if ((quitter = find(source + 1)))
                clients.remove(quitter);
            if ((quitter = findplayer(source + 1)))
-               players.remove(quitter);
+               quitter->setNick("NULL");
 
        } else if (stricmp(cmd, "PRIVMSG") == 0) {
            char *rest, *dest;