diff options
| author | 2020-04-09 18:57:50 +0100 | |
|---|---|---|
| committer | 2020-04-11 13:54:05 +0100 | |
| commit | 1a800f7b3db23cdef7e167cd25c0f3b2a64a8e46 (patch) | |
| tree | f302e819c6707d578c2011544069a21640fab735 /src/modules/m_customprefix.cpp | |
| parent | Default <sslprofile:hash> to sha256 for GnuTLS and OpenSSL. (diff) | |
Improve storage of module description, flags, and link data.
Diffstat (limited to 'src/modules/m_customprefix.cpp')
| -rw-r--r-- | src/modules/m_customprefix.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/modules/m_customprefix.cpp b/src/modules/m_customprefix.cpp index 5c0193fba..78098de95 100644 --- a/src/modules/m_customprefix.cpp +++ b/src/modules/m_customprefix.cpp @@ -44,8 +44,15 @@ class CustomPrefixMode : public PrefixMode class ModuleCustomPrefix : public Module { + private: std::vector<CustomPrefixMode*> modes; + public: + ModuleCustomPrefix() + : Module(VF_VENDOR, "Provides custom prefix channel modes") + { + } + void init() override { ConfigTagList tags = ServerInstance->Config->ConfTags("customprefix"); @@ -103,11 +110,6 @@ class ModuleCustomPrefix : public Module { stdalgo::delete_all(modes); } - - Version GetVersion() override - { - return Version("Provides custom prefix channel modes", VF_VENDOR); - } }; MODULE_INIT(ModuleCustomPrefix) |
