app/irc: fix =irc nooping without preset networks #1121
=irc would do nothing if no networks were pre-set with set-irc-server!.
This commit is contained in:
parent
01a166d5f0
commit
fb8a378d72
1 changed files with 4 additions and 2 deletions
|
@ -23,8 +23,10 @@ workspace for it."
|
||||||
(if (+workspace-exists-p +irc--workspace-name)
|
(if (+workspace-exists-p +irc--workspace-name)
|
||||||
(+workspace-switch +irc--workspace-name)
|
(+workspace-switch +irc--workspace-name)
|
||||||
(and (+irc-setup-wconf inhibit-workspace)
|
(and (+irc-setup-wconf inhibit-workspace)
|
||||||
|
(if circe-network-options
|
||||||
(cl-loop for network in circe-network-options
|
(cl-loop for network in circe-network-options
|
||||||
collect (circe (car network))))))
|
collect (circe (car network)))
|
||||||
|
(quiet! (call-interactively #'circe))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +irc/connect (&optional inhibit-workspace)
|
(defun +irc/connect (&optional inhibit-workspace)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue