X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules%2Fregex.h;h=2a915ae61dda1f0806e2edb35cdcb69e2a823f59;hb=c7b938502295ddc5b2c89e0854d8c5c19ede32dc;hp=5a0ea49031037046c00436299dd9db22f21c2c60;hpb=2ba32afa9a9aca7c82966b66bda16c3c3dbfbba5;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules/regex.h b/include/modules/regex.h index 5a0ea4903..2a915ae61 100644 --- a/include/modules/regex.h +++ b/include/modules/regex.h @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2013 Sadie Powell + * Copyright (C) 2013, 2021 Sadie Powell * Copyright (C) 2013 Attila Molnar * Copyright (C) 2012 Robby * Copyright (C) 2010 Craig Edwards @@ -59,9 +59,9 @@ class RegexFactory : public DataProvider class RegexException : public ModuleException { public: - RegexException(const std::string& regex, const std::string& error) - : ModuleException("Error in regex '" + regex + "': " + error) { } + RegexException(const std::string& regex, const std::string& error) + : ModuleException("Error in regex '" + regex + "': " + error) { } - RegexException(const std::string& regex, const std::string& error, int offset) - : ModuleException("Error in regex '" + regex + "' at offset " + ConvToStr(offset) + ": " + error) { } + RegexException(const std::string& regex, const std::string& error, int offset) + : ModuleException("Error in regex '" + regex + "' at offset " + ConvToStr(offset) + ": " + error) { } };