From cbb06a27e9d06eadf3acf4c31be2b277ce0bc0be Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 24 Nov 2012 03:05:47 +0100 Subject: m_check, m_namesx, m_timedbans Minor cleanup --- src/modules/m_timedbans.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/modules/m_timedbans.cpp') diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 472e79ca4..c639d2039 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -113,16 +113,10 @@ class ModuleTimedBans : public Module : cmd(this) { ServerInstance->AddCommand(&cmd); - TimedBanList.clear(); Implementation eventlist[] = { I_OnDelBan, I_OnBackgroundTimer }; ServerInstance->Modules->Attach(eventlist, this, 2); } - virtual ~ModuleTimedBans() - { - TimedBanList.clear(); - } - virtual ModResult OnDelBan(User* source, Channel* chan, const std::string &banmask) { irc::string listitem = banmask.c_str(); -- cgit v1.2.3