summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_filter.cpp2
-rw-r--r--src/modules/m_rline.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index f3f58a073..bc701878b 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -453,7 +453,7 @@ void ModuleFilter::OnRehash(User* user)
Version ModuleFilter::GetVersion()
{
- return Version("Text (spam) filtering", VF_VENDOR | VF_COMMON, RegexEngine);
+ return Version("Text (spam) filtering", VF_VENDOR | VF_COMMON, RegexEngine.GetProvider());
}
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp
index 4abfca5c1..7f5eafd69 100644
--- a/src/modules/m_rline.cpp
+++ b/src/modules/m_rline.cpp
@@ -223,7 +223,7 @@ class ModuleRLine : public Module
virtual Version GetVersion()
{
- return Version("RLINE: Regexp user banning.", VF_COMMON | VF_VENDOR, rxengine);
+ return Version("RLINE: Regexp user banning.", VF_COMMON | VF_VENDOR, rxfactory.GetProvider());
}
virtual void OnUserConnect(LocalUser* user)