summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:46:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:46:29 +0000
commit1ea2fca7678ca3fe585c5812f9f62799e4a46ec5 (patch)
treeca6d3be2f58975c4f6c86c75c95a9d74bb05d81a /include
parente581679d1fe4af527fd9e456569266271144b4ce (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/command_parse.h4
1 files changed, 4 insertions, 0 deletions
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.