diff options
author | Peter Powell <petpow@saberuk.com> | 2018-09-23 14:19:06 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-09-23 14:19:06 +0100 |
commit | cae87fa047bafedc665d07929b47eaa707ff5f42 (patch) | |
tree | c03f926496ac49d01efff18b662ca5ccac6645c2 /include/inspircd.h | |
parent | 876b1ae4e280e99f24d37da4b819f108ddb3f1e3 (diff) |
Switch all core modules still using COMMAND_INIT to MODULE_INIT.
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 90ee6ca8d..934f2f82b 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -574,21 +574,6 @@ class CoreExport InspIRCd ENTRYPOINT; -template<class Cmd> -class CommandModule : public Module -{ - Cmd cmd; - public: - CommandModule() : cmd(this) - { - } - - Version GetVersion() CXX11_OVERRIDE - { - return Version(cmd.name, VF_VENDOR|VF_CORE); - } -}; - inline void stdalgo::culldeleter::operator()(classbase* item) { if (item) |