summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/commands.c b/src/commands.c
index c78bce52f..e0e14635d 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -44,23 +44,6 @@ Command *lookup_cmd(Command * list, char *cmd)
* privilege to do so; if not, print an appropriate error message.
* @param services Services Client
* @param u User Struct
- * @param list Command struct
- * @param cmd Command
- * @return void
- */
-void run_cmd(char *service, User * u, Command * list, char *cmd)
-{
- Command *c = lookup_cmd(list, cmd);
- do_run_cmd(service, u, c, cmd);
-}
-
-/*************************************************************************/
-
-/**
- * Run the routine for the given command, if it exists and the user has
- * privilege to do so; if not, print an appropriate error message.
- * @param services Services Client
- * @param u User Struct
* @param Command Hash Table
* @param cmd Command
* @return void