From 26e7bb0b9a17a595d9935a1cae41b44504ad213e Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 1 Apr 2013 21:56:13 +0200 Subject: Whitespace and empty destructor removal, minor coding style changes --- src/modules/m_nopartmsg.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/modules/m_nopartmsg.cpp') diff --git a/src/modules/m_nopartmsg.cpp b/src/modules/m_nopartmsg.cpp index ad3413101..0daf48c10 100644 --- a/src/modules/m_nopartmsg.cpp +++ b/src/modules/m_nopartmsg.cpp @@ -23,7 +23,6 @@ class ModulePartMsgBan : public Module { - private: public: void init() { @@ -31,16 +30,11 @@ class ModulePartMsgBan : public Module ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } - virtual ~ModulePartMsgBan() - { - } - virtual Version GetVersion() { return Version("Implements extban +b p: - part message bans", VF_OPTCOMMON|VF_VENDOR); } - virtual void OnUserPart(Membership* memb, std::string &partmessage, CUList& excepts) { if (!IS_LOCAL(memb->user)) @@ -48,8 +42,6 @@ class ModulePartMsgBan : public Module if (memb->chan->GetExtBanStatus(memb->user, 'p') == MOD_RES_DENY) partmessage.clear(); - - return; } virtual void On005Numeric(std::string &output) @@ -58,6 +50,4 @@ class ModulePartMsgBan : public Module } }; - MODULE_INIT(ModulePartMsgBan) - -- cgit v1.3.1-10-gc9f91