summaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r--src/modules/m_timedbans.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index fbaadbe17..804304236 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -122,6 +122,11 @@ class ModuleTimedBans : public Module
TimedBanList.clear();
}
+ void Implements(char* List)
+ {
+ List[I_OnDelBan] = List[I_OnBackgroundTimer] = 1;
+ }
+
virtual int OnDelBan(userrec* source, chanrec* chan, std::string banmask)
{
for (timedbans::iterator i = TimedBanList.begin(); i < TimedBanList.end(); i++)