476 |
char *t = NULL, *start = NULL; |
char *t = NULL, *start = NULL; |
477 |
int tlen = 0; |
int tlen = 0; |
478 |
int is_member = IsMember(source_p, chptr); |
int is_member = IsMember(source_p, chptr); |
479 |
|
int multi_prefix = (source_p->localClient->cap_active & CAP_MULTI_PREFIX) != 0; |
480 |
|
|
481 |
if (PubChannel(chptr) || is_member) |
if (PubChannel(chptr) || is_member) |
482 |
{ |
{ |
505 |
t = start; |
t = start; |
506 |
} |
} |
507 |
|
|
508 |
t += ircsprintf(t, "%s%s ", get_member_status(ms, NO), |
t += ircsprintf(t, "%s%s ", get_member_status(ms, multi_prefix), |
509 |
target_p->name); |
target_p->name); |
510 |
} |
} |
511 |
|
|