mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-12-04 13:21:21 -05:00
Pretty-print RPL_LOGGEDIN and RPL_LOGGEDOUT
This commit is contained in:
parent
3d09c43a91
commit
2d032259db
1 changed files with 7 additions and 0 deletions
|
@ -194,6 +194,13 @@ class LogLine extends Component {
|
||||||
lineClass = "motd";
|
lineClass = "motd";
|
||||||
content = linkify(stripANSI(msg.params[1]), onChannelClick);
|
content = linkify(stripANSI(msg.params[1]), onChannelClick);
|
||||||
break;
|
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:
|
case irc.RPL_UMODEIS:
|
||||||
let mode = msg.params[1];
|
let mode = msg.params[1];
|
||||||
if (mode) {
|
if (mode) {
|
||||||
|
|
Loading…
Reference in a new issue