Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2005-08-26 02:58:16 UTC
Modified files:
ircd/class.c
Log message:
Fix previous commit (off-by-one in wrong direction).
---------------------- diff included ----------------------
Index: ircu2.10/ircd/class.c
diff -u ircu2.10/ircd/class.c:1.32 ircu2.10/ircd/class.c:1.33
--- ircu2.10/ircd/class.c:1.32 Thu Aug 25 19:36:33 2005
+++ ircu2.10/ircd/class.c Thu Aug 25 19:58:06 2005
@@ -18,7 +18,7 @@
*/
/** @file
* @brief Implementation of connection class handling functions.
- * @version $Id: class.c,v 1.32 2005/08/26 02:36:33 entrope Exp $
+ * @version $Id: class.c,v 1.33 2005/08/26 02:58:06 entrope Exp $
*/
#include "config.h"
@@ -257,7 +257,7 @@
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) + 1);
+ Links(cltmp) ? Links(cltmp) - 1 : 0);
}
/** Return maximum SendQ length for a client.
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches