summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/inspircd.conf.example4
-rw-r--r--src/modules/m_filter.h2
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)