irc: fix logic for creating a workspace

The `+workspace-switch` logic takes care of the check, so let's remove
it.
This commit is contained in:
Sean Farley 2020-01-02 15:40:29 -08:00
parent 4d64021980
commit dca166f79c

View file

@ -4,7 +4,6 @@
(defun +irc-setup-wconf (&optional inhibit-workspace)
(when (and (featurep! :ui workspaces)
(+workspace-exists-p +irc--workspace-name)
(not inhibit-workspace))
(+workspace-switch +irc--workspace-name 'auto-create))
(let ((buffers (doom-buffers-in-mode 'circe-mode nil t)))