+ if(!EmptyString(target_p->user->opername) && IsOper(target_p) && (target_p == source_p || HasPrivilege(source_p, "oper:privs")))
+ {
+ char buf[512];
+ const char *privset = "(missing)";
+ if (target_p->user->privset != NULL)
+ privset = target_p->user->privset->name;
+ snprintf(buf, sizeof(buf), "is opered as %s, privset %s",
+ target_p->user->opername, privset);
+ sendto_one_numeric(source_p, RPL_WHOISSPECIAL, form_str(RPL_WHOISSPECIAL),
+ target_p->name, buf);
+ }
+