From 00a3b45dcd8879062acdf84d9456b57f1f51b830 Mon Sep 17 00:00:00 2001 From: cage Date: Fri, 17 Feb 2023 18:16:34 +0100 Subject: [PATCH] - prevented connecting to a pleroma instance when loading a script in gemini exclusive mode. --- src/main.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.lisp b/src/main.lisp index 654bac6..fc1f683 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -232,8 +232,9 @@ etc.) happened" (setf program-events:*process-events-immediately* t) (shared-init) (db-utils:with-ready-database (:connect nil) - (client:init) - (client:authorize) + (when (not *gemini-full-screen-mode*) + (client:init) + (client:authorize)) (load command-line:*script-file* :verbose nil :print nil))) (defun rpc-client-load-configuration ()