X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_nopartmsg.cpp;h=2247226954bfeb1e51b93045d450830c15b75875;hb=33bf99090f7e3e8d3fa7f570c486f1f3d7670db9;hp=7f45255fdf65aeae98ce9100bd5188654c74b510;hpb=4ab1c43c1eee708fc50a4808f714a731891b75e8;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_nopartmsg.cpp b/src/modules/m_nopartmsg.cpp index 7f45255fd..224722695 100644 --- a/src/modules/m_nopartmsg.cpp +++ b/src/modules/m_nopartmsg.cpp @@ -19,20 +19,12 @@ #include "inspircd.h" -/* $ModDesc: Implements extban +b p: - part message bans */ - class ModulePartMsgBan : public Module { public: - void init() CXX11_OVERRIDE - { - Implementation eventlist[] = { I_OnUserPart, I_On005Numeric }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); - } - Version GetVersion() CXX11_OVERRIDE { - return Version("Implements extban +b p: - part message bans", VF_OPTCOMMON|VF_VENDOR); + return Version("Provides extban 'p', part message bans", VF_OPTCOMMON|VF_VENDOR); } void OnUserPart(Membership* memb, std::string &partmessage, CUList& excepts) CXX11_OVERRIDE