Silence channel manager once Apass set; fix /stats y links count.
[ircu2.10.12-pk.git] / ircd / class.c
index 95b6f96c5eae845f22fdbbc30bbcb52662b04a31..772f44d175f06217c7d75ee935c5c9e2d6d05494 100644 (file)
@@ -257,7 +257,7 @@ report_classes(struct Client *sptr, const struct StatDesc *sd,
   for (cltmp = connClassList; cltmp; cltmp = cltmp->next)
     send_reply(sptr, RPL_STATSYLINE, 'Y', ConClass(cltmp), PingFreq(cltmp),
               ConFreq(cltmp), MaxLinks(cltmp), MaxSendq(cltmp),
-              Links(cltmp));
+              Links(cltmp) + 1);
 }
 
 /** Return maximum SendQ length for a client.