From af0002ab9d15c31a8286dcbd8335e0637eae5d9c Mon Sep 17 00:00:00 2001 From: plugd Date: Mon, 20 May 2024 00:19:49 +0200 Subject: [PATCH] Reinstated topic messages. --- murk.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/murk.el b/murk.el index 035c358..ffe10e6 100644 --- a/murk.el +++ b/murk.el @@ -632,6 +632,18 @@ The head of this list is always the current context.") " users in " channel) (murk-display-notice nil "End of " channel " names list.")))) + ("331" + (let* ((params (murk-msg-params msg)) + (channel (elt params 1)) + (ctx (murk-get-context server channel))) + (murk-display-notice ctx "No topic set."))) + + ("332" + (let* ((params (murk-msg-params msg)) + (channel (elt params 1)) + (topic (elt params 2)) + (ctx (murk-get-context server channel))) + (murk-display-notice ctx "Topic: " topic))) ((rx (= 3 (any digit))) (murk-display-notice nil (mapconcat 'identity (cdr (murk-msg-params msg)) " "))) -- 2.20.1