summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 16:31:13 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 16:31:13 +0000
commit83539a90a98841bf77e7d09d1faed9a4cc30c504 (patch)
treeba0bfea757a5180d2832807233b24133be73a692 /src
parente701a1e2adf0453e1a32bce38b1a70a05cd8f06b (diff)
Remove completely unused and quite duplicated run_cmd() vs mod_run_cmd().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1594 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-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