From e2d7f73174cab5c15bf4ffd73d3d3e10b989e3ba Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 17 Aug 2008 08:40:10 -0500 Subject: [PATCH] /stats o: display name of privset instead of privs --- modules/m_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/m_stats.c b/modules/m_stats.c index b5738a7..653a0e1 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -674,7 +674,7 @@ stats_oper(struct Client *source_p) sendto_one_numeric(source_p, RPL_STATSOLINE, form_str(RPL_STATSOLINE), oper_p->username, oper_p->host, oper_p->name, - IsOper(source_p) ? get_oper_privs(oper_p->flags) : "0", "-1"); + IsOper(source_p) ? oper_p->privset->name : "0", "-1"); } }