From: plugd Date: Sun, 19 May 2024 22:19:49 +0000 (+0200) Subject: Reinstated topic messages. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=af0002ab9d15c31a8286dcbd8335e0637eae5d9c;p=lurk.git Reinstated topic messages. --- 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)) " ")))