diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-26 19:44:13 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-09-08 17:11:08 +0200 |
commit | 992674362c5f64bdb8e1942eeaa7612524529cd6 (patch) | |
tree | 8f29b37db626e0b81002cac48d0561ef998ec2f1 /src/modules/m_swhois.cpp | |
parent | 8a64bd3a0ac72855b681b00f3a9a08cebee755ce (diff) |
Automatically register ServiceProviders created by modules
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index c2659f6aa..aaa6ff5b4 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -88,12 +88,6 @@ class ModuleSWhois : public Module { } - void init() CXX11_OVERRIDE - { - ServerInstance->Modules->AddService(cmd); - ServerInstance->Modules->AddService(cmd.swhois); - } - // :kenny.chatspike.net 320 Brain Azhrarn :is getting paid to play games. ModResult OnWhoisLine(User* user, User* dest, int &numeric, std::string &text) CXX11_OVERRIDE { |