X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_channelban.cpp;h=b19ab049432771d0edafdbaaa6d9dcc4ea5280aa;hb=95c1fb9bdd5f93cf4f8306a7b8ae9ca098aade1a;hp=387aeb2b9d5ff1ce48f9f45bee2f7a56c35f68c2;hpb=2d732f4dbf4ccd22c8a4424692cc72a89ffd49b7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_channelban.cpp b/src/modules/m_channelban.cpp index 387aeb2b9..b19ab0494 100644 --- a/src/modules/m_channelban.cpp +++ b/src/modules/m_channelban.cpp @@ -19,8 +19,7 @@ class ModuleBadChannelExtban : public Module { private: public: - ModuleBadChannelExtban(InspIRCd* Me) : Module(Me) - { + ModuleBadChannelExtban() { Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 2); } @@ -31,7 +30,7 @@ class ModuleBadChannelExtban : public Module Version GetVersion() { - return Version("Extban 'j' - channel status/join ban", VF_COMMON|VF_VENDOR,API_VERSION); + return Version("Extban 'j' - channel status/join ban", VF_COMMON|VF_VENDOR); } ModResult OnCheckBan(User *user, Channel *c, const std::string& mask)