Make /stats g slightly more informative.
[ircu2.10.12-pk.git] / ircd / gline.c
index e3dd7bc6d6edd729093a53ef8f8786b76f3267b0..89f79f077bf691838a6e43dd562999bd467f97c3 100644 (file)
@@ -872,7 +872,9 @@ gline_stats(struct Client *sptr, const struct StatDesc *sd,
       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);
   }
 }