summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cap.h')
-rw-r--r--src/modules/m_cap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cap.h b/src/modules/m_cap.h
index 809b0f4cf..f880ab924 100644
--- a/src/modules/m_cap.h
+++ b/src/modules/m_cap.h
@@ -35,7 +35,7 @@ class GenericCap
const std::string cap;
GenericCap(Module* parent, const std::string &Cap) : ext("cap_" + Cap, parent), cap(Cap)
{
- Extensible::Register(&ext);
+ ServerInstance->Extensions.Register(&ext);
}
void HandleEvent(Event& ev)