X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fxmpp_presence.c;h=915f1d319ab624cfda906ca371c8c609a7a7c02c;hb=7b4383dd73b617754c1a495859ea134eabd196ca;hp=141b2d3fdc65c5c3c048a6c9e962a7e10f1c82c0;hpb=c0b28d0de9908667646a9ccbe7d9a5830285d733;p=citadel.git diff --git a/citadel/modules/xmpp/xmpp_presence.c b/citadel/modules/xmpp/xmpp_presence.c index 141b2d3fd..915f1d319 100644 --- a/citadel/modules/xmpp/xmpp_presence.c +++ b/citadel/modules/xmpp/xmpp_presence.c @@ -81,7 +81,7 @@ void xmpp_wholist_presence_dump(void) struct CitContext *cptr = NULL; int nContexts, i; - int aide = (CC->user.axlevel >= 6); + int aide = (CC->user.axlevel >= AxAideU); cptr = CtdlGetContextArray(&nContexts); if (!cptr) { @@ -143,7 +143,7 @@ void xmpp_presence_notify(char *presence_jid, int event_type) { static int unsolicited_id; int visible_sessions = 0; int nContexts, i; - int aide = (CC->user.axlevel >= 6); + int aide = (CC->user.axlevel >= AxAideU); if (IsEmptyStr(presence_jid)) return; if (CC->kill_me) return; @@ -209,7 +209,7 @@ void xmpp_massacre_roster(void) { struct CitContext *cptr; int nContexts, i; - int aide = (CC->user.axlevel >= 6); + int aide = (CC->user.axlevel >= AxAideU); cptr = CtdlGetContextArray(&nContexts); if (cptr) {