From e5131f92b3b88ae7646da9a9972b1bbb5855f874 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 20 Apr 2008 18:58:59 +0000 Subject: Fix RemoveCommands to remove all commands (this function had some really odd removal logic?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9554 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/command_parse.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/command_parse.h') diff --git a/include/command_parse.h b/include/command_parse.h index fea8bd869..858c1c8e6 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -180,9 +180,8 @@ class CoreExport CommandParser : public classbase /** Remove all commands relating to module 'source'. * @param source A module name which has introduced new commands - * @return True This function returns true if commands were removed */ - bool RemoveCommands(const char* source); + void RemoveCommands(const char* source); /** Add a new command to the commands hash * @param f The new Command to add to the list -- cgit v1.2.3