X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fextra%2Fm_regex_stdlib.cpp;h=f27a98cca6eb6788076648a80280f472c7efaf0c;hb=4ab1c43c1eee708fc50a4808f714a731891b75e8;hp=3c15f5568886e0d05688fe23938c773427331ccc;hpb=e586aaab7c4f7b03514c83451d73b73f55dc6998;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/extra/m_regex_stdlib.cpp b/src/modules/extra/m_regex_stdlib.cpp index 3c15f5568..f27a98cca 100644 --- a/src/modules/extra/m_regex_stdlib.cpp +++ b/src/modules/extra/m_regex_stdlib.cpp @@ -52,7 +52,7 @@ class StdRegex : public Regex } } - virtual bool Matches(const std::string& text) + bool Matches(const std::string& text) { return std::regex_search(text, regexcl); } @@ -81,12 +81,12 @@ public: OnRehash(NULL); } - Version GetVersion() + Version GetVersion() CXX11_OVERRIDE { return Version("Regex Provider Module for std::regex", VF_VENDOR); } - void OnRehash(User* u) + void OnRehash(User* u) CXX11_OVERRIDE { ConfigTag* Conf = ServerInstance->Config->ConfValue("stdregex"); std::string regextype = Conf->getString("type", "ecmascript");