Add auspex:umodes
This commit is contained in:
parent
cc61cadade
commit
74434cf81e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue