diff options
| author | 2014-01-06 13:37:06 +0100 | |
|---|---|---|
| committer | 2014-01-06 13:37:06 +0100 | |
| commit | ade1500382366b0cf24147370aea0a3e5bbe50bf (patch) | |
| tree | 699fe35aaaa3645a8ac0219bce3a44dba1b50ba6 /src/modules/m_timedbans.cpp | |
| parent | Unset all extensions and the topic when lowering TS on a channel (diff) | |
Automatically register and unregister mode watchers
Diffstat (limited to 'src/modules/m_timedbans.cpp')
| -rw-r--r-- | src/modules/m_timedbans.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 40cc162c1..e3a938336 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -148,16 +148,6 @@ class ModuleTimedBans : public Module { } - void init() CXX11_OVERRIDE - { - ServerInstance->Modes->AddModeWatcher(&banwatcher); - } - - ~ModuleTimedBans() - { - ServerInstance->Modes->DelModeWatcher(&banwatcher); - } - void OnBackgroundTimer(time_t curtime) CXX11_OVERRIDE { timedbans expired; |
