- opercmd.c: renamed cmd_stat() to cmd_stats()
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sun, 14 Jun 2015 16:36:36 +0000 (16:36 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sun, 14 Jun 2015 16:36:36 +0000 (16:36 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6146 82007160-df01-0410-b94d-b575c5fd34c7

src/opercmd.c

index 09991727616196a6a7b59515068e76de6454d696..507e4bd89e6f241aa62651c691e57182ec2c74dc 100644 (file)
@@ -64,7 +64,7 @@ cmd_check(char *param, const struct ChannelConf *target)
  *    target: channel command was sent to
  */
 static void
-cmd_stat(char *param, const struct ChannelConf *target)
+cmd_stats(char *param, const struct ChannelConf *target)
 {
   stats_output(target->name);
 }
@@ -188,7 +188,7 @@ command_parse(char *command, const struct ChannelConf *target,
   {
     { "CHECK",     cmd_check     },
     { "SCAN",      cmd_check     },
-    { "STATS",     cmd_stat      },
+    { "STATS",     cmd_stats     },
     { "FDSTAT",    cmd_fdstat    },
     { "PROTOCOLS", cmd_protocols },
     { NULL,        NULL          }