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 --- include/modules/cap.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/cap.h b/include/modules/cap.h index 2ed8df494..7fa5fa969 100644 --- a/include/modules/cap.h +++ b/include/modules/cap.h @@ -45,7 +45,6 @@ class GenericCap const std::string cap; GenericCap(Module* parent, const std::string &Cap) : ext("cap_" + Cap, parent), cap(Cap) { - ServerInstance->Modules->AddService(ext); } void HandleEvent(Event& ev) -- cgit v1.2.3