diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-10 18:25:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-10 18:25:53 +0000 |
commit | 1d0e16b170f8581e065f0dc880ef689a85906ef5 (patch) | |
tree | 2795a3708e2fc657e1582602492cd46f90769797 | |
parent | bfc97ea14213c1ee9cb34386dfc33c0c1f665aca (diff) |
Document changes to m_filter and m_filter_pcre a little.
Actually add the metadata stuff to Implements()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5670 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | docs/inspircd.conf.example | 4 | ||||
-rw-r--r-- | src/modules/m_filter.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index 6bb78e307..6153d958f 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -1021,10 +1021,12 @@ #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Filter module: Provides glob-based message filtering #<module name="m_filter.so"> -#OR +# OR # PCRE filter module: Filters messages using regular expressions #<module name="m_filter_pcre.so"> # +# You may only use one or the other with these modules, network-wide. +# #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-# # # # Optional - If you specify to use the m_filter or m_filter_pcre # diff --git a/src/modules/m_filter.h b/src/modules/m_filter.h index d93e94cb8..61a1f1b21 100644 --- a/src/modules/m_filter.h +++ b/src/modules/m_filter.h @@ -163,7 +163,7 @@ FilterBase::~FilterBase() void FilterBase::Implements(char* List) { - List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnRehash] = 1; + List[I_OnSyncOtherMetaData] = List[I_OnDecodeMetaData] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnRehash] = 1; } int FilterBase::OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status) |