From e80a1296a096ff2c495b3cd2a3913d5e5f6ec450 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 14 Oct 2009 18:39:38 +0000 Subject: 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 --- src/modules.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 71363ae9d..8c0fccba6 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -451,7 +451,8 @@ bool ModuleManager::Unload(const char* filename) return false; } - std::vector items = Extensible::BeginUnregister(modfind->second); + std::vector items; + ServerInstance->Extensions.BeginUnregister(modfind->second, items); /* Give the module a chance to tidy out all its metadata */ for (chan_hash::iterator c = ServerInstance->chanlist->begin(); c != ServerInstance->chanlist->end(); c++) { -- cgit v1.3.1-10-gc9f91