]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setname.cpp
Run configure -update on all svn/git changes
[user/henk/code/inspircd.git] / src / modules / m_setname.cpp
index 97bb1cfcfb90fcddef219516fee3b19a7776c6ee..be5bdb5f9c2fa7ed9c4b30733c2c64e7a0f4138c 100644 (file)
@@ -20,7 +20,7 @@
 class CommandSetname : public Command
 {
  public:
-       CommandSetname (InspIRCd* Instance, Module* Creator) : Command(Instance, Creator,"SETNAME", 0, 1, 1)
+       CommandSetname(Module* Creator) : Command(Creator,"SETNAME", 1, 1)
        {
                syntax = "<new-gecos>";
                TRANSLATE2(TR_TEXT, TR_END);
@@ -56,7 +56,7 @@ class ModuleSetName : public Module
        CommandSetname cmd;
  public:
        ModuleSetName(InspIRCd* Me)
-               : Module(Me), cmd(Me, this)
+               : Module(Me), cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -67,7 +67,7 @@ class ModuleSetName : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_VENDOR, API_VERSION);
+               return Version("Provides support for the SETNAME command", VF_VENDOR, API_VERSION);
        }
 };