+2006-06-08 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/gline.c (gline_stats): Show activation state in /stats g.
+
+ * ircd/s_err.c (RPL_STATSGLINE): Update format string to match.
+
2006-06-07 Michael Poole <mdpoole@troilus.org>
* doc/example.conf: Document the list_chan privilege.
send_reply(sptr, RPL_STATSGLINE, 'G', gline->gl_user,
gline->gl_host ? "@" : "",
gline->gl_host ? gline->gl_host : "",
- gline->gl_expire + TSoffset, gline->gl_reason);
+ gline->gl_expire + TSoffset,
+ GlineIsActive(gline) ? '+' : '-',
+ gline->gl_reason);
}
}
/* 246 */
{ RPL_STATSTLINE, "%c %s %s", "246" },
/* 247 */
- { RPL_STATSGLINE, "%c %s%s%s %Tu :%s", "247" },
+ { RPL_STATSGLINE, "%c %s%s%s %Tu %c :%s", "247" },
/* 248 */
{ RPL_STATSULINE, "U %s", "248" },
/* 249 */