summaryrefslogtreecommitdiff
path: root/src/cmd_quit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_quit.cpp')
-rw-r--r--src/cmd_quit.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp
index 32bfff0fa..0c5db928d 100644
--- a/src/cmd_quit.cpp
+++ b/src/cmd_quit.cpp
@@ -84,10 +84,7 @@ CmdResult cmd_quit::Handle (const char** parameters, int pcnt, userrec *user)
ServerInstance->SE->DelFd(user);
std::vector<userrec*>::iterator x = find(ServerInstance->local_users.begin(),ServerInstance->local_users.end(),user);
if (x != ServerInstance->local_users.end())
- {
- ServerInstance->Log(DEBUG,"Delete local user");
ServerInstance->local_users.erase(x);
- }
user->CloseSocket();
}