diff options
| author | 2007-06-26 06:33:41 +0000 | |
|---|---|---|
| committer | 2007-06-26 06:33:41 +0000 | |
| commit | e4c1ae81efcfce5d5105c49bbb17356496e67ff1 (patch) | |
| tree | 2fbb5c1bf9124f4dd072c7faf6d8ac18de145881 /src/modules/m_sethost.cpp | |
| parent | Added checks for empty ident/host/gecos in the chg* and set* commands. Patch ... (diff) | |
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
Diffstat (limited to 'src/modules/m_sethost.cpp')
| -rw-r--r-- | src/modules/m_sethost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 0719bd648..ff7d0c4da 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -38,13 +38,13 @@ class cmd_sethost : 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)+" :*** SETHOST: Invalid characters in hostname"); return CMD_FAILURE; } } if (len == 0) { - user->WriteServ("NOTICE %s :*** SETHOST: Host too short", user->nick); + user->WriteServ("NOTICE %s :*** SETHOST: Host must be specified", user->nick); return CMD_FAILURE; } if (len > 64) |
