From: Attila Molnar Date: Mon, 13 Jun 2016 11:05:18 +0000 (+0200) Subject: Stop processing the new connection in UserManager::AddUser() when an internal SocketE... X-Git-Tag: v2.0.23~14 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=cb43342a295c6ab01d3895dd4bf21af60b76adaa;hp=66f82ccf926aac39273bfc652c85c08080cc9a46;p=user%2Fhenk%2Fcode%2Finspircd.git Stop processing the new connection in UserManager::AddUser() when an internal SocketEngine error happens and the user is quitted --- diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 76446c5b5..2cb7ad511 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -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.