From 74434cf81ec0802685cd54893701b56e493b7407 Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Fri, 2 Aug 2019 22:03:00 +0100 Subject: [PATCH] Add auspex:umodes --- ircd/s_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/s_user.c b/ircd/s_user.c index 1b1e748a..b164e127 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -1047,7 +1047,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char if(source_p != target_p) { - if (MyOper(source_p) && parc < 3) + if (HasPrivilege(source_p, "auspex:umodes") && parc < 3) show_other_user_mode(source_p, target_p); else sendto_one(source_p, form_str(ERR_USERSDONTMATCH), me.name, source_p->name);