X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_setname.cpp;h=846938c8dcabe75f26a520ccb12480c198f27e0f;hb=f6b33a8facd6ca200292786c1061782c41cdd278;hp=ae85fc98dc57b5a8e21f6ca777461da3f65410e4;hpb=a032cd90ad5582914759e226085efee5aae1a1ef;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index ae85fc98d..846938c8d 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -30,7 +30,7 @@ class CommandSetname : public Command CommandSetname(Module* Creator) : Command(Creator,"SETNAME", 1, 1) { allow_empty_last_param = false; - syntax = ""; + syntax = ":"; } 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); } };