diff options
Diffstat (limited to 'lisp/url/url-irc.el')
-rw-r--r-- | lisp/url/url-irc.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/url/url-irc.el b/lisp/url/url-irc.el index 6a7a62573e9..19eec6f2ef2 100644 --- a/lisp/url/url-irc.el +++ b/lisp/url/url-irc.el @@ -68,9 +68,7 @@ PASSWORD - What password to use" (switch-to-buffer (concat chan "@" host))))) (defun url-irc-erc (host port channel user password) - (erc-select :server host :port port :nick user :password password) - (when channel - (erc-join-channel channel))) + (erc-handle-irc-url host port channel user password)) ;;;###autoload (defun url-irc (url) |