]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Stop processing the new connection in UserManager::AddUser() when an internal SocketE...
authorAttila Molnar <attilamolnar@hush.com>
Mon, 13 Jun 2016 11:05:18 +0000 (13:05 +0200)
committerAttila Molnar <attilamolnar@hush.com>
Mon, 13 Jun 2016 11:05:18 +0000 (13:05 +0200)
src/usermanager.cpp

index 76446c5b57fb07371adaa9b6730e6f335d7e0805..2cb7ad51117a4743eb8835f6cd5c79dba9456d6c 100644 (file)
@@ -143,6 +143,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs
        {
                ServerInstance->Logs->Log("USERS", DEBUG,"Internal error on new connection");
                this->QuitUser(New, "Internal error handling connection");
+               return;
        }
 
        /* NOTE: even if dns lookups are *off*, we still need to display this.