Pretty-print MOTD
This commit is contained in:
parent
8123ff3844
commit
e080e87cb7
3 changed files with 7 additions and 1 deletions
|
@ -121,6 +121,10 @@ class LogLine extends Component {
|
|||
${createNick(msg.prefix.name)} changed the topic to: ${linkify(stripANSI(topic))}
|
||||
`;
|
||||
break;
|
||||
case irc.RPL_MOTD:
|
||||
lineClass = "motd";
|
||||
content = msg.params[1];
|
||||
break;
|
||||
default:
|
||||
if (irc.isError(msg.command) && msg.command != irc.ERR_NOMOTD) {
|
||||
lineClass = "error";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue