summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-06-13 13:05:18 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-06-13 13:05:18 +0200
commitcb43342a295c6ab01d3895dd4bf21af60b76adaa (patch)
tree015d81567b42d0d45d8f7e9c544dcf74cbf8b130 /src
parent66f82ccf926aac39273bfc652c85c08080cc9a46 (diff)
Stop processing the new connection in UserManager::AddUser() when an internal SocketEngine error happens and the user is quitted
Diffstat (limited to 'src')
-rw-r--r--src/usermanager.cpp1
1 files changed, 1 insertions, 0 deletions
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.