]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_regex_glob.cpp
m_callerid Route ACCEPT to the server of the target user only, do not send METADATA...
[user/henk/code/inspircd.git] / src / modules / m_regex_glob.cpp
index 44d1a5898c7987091d72fd239b26248c1e02cf12..970b3a842e3ad226e9314cfa624a1f0dd2edb0cd 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 
-#include "m_regex.h"
+#include "modules/regex.h"
 #include "inspircd.h"
 
 /* $ModDesc: Regex module using plain wildcard matching. */
@@ -30,11 +30,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 +55,7 @@ public:
                ServerInstance->Modules->AddService(gf);
        }
 
-       Version GetVersion()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Regex module using plain wildcard matching.", VF_VENDOR);
        }