filter: include identified marker
This commit is contained in:
parent
d09c55338f
commit
3fbb1d7aeb
1 changed files with 4 additions and 2 deletions
|
@ -306,8 +306,9 @@ filter_msg_user(void *data_)
|
||||||
char *text = rb_strdup(data->text);
|
char *text = rb_strdup(data->text);
|
||||||
strip_colour(text);
|
strip_colour(text);
|
||||||
strip_unprintable(text);
|
strip_unprintable(text);
|
||||||
snprintf(check_buffer, sizeof check_buffer, ":%s!%s@%s %s %s :%s",
|
snprintf(check_buffer, sizeof check_buffer, ":%s!%s@%s#%c %s %s :%s",
|
||||||
s->name, s->username, s->host,
|
s->name, s->username, s->host,
|
||||||
|
s->user && s->user->suser[0] != '\0' ? '1' : '0',
|
||||||
cmdname[data->msgtype],
|
cmdname[data->msgtype],
|
||||||
data->target_p->name,
|
data->target_p->name,
|
||||||
text);
|
text);
|
||||||
|
@ -343,8 +344,9 @@ filter_msg_channel(void *data_)
|
||||||
char *text = rb_strdup(data->text);
|
char *text = rb_strdup(data->text);
|
||||||
strip_colour(text);
|
strip_colour(text);
|
||||||
strip_unprintable(text);
|
strip_unprintable(text);
|
||||||
snprintf(check_buffer, sizeof check_buffer, ":%s!%s@%s %s %s :%s",
|
snprintf(check_buffer, sizeof check_buffer, ":%s!%s@%s#%c %s %s :%s",
|
||||||
s->name, s->username, s->host,
|
s->name, s->username, s->host,
|
||||||
|
s->user && s->user->suser[0] != '\0' ? '1' : '0',
|
||||||
cmdname[data->msgtype],
|
cmdname[data->msgtype],
|
||||||
data->chptr->chname,
|
data->chptr->chname,
|
||||||
text);
|
text);
|
||||||
|
|
Loading…
Reference in a new issue