From dac485fc0946c9b351e317d7233062b453696ead Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 Mar 2005 18:46:50 +0000 Subject: Added SILENCE=999 to 005 numeric git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@919 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_silence.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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) { -- cgit v1.2.3