X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_sethost.cpp;h=e69a944e745dc3b279da4622f17739ae0f7d084b;hb=d556a4f8740b65e635ff7d2b976faaedbdac51d4;hp=0719bd648812245e7759bb5aac3bbb36fce99fd8;hpb=ee6208dc8f5bb806eca36e230ca5bbb6d5a45f60;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 0719bd648..e69a944e7 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) @@ -105,4 +105,4 @@ class ModuleSetHost : public Module }; -MODULE_INIT(ModuleSetHost); +MODULE_INIT(ModuleSetHost)