Pretty-print RPL_LOGGEDIN and RPL_LOGGEDOUT

This commit is contained in:
Simon Ser 2021-10-18 22:11:14 +02:00
parent 3d09c43a91
commit 2d032259db

View file

@ -194,6 +194,13 @@ class LogLine extends Component {
lineClass = "motd";
content = linkify(stripANSI(msg.params[1]), onChannelClick);
break;
case irc.RPL_LOGGEDIN:
let account = msg.params[2];
content = html`You are now authenticated as ${account}`;
break;
case irc.RPL_LOGGEDOUT:
content = html`You are now unauthenticated`;
break;
case irc.RPL_UMODEIS:
let mode = msg.params[1];
if (mode) {