diff options
| author | 2009-10-14 18:39:38 +0000 | |
|---|---|---|
| committer | 2009-10-14 18:39:38 +0000 | |
| commit | e80a1296a096ff2c495b3cd2a3913d5e5f6ec450 (patch) | |
| tree | b8e37d6b9eeb0d0bed0ae4d4cbaa249631405c8d /src/modules/m_delaymsg.cpp | |
| parent | Remove Command and ModeHandler objects in their destructors; fixes possible p... (diff) | |
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_delaymsg.cpp')
| -rw-r--r-- | src/modules/m_delaymsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp index 75a1df19a..7489f6dfa 100644 --- a/src/modules/m_delaymsg.cpp +++ b/src/modules/m_delaymsg.cpp @@ -58,7 +58,7 @@ class ModuleDelayMsg : public Module { if (!ServerInstance->Modes->AddMode(&djm)) throw ModuleException("Could not add new modes!"); - Extensible::Register(&djm.jointime); + ServerInstance->Extensions.Register(&djm.jointime); Implementation eventlist[] = { I_OnUserJoin, I_OnUserPreMessage}; ServerInstance->Modules->Attach(eventlist, this, 2); } |
