summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_posix.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 17:28:25 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 17:28:25 +0000
commit7c1352df0c8bb2624d4f2cc8320467578c39a6ad (patch)
tree95a8b7aed3e46aa13f669fa2badcb6a6cbbece1f /src/modules/extra/m_regex_posix.cpp
parent7107ec12d8640d35cfe3d5002db1bc1deb33625d (diff)
Compile fixes and message updates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11767 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_regex_posix.cpp')
-rw-r--r--src/modules/extra/m_regex_posix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_regex_posix.cpp b/src/modules/extra/m_regex_posix.cpp
index 5fe4db29f..7afaad076 100644
--- a/src/modules/extra/m_regex_posix.cpp
+++ b/src/modules/extra/m_regex_posix.cpp
@@ -34,7 +34,7 @@ private:
regex_t regbuf;
public:
- POSIXRegex(const std::string& rx, bool extended) : Regex(rx, Me)
+ POSIXRegex(const std::string& rx, bool extended) : Regex(rx)
{
int flags = (extended ? REG_EXTENDED : 0) | REG_NOSUB;
int errcode;
@@ -109,7 +109,7 @@ public:
{
RegexFactoryRequest* rfr = (RegexFactoryRequest*)request;
std::string rx = rfr->GetRegex();
- rfr->result = new POSIXRegex(rx, ServerInstance, extended);
+ rfr->result = new POSIXRegex(rx, extended);
return "OK";
}
return NULL;