aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-09-26 18:49:05 +0100
committerGravatar Sadie Powell2021-09-26 19:16:51 +0100
commitf2386ea01f36fd0bf2054dafb656c0826ad51e45 (patch)
tree4e2f97451245d2b840a9433de7353947875ea75f /include/modules
parentFix and optimise sending standard replies with variable parameters. (diff)
Add the regex_pcre2 module.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/regex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/regex.h b/include/modules/regex.h
index e4915cbe2..18180d2b8 100644
--- a/include/modules/regex.h
+++ b/include/modules/regex.h
@@ -139,7 +139,7 @@ class Regex::Exception final
* @param error The error which occurred whilst compiling the regular expression.
* @param offset The offset at which the errror occurred.
*/
- Exception(const std::string& regex, const std::string& error, int offset)
+ Exception(const std::string& regex, const std::string& error, size_t offset)
: ModuleException("Error in regex '" + regex + "' at offset " + ConvToStr(offset) + ": " + error)
{
}