summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-27 18:46:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-27 18:46:50 +0000
commitdac485fc0946c9b351e317d7233062b453696ead (patch)
tree385be1f09f420b3c6ae76fce0c641de57cc41539 /src/modules
parent0afad3dfbca96a60bd14535cb93f27097417b933 (diff)
Added SILENCE=999 to 005 numeric
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@919 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_silence.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 3ac1719e9..b6d821bc4 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -126,6 +126,12 @@ class ModuleSilence : public Module
user->Shrink("silence_list");
}
}
+
+ virtual void On005Numeric(std::string &output)
+ {
+ // we don't really have a limit...
+ output = output + " SILENCE=999";
+ }
virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text)
{