X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_saquit.cpp;h=ad3c857e099067ec647f5c63969b5e84fc388235;hb=f6b33a8facd6ca200292786c1061782c41cdd278;hp=9034016d29d1aa0efc499a53191e97677cbb28cf;hpb=384ef31bc01e4a1a2e59d082c9066002410ba54a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp index 9034016d2..ad3c857e0 100644 --- a/src/modules/m_saquit.cpp +++ b/src/modules/m_saquit.cpp @@ -28,7 +28,7 @@ class CommandSaquit : public Command public: CommandSaquit(Module* Creator) : Command(Creator, "SAQUIT", 2, 2) { - flags_needed = 'o'; syntax = " "; + flags_needed = 'o'; syntax = " :"; TRANSLATE2(TR_NICK, TR_TEXT); } @@ -39,7 +39,7 @@ class CommandSaquit : public Command { if (dest->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 CommandSaquit : public Command } else { - user->WriteNotice("*** Invalid nickname '" + parameters[0] + "'"); + user->WriteNotice("*** Invalid nickname: '" + parameters[0] + "'"); return CMD_FAILURE; } } @@ -76,7 +76,7 @@ class ModuleSaquit : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides support for an SAQUIT command, exits user with a reason", VF_OPTCOMMON | VF_VENDOR); + return Version("Provides the SAQUIT command, allows opers to force-quit users", VF_OPTCOMMON | VF_VENDOR); } };