51 |
do_who(struct Client *source_p, struct Client *target_p, |
do_who(struct Client *source_p, struct Client *target_p, |
52 |
const char *chname, const char *op_flags) |
const char *chname, const char *op_flags) |
53 |
{ |
{ |
54 |
char status[8]; /* Gr*@%+\0 */ |
char status[IRCD_BUFSIZE]; |
55 |
|
|
56 |
if (HasUMode(source_p, UMODE_OPER)) |
if (HasUMode(source_p, UMODE_OPER)) |
57 |
snprintf(status, sizeof(status), "%c%s%s%s", target_p->away[0] ? 'G' : 'H', |
snprintf(status, sizeof(status), "%c%s%s%s", target_p->away[0] ? 'G' : 'H', |