components/buffer: drop leading asterisk for MODE messages

This is inconsistent with other messages.
This commit is contained in:
Simon Ser 2024-09-08 12:50:00 +02:00
parent 26792ec386
commit 35e924258a

View File

@ -198,7 +198,7 @@ class LogLine extends Component {
target = msg.params[0];
let modeStr = msg.params[1];
let user = html`* ${createNick(msg.prefix.name)}`;
let user = html`${createNick(msg.prefix.name)}`;
// TODO: use irc.forEachChannelModeUpdate()
if (buf.type == BufferType.CHANNEL && modeStr.length === 2 && server.cm(buf.name) === server.cm(target)) {