diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 16:37:19 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 16:37:19 +0000 |
| commit | 39eb13fbbb32a1e7eebb8bfd6c1905951a2d4b50 (patch) | |
| tree | a9fb02433acace5e752fdb0bdc8e433263c760b4 | |
| parent | 83539a90a98841bf77e7d09d1faed9a4cc30c504 (diff) | |
Compress do_run_cmd() into mod_run_cmd().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1595 5417fbe8-f217-4b02-8779-1006273d7864
| -rw-r--r-- | include/commands.h | 1 | ||||
| -rw-r--r-- | src/commands.c | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/include/commands.h b/include/commands.h index f426f38d7..7ffb27a73 100644 --- a/include/commands.h +++ b/include/commands.h @@ -23,7 +23,6 @@ extern MDE Command *lookup_cmd(Command *list, char *name); extern void help_cmd(char *service, User *u, Command *list, char *name); -extern void do_run_cmd(char *service, User * u, Command *c,const char *cmd); extern MDE void do_help_limited(char *service, User * u, Command * c); extern void do_help_cmd(char *service, User * u, Command *c,const char *cmd); extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd); diff --git a/src/commands.c b/src/commands.c index e0e14635d..02e57968e 100644 --- a/src/commands.c +++ b/src/commands.c @@ -52,22 +52,6 @@ void mod_run_cmd(char *service, User * u, CommandHash * cmdTable[], const char *cmd) { Command *c = findCommand(cmdTable, cmd); - do_run_cmd(service, u, c, cmd); -} - - -/*************************************************************************/ - -/** - * Run the given command - * @param services Services Client - * @param u User Struct - * @param c Command Struct - * @param cmd Command - * @return void - */ -void do_run_cmd(char *service, User * u, Command * c, const char *cmd) -{ int retVal = 0; Command *current; |
