diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 21:28:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 21:28:05 +0000 |
commit | 53e521785f75f9a3f8be7f8110a8af65fcaff410 (patch) | |
tree | 3bf77d9a15ef786e1605c6e9887f902b71f0ea3a /src/modules/m_timedbans.cpp | |
parent | b9e643261230d3b71517b0bc631c3b306e7246fa (diff) |
Last set converted to 'Implements'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2667 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r-- | src/modules/m_timedbans.cpp | 5 |
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++) |