]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setname.cpp
Add Base64 encode/decode functions to the core
[user/henk/code/inspircd.git] / src / modules / m_setname.cpp
index 97bb1cfcfb90fcddef219516fee3b19a7776c6ee..5091e111006278240693ec7875092f7bd31b71e1 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -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);
@@ -55,8 +55,8 @@ class ModuleSetName : public Module
 {
        CommandSetname cmd;
  public:
-       ModuleSetName(InspIRCd* Me)
-               : Module(Me), cmd(Me, this)
+       ModuleSetName()
+               : 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);
        }
 };