From 1ea2fca7678ca3fe585c5812f9f62799e4a46ec5 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:46:29 +0000 Subject: Valgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11613 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/command_parse.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/command_parse.h') diff --git a/include/command_parse.h b/include/command_parse.h index 3177dc95b..2cf403de1 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -182,6 +182,10 @@ class CoreExport CommandParser : public classbase */ void RemoveCommands(const char* source); + /** Remove all core commands and unload their shared objects + */ + void RemoveRFCCommands(); + /** Add a new command to the commands hash * @param f The new Command to add to the list * @param so_handle The handle to the shared object where the command can be found. -- cgit v1.2.3