From 68592b0445ba7abe96c9fff04fa55482e5a389ab Mon Sep 17 00:00:00 2001 From: Adam- Date: Tue, 15 Sep 2009 21:00:51 +0000 Subject: Removed command position from Module::AddCommand(), it is no longer used because of OnPreCommand/OnPostCommand git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 12a061c9e..fc00fafee 100644 --- a/include/modules.h +++ b/include/modules.h @@ -440,11 +440,9 @@ class CoreExport Module * e.g. AddCommand(NICKSERV,c,MOD_HEAD); * @param cmdTable the services to add the command to * @param c the command to add - * @param pos the position to add to, MOD_HEAD, MOD_TAIL, MOD_UNIQUE - * @see createCommand * @return MOD_ERR_OK on successfully adding the command */ - int AddCommand(CommandHash *cmdTable[], Command * c, int pos); + int AddCommand(CommandHash *cmdTable[], Command * c); /** * Delete a command from the service given. -- cgit