whois: cosmetic improvement to opered-as numeric
This commit is contained in:
parent
0817ad4cd0
commit
e00552d5ce
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
|
||||||
(IsOperAdmin(source_p) || IsAdmin(source_p) || (source_p == target_p)))
|
(IsOperAdmin(source_p) || IsAdmin(source_p) || (source_p == target_p)))
|
||||||
{
|
{
|
||||||
char buf[512];
|
char buf[512];
|
||||||
rb_snprintf(buf, sizeof(buf), "Opered as %s, privset %s",
|
rb_snprintf(buf, sizeof(buf), "is opered as %s, privset %s",
|
||||||
target_p->localClient->opername, target_p->localClient->privset->name);
|
target_p->localClient->opername, target_p->localClient->privset->name);
|
||||||
sendto_one_numeric(source_p, RPL_WHOISSPECIAL, form_str(RPL_WHOISSPECIAL),
|
sendto_one_numeric(source_p, RPL_WHOISSPECIAL, form_str(RPL_WHOISSPECIAL),
|
||||||
target_p->name, buf);
|
target_p->name, buf);
|
||||||
|
|
Loading…
Reference in a new issue