summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 20:30:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 20:30:59 +0000
commit5d453a3265ae3b5f18a848bd88e771cd00e5d1a7 (patch)
tree16d565590afbcd9e678f5380e1671a1b72d69d80
parent316e19f10c1d30215a2617f44ca61f8d6d2559a8 (diff)
Remove unneeded debug from previous tests
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7979 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_nick.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp
index 93fdd560c..10add019f 100644
--- a/src/cmd_nick.cpp
+++ b/src/cmd_nick.cpp
@@ -74,7 +74,6 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user)
* here first, no TS checks need to take place here)
*/
userrec* InUse = ServerInstance->FindNickOnly(parameters[0]);
- ServerInstance->Log(DEBUG,"Nick in use");
if (InUse && (InUse != user) && ((ServerInstance->IsNick(parameters[0]) || allowinvalid)))
{
if (InUse->registered != REG_ALL)
@@ -91,7 +90,6 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user)
}
else
{
- ServerInstance->Log(DEBUG,"Nick in use and user REG_ALL");
user->WriteServ("433 %s %s :Nickname is already in use.", user->registered >= REG_NICK ? user->nick : "*", parameters[0]);
return CMD_FAILURE;
}