summaryrefslogtreecommitdiff
path: root/include/modules/cap.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-05-26 19:44:13 +0200
committerattilamolnar <attilamolnar@hush.com>2013-09-08 17:11:08 +0200
commit992674362c5f64bdb8e1942eeaa7612524529cd6 (patch)
tree8f29b37db626e0b81002cac48d0561ef998ec2f1 /include/modules/cap.h
parent8a64bd3a0ac72855b681b00f3a9a08cebee755ce (diff)
Automatically register ServiceProviders created by modules
Diffstat (limited to 'include/modules/cap.h')
-rw-r--r--include/modules/cap.h1
1 files changed, 0 insertions, 1 deletions
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)