]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setident.cpp
Add 906, sasl aborted
[user/henk/code/inspircd.git] / src / modules / m_setident.cpp
index a0447f92ac27aafe2a6192f8feb6a83446ecd362..966b9b602bc63e01aacb40b61f537870d8ce7430 100644 (file)
 class CommandSetident : public Command
 {
  public:
- CommandSetident (InspIRCd* Instance) : Command(Instance,"SETIDENT", 'o', 1)
+ CommandSetident (InspIRCd* Instance) : Command(Instance,"SETIDENT", "o", 1)
        {
                this->source = "m_setident.so";
                syntax = "<new-ident>";
                TRANSLATE2(TR_TEXT, TR_END);
        }
 
-       CmdResult Handle(const char** parameters, int pcnt, User *user)
+       CmdResult Handle(const char* const* parameters, int pcnt, User *user)
        {
                if (!*parameters[0])
                {
@@ -48,7 +48,7 @@ class CommandSetident : public Command
                }
                
                user->ChangeIdent(parameters[0]);
-               ServerInstance->SNO->WriteToSnoMask('O', "%s used SETIDENT to change their ident to '%s'", user->nick, user->ident);
+               ServerInstance->SNO->WriteToSnoMask('A', "%s used SETIDENT to change their ident to '%s'", user->nick, user->ident);
 
                return CMD_SUCCESS;
        }