From e4c1ae81efcfce5d5105c49bbb17356496e67ff1 Mon Sep 17 00:00:00 2001 From: special Date: Tue, 26 Jun 2007 06:33:41 +0000 Subject: Made all of the error messages in chg* and set* a bit more uniform, and added a few that were missing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7413 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chghost.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_chghost.cpp') diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index d914fd2a2..12fb8db03 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -39,7 +39,7 @@ class cmd_chghost : public command_t { if (!hostmap[(unsigned char)*x]) { - user->WriteServ("NOTICE "+std::string(user->nick)+" :*** Invalid characters in hostname"); + user->WriteServ("NOTICE "+std::string(user->nick)+" :*** CHGHOST: Invalid characters in hostname"); return CMD_FAILURE; } } @@ -51,14 +51,14 @@ class cmd_chghost : public command_t if ((parameters[1] - x) > 63) { - user->WriteServ("NOTICE %s :*** CHGHOST: Host too long",user->nick); + user->WriteServ("NOTICE %s :*** CHGHOST: Host too long", user->nick); return CMD_FAILURE; } userrec* dest = ServerInstance->FindNick(parameters[0]); if (!dest) { - /* Drop it like a hot potato. XXX - we should probably message here.. -- w00t */ + user->WriteServ("401 %s %s :No such nick/channel", user->nick, parameters[0]); return CMD_FAILURE; } -- cgit v1.2.3