summaryrefslogtreecommitdiff
path: root/modules/extra/m_regex_pcre.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_regex_pcre.cpp')
-rw-r--r--modules/extra/m_regex_pcre.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_regex_pcre.cpp b/modules/extra/m_regex_pcre.cpp
index fa804c14e..bbb90a8b8 100644
--- a/modules/extra/m_regex_pcre.cpp
+++ b/modules/extra/m_regex_pcre.cpp
@@ -1,6 +1,6 @@
/*
*
- * (C) 2012-2016 Anope Team
+ * (C) 2012-2017 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
@@ -23,7 +23,7 @@ class PCRERegex : public Regex
int erroffset;
this->regex = pcre_compile(expr.c_str(), PCRE_CASELESS, &error, &erroffset, NULL);
if (!this->regex)
- throw RegexException("Error in regex " + expr + " at offset " + stringify(erroffset) + ": " + error);
+ throw RegexException("Error in regex " + expr + " at offset " + stringify(erroffset) + ": " + error);
}
~PCRERegex()