From fb8a378d72c6568789cedd8e4120dbdd90ba9956 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 Feb 2019 15:20:21 -0500 Subject: [PATCH] app/irc: fix =irc nooping without preset networks #1121 =irc would do nothing if no networks were pre-set with set-irc-server!. --- modules/app/irc/autoload/irc.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/app/irc/autoload/irc.el b/modules/app/irc/autoload/irc.el index 47d0f95f5..98846bb40 100644 --- a/modules/app/irc/autoload/irc.el +++ b/modules/app/irc/autoload/irc.el @@ -23,8 +23,10 @@ workspace for it." (if (+workspace-exists-p +irc--workspace-name) (+workspace-switch +irc--workspace-name) (and (+irc-setup-wconf inhibit-workspace) - (cl-loop for network in circe-network-options - collect (circe (car network)))))) + (if circe-network-options + (cl-loop for network in circe-network-options + collect (circe (car network))) + (quiet! (call-interactively #'circe)))))) ;;;###autoload (defun +irc/connect (&optional inhibit-workspace)