From 8b41eadd920668bc17f543e39bb40f9ee96c098b Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 18 Oct 2007 18:16:47 +0000 Subject: Socket engine tweaks to fix a glitch, and improvements to new m_ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8225 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 2fb73c48b..3b9f5a16a 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -700,6 +700,7 @@ void User::UnOper() void User::QuitUser(InspIRCd* Instance, User *user, const std::string &quitreason, const char* operreason) { + Instance->Log(DEBUG,"QuitUser: %s", user->nick); user->Write("ERROR :Closing link (%s@%s) [%s]", user->ident, user->host, operreason); user->muted = true; Instance->GlobalCulls.AddItem(user, quitreason.c_str(), operreason); @@ -735,6 +736,8 @@ void User::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, in return; } + Instance->Log(DEBUG,"New user fd: %d", socket); + int j = 0; Instance->unregistered_count++; @@ -835,6 +838,7 @@ void User::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, in { if (!Instance->SE->AddFd(New)) { + Instance->Log(DEBUG,"Internal error on new connection"); User::QuitUser(Instance, New, "Internal error handling connection"); } } -- cgit v1.2.3