diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 18:12:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 18:12:16 +0000 |
commit | 4f1ef4e881ba4811fbd771aca44c395f0ab67ece (patch) | |
tree | 3c9ea13d543cc492da537dddf41dbe9a36bda002 /src/modules/m_censor.cpp | |
parent | 43fe72edad4c5dfd1a3a700bea17c8ee7a7c3d8e (diff) |
Fixed to new new 'Implements' array
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2656 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r-- | src/modules/m_censor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index 0680644a7..31e73e8cd 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -61,6 +61,12 @@ class ModuleCensor : public Module Srv->AddExtendedMode('G',MT_CLIENT,false,0,0); } + void Implements(char* List) + { + List[I_OnRehash] = List[I_On005Numeric] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnExtendedMode] = 1; + } + + virtual void On005Numeric(std::string &output) { std::stringstream line(output); |