]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_devoice.cpp
Fix iteration of oper blocks by SSLINFO
[user/henk/code/inspircd.git] / src / modules / m_devoice.cpp
index 2e590095fcfe1a9a84b68a3863cd34728b114eae..85906964826866889f81fa44d3689e6e3320f13e 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
@@ -54,7 +54,7 @@ class ModuleDeVoice : public Module
 {
        CommandDevoice cmd;
  public:
-       ModuleDeVoice(InspIRCd* Me) : Module(Me), cmd(this)
+       ModuleDeVoice() : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -65,7 +65,7 @@ class ModuleDeVoice : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Provides voiced users with the ability to devoice themselves.", VF_VENDOR, API_VERSION);
+               return Version("Provides voiced users with the ability to devoice themselves.", VF_VENDOR);
        }
 };