summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 16:37:19 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 16:37:19 +0000
commit39eb13fbbb32a1e7eebb8bfd6c1905951a2d4b50 (patch)
treea9fb02433acace5e752fdb0bdc8e433263c760b4
parent83539a90a98841bf77e7d09d1faed9a4cc30c504 (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.h1
-rw-r--r--src/commands.c16
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;