From 83fe42784047e5e45816c0cd8b925d50e1c228f0 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 22 Dec 2014 18:47:58 +0000 Subject: [PATCH] - Removed unused cmd_op() git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5079 82007160-df01-0410-b94d-b575c5fd34c7 --- src/opercmd.c | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/src/opercmd.c b/src/opercmd.c index 970e7e5..22fa0b4 100644 --- a/src/opercmd.c +++ b/src/opercmd.c @@ -54,9 +54,6 @@ static void command_free(struct Command *); static void cmd_check(char *, char *, struct ChannelConf *); static void cmd_stat(char *, char *, struct ChannelConf *); static void cmd_fdstat(char *, char *, struct ChannelConf *); -#if 0 -static void cmd_op(char *, char *, struct ChannelConf *); -#endif static struct OperCommandHash COMMAND_TABLE[] = { @@ -66,7 +63,6 @@ static struct OperCommandHash COMMAND_TABLE[] = {"STATS", cmd_stat }, {"STATUS", cmd_stat }, {"FDSTAT", cmd_fdstat }, -/* {"OP", cmd_op } */ }; @@ -389,26 +385,3 @@ static void cmd_fdstat(char *param, char *source, struct ChannelConf *target) fdstats_output(target->name); } - - -/* cmd_op - * - * Op a user on the channel. - * - * Parameters: - * param: Parameters of the command - * source: irc_nick of user who requested the command - * target: channel command was sent to - * - * XXX - Doesn't seem to currently be in use anywhere? - * -grifferz - */ - -#if 0 -static void cmd_op(char *param, char *source, struct ChannelConf *target) -{ - irc_send("MODE %s +o %s", target->name, param); - - USE_VAR(source); -} -#endif -- 2.30.2