From 20f20b18df83d0227da5742e910f1b674ab20a14 Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Thu, 10 Jun 2021 12:09:07 +0200
Subject: [PATCH] Linkify MOTD

---
 components/buffer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/buffer.js b/components/buffer.js
index 6efce30..f80352e 100644
--- a/components/buffer.js
+++ b/components/buffer.js
@@ -167,7 +167,7 @@ class LogLine extends Component {
 			break;
 		case irc.RPL_MOTD:
 			lineClass = "motd";
-			content = msg.params[1];
+			content = linkify(stripANSI(msg.params[1]), onChannelClick);
 			break;
 		default:
 			if (irc.isError(msg.command) && msg.command != irc.ERR_NOMOTD) {