Allow /stats to accept long names for the displayed statistics.
[ircu2.10.12-pk.git] / ircd / listener.c
index 0556ce98eb82f0155d7f0589e6c93bd0038ec51e..08167710234fca559430c35468a961466381f60b 100644 (file)
@@ -118,7 +118,7 @@ void count_listener_memory(int* count_out, size_t* size_out)
  * side effects - show ports
  * author       - Dianora
  */
-void show_ports(struct Client* sptr, struct StatDesc* sd, int stat,
+void show_ports(struct Client* sptr, const struct StatDesc* sd,
                 char* param)
 {
   struct Listener *listener = 0;