]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sanick.cpp
Some more text fixes and improvements (#1618).
[user/henk/code/inspircd.git] / src / modules / m_sanick.cpp
index 4744ca1dea333dfc223bd4c0424d7caac85d9089..11dc50ddcd69da3ed463f9183f8471ac5041e5e7 100644 (file)
@@ -29,7 +29,7 @@ class CommandSanick : public Command
        CommandSanick(Module* Creator) : Command(Creator,"SANICK", 2)
        {
                allow_empty_last_param = false;
-               flags_needed = 'o'; syntax = "<nick> <new-nick>";
+               flags_needed = 'o'; syntax = "<nick> <newnick>";
                TRANSLATE2(TR_NICK, TR_TEXT);
        }
 
@@ -42,7 +42,7 @@ class CommandSanick : public Command
                {
                        if (target && target->server->IsULine())
                        {
-                               user->WriteNumeric(ERR_NOPRIVILEGES, "Cannot use an SA command on a u-lined client");
+                               user->WriteNumeric(ERR_NOPRIVILEGES, "Cannot use an SA command on a U-lined client");
                                return CMD_FAILURE;
                        }
 
@@ -54,7 +54,7 @@ class CommandSanick : public Command
 
                        if (!ServerInstance->IsNick(parameters[1]))
                        {
-                               user->WriteNotice("*** Invalid nickname '" + parameters[1] + "'");
+                               user->WriteNotice("*** Invalid nickname: '" + parameters[1] + "'");
                                return CMD_FAILURE;
                        }
                }
@@ -95,7 +95,7 @@ class ModuleSanick : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for SANICK command", VF_OPTCOMMON | VF_VENDOR);
+               return Version("Provides the SANICK command, allows opers to change the nicknames of users", VF_OPTCOMMON | VF_VENDOR);
        }
 };