From aa7cc18468f4b16bf79cd1788cad0cbf0d926817 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 19 Oct 2009 20:12:12 +0000 Subject: Fix implementation of reference to const, use reference counting for ExtensibleItem git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11924 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index c5bd87cde..87d25ac42 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -460,7 +460,7 @@ void ModuleManager::DoSafeUnload(Module* mod) { std::map::iterator modfind = Modules.find(mod->ModuleSourceFile); - std::vector items; + 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.2.3