From 354330cf16c79b22265f83aba0be2c014058898d Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Mon, 27 Mar 2006 21:02:19 +0000 Subject: [PATCH] Fix last change. --- lisp/url/url-irc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/url/url-irc.el b/lisp/url/url-irc.el index 17755ff88e1..6a7a62573e9 100644 --- a/lisp/url/url-irc.el +++ b/lisp/url/url-irc.el @@ -69,7 +69,8 @@ PASSWORD - What password to use" (defun url-irc-erc (host port channel user password) (erc-select :server host :port port :nick user :password password) - (erc-join-channel channel)) + (when channel + (erc-join-channel channel))) ;;;###autoload (defun url-irc (url) -- 2.39.2