diff options
Diffstat (limited to 'modules/extra/regex_pcre2.cpp')
-rw-r--r-- | modules/extra/regex_pcre2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/regex_pcre2.cpp b/modules/extra/regex_pcre2.cpp index ef2786823..991be3f6c 100644 --- a/modules/extra/regex_pcre2.cpp +++ b/modules/extra/regex_pcre2.cpp @@ -30,7 +30,7 @@ public: { PCRE2_UCHAR error[128]; pcre2_get_error_message(errcode, error, sizeof error); - throw RegexException("Error in regex " + expr + " at offset " + stringify(erroffset) + ": " + reinterpret_cast<const char*>(error)); + throw RegexException("Error in regex " + expr + " at offset " + Anope::ToString(erroffset) + ": " + reinterpret_cast<const char*>(error)); } } |