- Removed unused cmd_op()
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 22 Dec 2014 18:47:58 +0000 (18:47 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 22 Dec 2014 18:47:58 +0000 (18:47 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5079 82007160-df01-0410-b94d-b575c5fd34c7

src/opercmd.c

index 970e7e5731dc1f5aaa00e30853389f10d7d7952e..22fa0b40c0889a2692aae8672949e618a6acdbdd 100644 (file)
@@ -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