changeset 69698:7ab73d29b692

Fix last change.
author Romain Francoise <romain@orebokech.com>
date Mon, 27 Mar 2006 21:02:19 +0000
parents e112ec9aa49b
children 235590a9d340
files lisp/url/url-irc.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/url-irc.el	Mon Mar 27 20:40:05 2006 +0000
+++ b/lisp/url/url-irc.el	Mon Mar 27 21:02:19 2006 +0000
@@ -69,7 +69,8 @@
 
 (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)