]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setname.cpp
Some more text fixes and improvements (#1618).
[user/henk/code/inspircd.git] / src / modules / m_setname.cpp
index ae85fc98dc57b5a8e21f6ca777461da3f65410e4..846938c8dcabe75f26a520ccb12480c198f27e0f 100644 (file)
@@ -30,7 +30,7 @@ class CommandSetname : public Command
        CommandSetname(Module* Creator) : Command(Creator,"SETNAME", 1, 1)
        {
                allow_empty_last_param = false;
-               syntax = "<new real name>";
+               syntax = ":<realname>";
        }
 
        CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
@@ -64,7 +64,7 @@ class ModuleSetName : public Module
 
        void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
        {
-               ConfigTag* tag = ServerInstance->Config->ConfValue("cgiirc");
+               ConfigTag* tag = ServerInstance->Config->ConfValue("setname");
 
                // Whether the module should only be usable by server operators.
                bool operonly = tag->getBool("operonly");
@@ -76,7 +76,7 @@ class ModuleSetName : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for the SETNAME command", VF_VENDOR);
+               return Version("Provides the SETNAME command", VF_VENDOR);
        }
 };