diff options
| author | 2013-04-01 21:56:13 +0200 | |
|---|---|---|
| committer | 2013-04-01 21:56:13 +0200 | |
| commit | 26e7bb0b9a17a595d9935a1cae41b44504ad213e (patch) | |
| tree | 904734f67485d62de90c35abbb522ad0e84cb862 /src/modules/m_nopartmsg.cpp | |
| parent | Ignore empty sid in ServerConfig::Fill() (diff) | |
Whitespace and empty destructor removal, minor coding style changes
Diffstat (limited to 'src/modules/m_nopartmsg.cpp')
| -rw-r--r-- | src/modules/m_nopartmsg.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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) - |
