summaryrefslogtreecommitdiff
path: root/lisp/url/url-irc.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/url/url-irc.el')
-rw-r--r--lisp/url/url-irc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-irc.el b/lisp/url/url-irc.el
index 8b54b6d9222..31254dee451 100644
--- a/lisp/url/url-irc.el
+++ b/lisp/url/url-irc.el
@@ -61,7 +61,7 @@ PASSWORD - What password to use"
;;;###autoload
(defun url-irc (url)
(let* ((host (url-host url))
- (port (string-to-int (url-port url)))
+ (port (url-port url))
(pass (url-password url))
(user (url-user url))
(chan (url-filename url)))