summaryrefslogtreecommitdiff
path: root/src/modules/m_silence.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 21:14:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 21:14:49 +0000
commitb9e643261230d3b71517b0bc631c3b306e7246fa (patch)
treeef6912b4891f933b5a061a3a88633b394d0ab774 /src/modules/m_silence.cpp
parent8d4551953561efc7baae31ed2529dd2371908b6c (diff)
Converted to 'Implements' system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2666 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r--src/modules/m_silence.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 86f12633d..31baf899f 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -141,6 +141,11 @@ class ModuleSilence : public Module
Srv->AddCommand(mycommand);
}
+ void Implements(char* List)
+ {
+ List[I_OnUserQuit] = List[I_On005Numeric] = List[I_OnUserPreNotice] = List[OnUserPreMessage] = 1;
+ }
+
virtual void OnUserQuit(userrec* user, std::string reason)
{
// when the user quits tidy up any silence list they might have just to keep things tidy