From 992674362c5f64bdb8e1942eeaa7612524529cd6 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sun, 26 May 2013 19:44:13 +0200 Subject: Automatically register ServiceProviders created by modules --- src/commands/cmd_privmsg.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/commands/cmd_privmsg.cpp') diff --git a/src/commands/cmd_privmsg.cpp b/src/commands/cmd_privmsg.cpp index ed98c771f..5a8e23e9b 100644 --- a/src/commands/cmd_privmsg.cpp +++ b/src/commands/cmd_privmsg.cpp @@ -269,12 +269,6 @@ class ModuleCoreMessage : public Module { } - void init() - { - ServerInstance->Modules->AddService(CommandPrivmsg); - ServerInstance->Modules->AddService(CommandNotice); - } - Version GetVersion() { return Version("PRIVMSG, NOTICE", VF_CORE|VF_VENDOR); -- cgit v1.2.3