From 9e7c48c59f3ffda80eb979aed43f5491c80b7e75 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Dec 2005 18:25:56 +0000 Subject: Converted more stuff to 'Implements' system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2658 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_filter_pcre.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp index c654fd1cf..b2cc40f15 100644 --- a/src/modules/extra/m_filter_pcre.cpp +++ b/src/modules/extra/m_filter_pcre.cpp @@ -86,7 +86,12 @@ class ModuleFilterPCRE : public Module delete MyConf; delete Conf; } - + + void Implements(char* List) + { + List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnRehash] = 1; + } + // format of a config entry is virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text) -- cgit v1.2.3