0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

whois: cosmetic improvement to opered-as numeric

This commit is contained in:
William Pitcock 2015-12-28 01:38:13 -06:00
parent 0817ad4cd0
commit e00552d5ce

View file

@ -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)))
{
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);
sendto_one_numeric(source_p, RPL_WHOISSPECIAL, form_str(RPL_WHOISSPECIAL),
target_p->name, buf);