From 09bb659680fdb000e79285a43e070d9e6635471e Mon Sep 17 00:00:00 2001 From: Mike Quin Date: Sat, 10 Jun 2017 12:21:29 +0000 Subject: [PATCH] add @ prefix to op-moderated (+z) messages to distinguish them from regular channel traffic --- ircd/send.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ircd/send.c b/ircd/send.c index 7b036996..1ecddab7 100644 --- a/ircd/send.c +++ b/ircd/send.c @@ -601,18 +601,18 @@ sendto_channel_opmod(struct Client *one, struct Client *source_p, if(IsServer(source_p)) { msgbuf_cache_initf(&msgbuf_cache, &msgbuf, &strings, - ":%s %s %s :", + ":%s %s @%s :", source_p->name, command, chptr->chname); } else { 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->host, command, chptr->chname); } if (chptr->mode.mode & MODE_MODERATED) { linebuf_put_msgf(&rb_linebuf_old, &strings, - ":%s %s %s :", + ":%s %s @%s :", use_id(source_p), command, chptr->chname, text); } else { linebuf_put_msgf(&rb_linebuf_old, &strings,