Add auspex:umodes

This commit is contained in:
Ed Kellett 2019-08-02 22:03:00 +01:00
parent cc61cadade
commit 74434cf81e
No known key found for this signature in database
GPG key ID: CB9986DEF342FABC

View file

@ -1047,7 +1047,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char
if(source_p != target_p) 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); show_other_user_mode(source_p, target_p);
else else
sendto_one(source_p, form_str(ERR_USERSDONTMATCH), me.name, source_p->name); sendto_one(source_p, form_str(ERR_USERSDONTMATCH), me.name, source_p->name);