]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setname.cpp
Make irc::sockets::* parameters consistent, add irc::sockets::mask
[user/henk/code/inspircd.git] / src / modules / m_setname.cpp
index be5bdb5f9c2fa7ed9c4b30733c2c64e7a0f4138c..bfb8f116f8d5d5bdbbacffe6d6af15d03d05c7ca 100644 (file)
@@ -55,8 +55,8 @@ class ModuleSetName : public Module
 {
        CommandSetname cmd;
  public:
-       ModuleSetName(InspIRCd* Me)
-               : Module(Me), cmd(this)
+       ModuleSetName()
+               : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -67,7 +67,7 @@ class ModuleSetName : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Provides support for the SETNAME command", VF_VENDOR, API_VERSION);
+               return Version("Provides support for the SETNAME command", VF_VENDOR);
        }
 };