]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_regex_glob.cpp
m_spanningtree Remove SpanningTreeUtilities* fields and parameters
[user/henk/code/inspircd.git] / src / modules / m_regex_glob.cpp
index 44d1a5898c7987091d72fd239b26248c1e02cf12..887b1cd796dc09c8d3cda56268ff9f6cc055e492 100644 (file)
  */
 
 
-#include "m_regex.h"
+#include "modules/regex.h"
 #include "inspircd.h"
 
-/* $ModDesc: Regex module using plain wildcard matching. */
-
 class GlobRegex : public Regex
 {
 public:
@@ -30,11 +28,7 @@ public:
        {
        }
 
-       virtual ~GlobRegex()
-       {
-       }
-
-       virtual bool Matches(const std::string& text)
+       bool Matches(const std::string& text)
        {
                return InspIRCd::Match(text, this->regex_string);
        }
@@ -59,7 +53,7 @@ public:
                ServerInstance->Modules->AddService(gf);
        }
 
-       Version GetVersion()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Regex module using plain wildcard matching.", VF_VENDOR);
        }