X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_regex_glob.cpp;h=887b1cd796dc09c8d3cda56268ff9f6cc055e492;hb=e950f568d0f571e9475aa38177486468714de4d3;hp=f53ac2b9ce4337d9d3491bfbd4a765e9cdd14d00;hpb=8790551dc182cd8804ee7d8ef89ccb31067cc2a4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp index f53ac2b9c..887b1cd79 100644 --- a/src/modules/m_regex_glob.cpp +++ b/src/modules/m_regex_glob.cpp @@ -21,8 +21,6 @@ #include "modules/regex.h" #include "inspircd.h" -/* $ModDesc: Regex module using plain wildcard matching. */ - class GlobRegex : public Regex { public: @@ -30,7 +28,7 @@ public: { } - virtual bool Matches(const std::string& text) + bool Matches(const std::string& text) { return InspIRCd::Match(text, this->regex_string); } @@ -55,7 +53,7 @@ public: ServerInstance->Modules->AddService(gf); } - Version GetVersion() + Version GetVersion() CXX11_OVERRIDE { return Version("Regex module using plain wildcard matching.", VF_VENDOR); }