]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
A few more I missed.
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index 0719bd648812245e7759bb5aac3bbb36fce99fd8..e69a944e745dc3b279da4622f17739ae0f7d084b 100644 (file)
@@ -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)