]> jfr.im git - irc/freenode/solanum.git/commitdiff
add @ prefix to op-moderated (+z) messages to distinguish them from regular channel...
authorMike Quin <redacted>
Sat, 10 Jun 2017 12:21:29 +0000 (12:21 +0000)
committerEd Kellett <redacted>
Sun, 5 Jul 2020 18:09:47 +0000 (19:09 +0100)
ircd/send.c

index 7b036996cdcf08530e079fdebfe82ad0b4381825..1ecddab7e7b388aa346e6bebf4808c9a83850c40 100644 (file)
@@ -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,