diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-17 18:13:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-17 18:13:05 +0000 |
commit | b5763d79dc615faaf0e17d3349bdd36d593d3584 (patch) | |
tree | b92d4c151b6db4bd9d0ca319783693a4c245e088 /src/cmd_kill.cpp | |
parent | 44d4833d86039ca86765143f33dcc65abf9da897 (diff) |
It says something about how excessive our debug output is when the ssl modules have 'cascades' of 'if-then-else' whos job is ONLY to output debug!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6365 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_kill.cpp')
-rw-r--r-- | src/cmd_kill.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp index 001f48e2c..d0de52b8d 100644 --- a/src/cmd_kill.cpp +++ b/src/cmd_kill.cpp @@ -35,18 +35,12 @@ CmdResult cmd_kill::Handle (const char** parameters, int pcnt, userrec *user) char killreason[MAXBUF]; int MOD_RESULT = 0; - ServerInstance->Log(DEBUG,"kill: %s %s", parameters[0], parameters[1]); - if (u) { - ServerInstance->Log(DEBUG, "into kill mechanism"); FOREACH_RESULT(I_OnKill, OnKill(user, u, parameters[1])); if (MOD_RESULT) - { - ServerInstance->Log(DEBUG, "A module prevented the kill with result %d", MOD_RESULT); return CMD_FAILURE; - } if (!IS_LOCAL(u)) { @@ -59,10 +53,7 @@ CmdResult cmd_kill::Handle (const char** parameters, int pcnt, userrec *user) user_hash::iterator iter = ServerInstance->clientlist->find(u->nick); if (iter != ServerInstance->clientlist->end()) - { - ServerInstance->Log(DEBUG,"deleting user hash value %d", iter->second); ServerInstance->clientlist->erase(iter); - } if (u->registered == REG_ALL) { |