aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorGravatar danieldg2009-10-14 18:39:38 +0000
committerGravatar danieldg2009-10-14 18:39:38 +0000
commite80a1296a096ff2c495b3cd2a3913d5e5f6ec450 (patch)
treeb8e37d6b9eeb0d0bed0ae4d4cbaa249631405c8d /src/modules/m_nicklock.cpp
parentRemove Command and ModeHandler objects in their destructors; fixes possible p... (diff)
downloadinspircd++-e80a1296a096ff2c495b3cd2a3913d5e5f6ec450.tar.gz
inspircd++-e80a1296a096ff2c495b3cd2a3913d5e5f6ec450.tar.bz2
inspircd++-e80a1296a096ff2c495b3cd2a3913d5e5f6ec450.zip
Move static map of extensions into ServerInstance, add const-correctness
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 0ca0a9bac..bfbda003f 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -156,7 +156,7 @@ class ModuleNickLock : public Module
{
ServerInstance->AddCommand(&cmd1);
ServerInstance->AddCommand(&cmd2);
- Extensible::Register(&locked);
+ ServerInstance->Extensions.Register(&locked);
ServerInstance->Modules->Attach(I_OnUserPreNick, this);
}