*/
-#include "m_regex.h"
+#include "modules/regex.h"
#include "inspircd.h"
-/* $ModDesc: Regex module using plain wildcard matching. */
-
class GlobRegex : public Regex
{
public:
{
}
- virtual bool Matches(const std::string& text)
+ bool Matches(const std::string& text)
{
return InspIRCd::Match(text, this->regex_string);
}
ServerInstance->Modules->AddService(gf);
}
- Version GetVersion()
+ Version GetVersion() CXX11_OVERRIDE
{
return Version("Regex module using plain wildcard matching.", VF_VENDOR);
}