summaryrefslogtreecommitdiff
path: root/lisp/url
diff options
context:
space:
mode:
authorRomain Francoise <romain@orebokech.com>2006-03-27 21:02:19 +0000
committerRomain Francoise <romain@orebokech.com>2006-03-27 21:02:19 +0000
commit354330cf16c79b22265f83aba0be2c014058898d (patch)
tree9cc4d649fd9320018e12486a043c6258871b3172 /lisp/url
parentf55658040dbc67b3acf345d82d017e47389b0727 (diff)
downloademacs-354330cf16c79b22265f83aba0be2c014058898d.tar.gz
Fix last change.
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/url-irc.el3
1 files changed, 2 insertions, 1 deletions
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)