From 9c205cfe46679f17f5e8cf8b4c2999e50eb97adb Mon Sep 17 00:00:00 2001 From: Thuna Date: Fri, 22 Mar 2024 14:58:03 +0100 Subject: [PATCH] [WIP] rcirc fix startup channels flooding the server --- lisp/net/rcirc.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 6e71085808a..a3912ac4047 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2265,9 +2265,9 @@ rcirc-join-channels "Join CHANNELS. PROCESS is the process object for the current connection." (save-window-excursion - (dolist (channel channels) - (with-rcirc-process-buffer process - (rcirc-cmd-join channel process))))) + (with-rcirc-process-buffer process + ;; FIXME: Handle the situation where the full message is too long + (rcirc-cmd-join (string-join channels ",") process)))) ;;; nick management (defvar rcirc-nick-prefix-chars '(?~ ?& ?@ ?% ?+) -- 2.44.2