]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chgident.cpp
When a server sends a SERVER command with <5 params, dont just close the connection...
[user/henk/code/inspircd.git] / src / modules / m_chgident.cpp
index e13d211f4de1ed72e1145e71c925454a3a00be1a..ee6f6e5318bcee194429357cfec7b7a382a98427 100644 (file)
@@ -12,8 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "modules.h"
 
 /* $ModDesc: Provides support for the CHGIDENT command */
 
@@ -26,6 +24,7 @@ class cmd_chgident : public command_t
        {
                this->source = "m_chgident.so";
                syntax = "<nick> <newident>";
+               TRANSLATE3(TR_NICK, TR_TEXT, TR_END);
        }
        
        CmdResult Handle(const char** parameters, int pcnt, userrec *user)