From 6665a0f94c7549f7dd644c5e045ccca4a5c41172 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 4 Jan 2006 22:23:55 +0000 Subject: [PATCH] Added a TODO git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2732 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index dbae71a9b..e778370a5 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -315,6 +315,9 @@ bool InspIRCd::UnloadModule(const char* filename) Config->global_implementation[t] -= Config->implement_lists[j][t]; } + /* TODO: We have to renumber implement_lists after unload because the module numbers change! + */ + FOREACH_MOD(I_OnUnloadModule,OnUnloadModule(modules[j],Config->module_names[j])); // found the module log(DEBUG,"Deleting module..."); -- 2.39.5