summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_pcre.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_regex_pcre.cpp')
-rw-r--r--src/modules/extra/m_regex_pcre.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_regex_pcre.cpp b/src/modules/extra/m_regex_pcre.cpp
index 4389ad685..782847736 100644
--- a/src/modules/extra/m_regex_pcre.cpp
+++ b/src/modules/extra/m_regex_pcre.cpp
@@ -39,7 +39,7 @@ private:
pcre* regex;
public:
- PCRERegex(const std::string& rx, ) : Regex(rx, Me)
+ PCRERegex(const std::string& rx) : Regex(rx)
{
const char* error;
int erroffset;
@@ -96,7 +96,7 @@ public:
{
RegexFactoryRequest* rfr = (RegexFactoryRequest*)request;
std::string rx = rfr->GetRegex();
- rfr->result = new PCRERegex(rx, ServerInstance);
+ rfr->result = new PCRERegex(rx);
return "OK";
}
return NULL;