summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;