]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_samode.cpp
m_noctcp Make extban 'C' work as intended
[user/henk/code/inspircd.git] / src / modules / m_samode.cpp
index 5d088cf12257706544a82084fbb92d199df435df..2b5ec1bd8a861d015a7f8eeb1b2767513e7e95fd 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 
-/* $ModDesc: Provides more advanced UnrealIRCd SAMODE command */
+/* $ModDesc: Provides command SAMODE to allow opers to change modes on channels and users */
 
 #include "inspircd.h"
 
@@ -41,7 +41,7 @@ class CommandSamode : public Command
                this->active = true;
                ServerInstance->Parser->CallHandler("MODE", parameters, user);
                if (ServerInstance->Modes->GetLastParse().length())
-                       ServerInstance->SNO->WriteGlobalSno('a', std::string(user->nick) + " used SAMODE: " +ServerInstance->Modes->GetLastParse());
+                       ServerInstance->SNO->WriteGlobalSno('a', user->nick + " used SAMODE: " +ServerInstance->Modes->GetLastParse());
                this->active = false;
                return CMD_SUCCESS;
        }
@@ -64,7 +64,7 @@ class ModuleSaMode : public Module
 
        Version GetVersion()
        {
-               return Version("Provides more advanced UnrealIRCd SAMODE command", VF_VENDOR);
+               return Version("Provides command SAMODE to allow opers to change modes on channels and users", VF_VENDOR);
        }
 
        ModResult OnPreMode(User* source,User* dest,Channel* channel, const std::vector<std::string>& parameters)