diff options
Diffstat (limited to 'src/modules/m_cap.h')
-rw-r--r-- | src/modules/m_cap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cap.h b/src/modules/m_cap.h index ce7e7f394..409671f48 100644 --- a/src/modules/m_cap.h +++ b/src/modules/m_cap.h @@ -46,7 +46,7 @@ class GenericCap const std::string cap; GenericCap(Module* parent, const std::string &Cap) : ext("cap_" + Cap, parent), cap(Cap) { - ServerInstance->Extensions.Register(&ext); + ServerInstance->Modules->AddService(ext); } void HandleEvent(Event& ev) |