From 0d2b6637ca369166629576f160ef1fd376078e5a Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 2 Nov 2008 14:29:40 +0000 Subject: This was never supposed to be invoked on /rehash, only startup.. so move it to startup only. Also remove (redundant) user arg. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10792 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/command_parse.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/command_parse.h') diff --git a/include/command_parse.h b/include/command_parse.h index b0babac71..78864a4ec 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -192,11 +192,8 @@ class CoreExport CommandParser : public classbase bool CreateCommand(Command *f, void* so_handle = NULL); /** Insert the default RFC1459 commands into the command hash. - * Ignore any already loaded commands. - * @param user User to spool errors to, or if NULL, when an error occurs spool the errors to - * stdout then exit with EXIT_STATUS_HANDLER. */ - void SetupCommandTable(User* user); + void SetupCommandTable(); /** Translate nicknames in a string into UIDs, based on the TranslationType given. * @param to The translation type to use for the process. -- cgit v1.2.3