X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_serverban.cpp;h=1a3030c0be0a4355f28a7d25e7d9437ecbc71065;hb=1bfa48143c04504181d1b194af151fae2dac1eb1;hp=6f35de862ffda13b663237e1604dcfec495c451f;hpb=2d732f4dbf4ccd22c8a4424692cc72a89ffd49b7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_serverban.cpp b/src/modules/m_serverban.cpp index 6f35de862..1a3030c0b 100644 --- a/src/modules/m_serverban.cpp +++ b/src/modules/m_serverban.cpp @@ -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 @@ -19,8 +19,7 @@ class ModuleServerBan : public Module { private: public: - ModuleServerBan(InspIRCd* Me) : Module(Me) - { + ModuleServerBan() { Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 2); } @@ -31,7 +30,7 @@ class ModuleServerBan : public Module Version GetVersion() { - return Version("Extban 's' - server ban",VF_COMMON|VF_VENDOR); + return Version("Extban 's' - server ban",VF_OPTCOMMON|VF_VENDOR); } ModResult OnCheckBan(User *user, Channel *c, const std::string& mask)