1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 04:26:38 +02:00

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
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-11-08 16:37:19 +00:00
parent 83539a90a9
commit 39eb13fbbb
2 changed files with 0 additions and 17 deletions
-16
View File
@@ -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;