add @ prefix to op-moderated (+z) messages to distinguish them from regular channel traffic
This commit is contained in:
parent
f598ba3857
commit
09bb659680
1 changed files with 3 additions and 3 deletions
|
@ -601,18 +601,18 @@ sendto_channel_opmod(struct Client *one, struct Client *source_p,
|
||||||
|
|
||||||
if(IsServer(source_p)) {
|
if(IsServer(source_p)) {
|
||||||
msgbuf_cache_initf(&msgbuf_cache, &msgbuf, &strings,
|
msgbuf_cache_initf(&msgbuf_cache, &msgbuf, &strings,
|
||||||
":%s %s %s :",
|
":%s %s @%s :",
|
||||||
source_p->name, command, chptr->chname);
|
source_p->name, command, chptr->chname);
|
||||||
} else {
|
} else {
|
||||||
msgbuf_cache_initf(&msgbuf_cache, &msgbuf, &strings,
|
msgbuf_cache_initf(&msgbuf_cache, &msgbuf, &strings,
|
||||||
":%s!%s@%s %s %s :",
|
":%s!%s@%s %s @%s :",
|
||||||
source_p->name, source_p->username,
|
source_p->name, source_p->username,
|
||||||
source_p->host, command, chptr->chname);
|
source_p->host, command, chptr->chname);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chptr->mode.mode & MODE_MODERATED) {
|
if (chptr->mode.mode & MODE_MODERATED) {
|
||||||
linebuf_put_msgf(&rb_linebuf_old, &strings,
|
linebuf_put_msgf(&rb_linebuf_old, &strings,
|
||||||
":%s %s %s :",
|
":%s %s @%s :",
|
||||||
use_id(source_p), command, chptr->chname, text);
|
use_id(source_p), command, chptr->chname, text);
|
||||||
} else {
|
} else {
|
||||||
linebuf_put_msgf(&rb_linebuf_old, &strings,
|
linebuf_put_msgf(&rb_linebuf_old, &strings,
|
||||||
|
|
Loading…
Reference in a new issue