From b5763d79dc615faaf0e17d3349bdd36d593d3584 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 17 Jan 2007 18:13:05 +0000 Subject: 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 --- src/cmd_kill.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/cmd_kill.cpp') 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) { -- cgit v1.2.3