X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_regex_glob.cpp;h=1b62bbebb5ad6145083d1a95f5b2be1a201fed9a;hb=80e81e3b81b779901fd9d67f8ae030ee30c0bcec;hp=eb7cf4ece5d383032ee0d9d4d8cf996014305fbc;hpb=1031f333332cf1b09db4fd632f141143ee637c34;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp index eb7cf4ece..1b62bbebb 100644 --- a/src/modules/m_regex_glob.cpp +++ b/src/modules/m_regex_glob.cpp @@ -1,8 +1,13 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2009 Daniel De Graaf + * Copyright (C) 2013 Sadie Powell + * Copyright (C) 2013 Attila Molnar + * Copyright (C) 2012, 2019 Robby + * Copyright (C) 2009-2010 Daniel De Graaf + * Copyright (C) 2009 Uli Schlachter * Copyright (C) 2008 Thomas Stagner + * Copyright (C) 2008 Craig Edwards * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -18,8 +23,8 @@ */ -#include "modules/regex.h" #include "inspircd.h" +#include "modules/regex.h" class GlobRegex : public Regex { @@ -49,13 +54,14 @@ class ModuleRegexGlob : public Module { GlobFactory gf; public: - ModuleRegexGlob() : gf(this) { - ServerInstance->Modules->AddService(gf); + ModuleRegexGlob() + : gf(this) + { } Version GetVersion() CXX11_OVERRIDE { - return Version("Regex module using plain wildcard matching.", VF_VENDOR); + return Version("Provides a regular expression engine which uses the built-in glob matching system.", VF_VENDOR); } };