diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-15 21:00:51 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-15 21:00:51 +0000 |
| commit | 68592b0445ba7abe96c9fff04fa55482e5a389ab (patch) | |
| tree | 8e90e6b80df919335becaf27804c61c254da87e2 /include | |
| parent | 2ee049d7d87d85bd95d2d96b11346054cfabf527 (diff) | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 4 |
1 files changed, 1 insertions, 3 deletions
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. |
