summaryrefslogtreecommitdiff
path: root/src/modules/m_regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_regex.h')
-rw-r--r--src/modules/m_regex.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_regex.h b/src/modules/m_regex.h
index b10a5115b..c8cbc10b6 100644
--- a/src/modules/m_regex.h
+++ b/src/modules/m_regex.h
@@ -20,10 +20,9 @@ class Regex : public classbase
{
protected:
std::string regex_string; // The raw uncompiled regex string.
- InspIRCd* ServerInstance;
// Constructor may as well be protected, as this class is abstract.
- Regex(const std::string& rx, InspIRCd* Me) : regex_string(rx), ServerInstance(Me)
+ Regex(const std::string& rx) : regex_string(rx)
{
}