X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_nopartmsg.cpp;h=bd738a2da24b6bbe419888e7e546cd81d12133e6;hb=80e81e3b81b779901fd9d67f8ae030ee30c0bcec;hp=6d0f0a1c723fd4c66cec374e387757b4a9276822;hpb=54d10d53c730ab81ca6464fe2f0e0ecbcd435672;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_nopartmsg.cpp b/src/modules/m_nopartmsg.cpp index 6d0f0a1c7..bd738a2da 100644 --- a/src/modules/m_nopartmsg.cpp +++ b/src/modules/m_nopartmsg.cpp @@ -1,6 +1,12 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2013, 2020 Sadie Powell + * Copyright (C) 2012 Robby + * Copyright (C) 2012 Attila Molnar + * Copyright (C) 2010 Craig Edwards + * Copyright (C) 2009-2010 Daniel De Graaf + * Copyright (C) 2009 Uli Schlachter * Copyright (C) 2008 Robin Burchell * * This file is part of InspIRCd. InspIRCd is free software: you can @@ -22,15 +28,9 @@ 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("Adds the p: extended ban which blocks the part message of matching users.", VF_OPTCOMMON|VF_VENDOR); } void OnUserPart(Membership* memb, std::string &partmessage, CUList& excepts) CXX11_OVERRIDE