summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_filter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index 50c66d1a1..80f09a2de 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -449,8 +449,11 @@ void FilterBase::OnLoadModule(Module* mod, const std::string& name)
std::string rxname = RegexNameRequest(this, mod).Send();
if (rxname == RegexEngine)
{
- ServerInstance->SNO->WriteToSnoMask('A', "Filter now using engine '%s'", RegexEngine.c_str());
rxengine = mod;
+ /* Force a rehash to make sure that any filters that couldnt be applied from the conf
+ * on startup or on load are applied right now.
+ */
+ OnRehash(NULL, "");
}
}
}