From e4a9406f556e9f399a7e7a5f8278387508be9f7b Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Wed, 1 Feb 2012 23:39:51 +0100 Subject: [PATCH] RWHO: use the api function to check for aide access. --- citadel/modules/rwho/serv_rwho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/modules/rwho/serv_rwho.c b/citadel/modules/rwho/serv_rwho.c index 23fec4bbf..e509bab13 100644 --- a/citadel/modules/rwho/serv_rwho.c +++ b/citadel/modules/rwho/serv_rwho.c @@ -87,7 +87,7 @@ void cmd_rwho(char *argbuf) { return; } - aide = CC->user.axlevel >= AxAideU; + aide = CtdlAccessCheck(ac_aide); cprintf("%d%c \n", LISTING_FOLLOWS, CtdlCheckExpress() ); for (i=0; i