diff options
Diffstat (limited to 'src/modules/m_regex_glob.cpp')
-rw-r--r-- | src/modules/m_regex_glob.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp index eb7cf4ece..9c3162885 100644 --- a/src/modules/m_regex_glob.cpp +++ b/src/modules/m_regex_glob.cpp @@ -49,8 +49,9 @@ class ModuleRegexGlob : public Module { GlobFactory gf; public: - ModuleRegexGlob() : gf(this) { - ServerInstance->Modules->AddService(gf); + ModuleRegexGlob() + : gf(this) + { } Version GetVersion() CXX11_OVERRIDE |