diff options
author | Deniz Dogan <deniz.a.m.dogan@gmail.com> | 2011-03-07 13:03:22 +0100 |
---|---|---|
committer | Deniz Dogan <deniz.a.m.dogan@gmail.com> | 2011-03-07 13:03:22 +0100 |
commit | fa7062f6539a628343802d7d7dbf86befe3c2626 (patch) | |
tree | a8d4e0170d155bb711d17732262eb13e3ba2f206 /lisp/net/rcirc.el | |
parent | cf715c3c952706b13fe4a9a9279739b7ed480a15 (diff) | |
download | emacs-fa7062f6539a628343802d7d7dbf86befe3c2626.tar.gz emacs-fa7062f6539a628343802d7d7dbf86befe3c2626.tar.bz2 emacs-fa7062f6539a628343802d7d7dbf86befe3c2626.zip |
* lisp/net/rcirc.el (rcirc-connect): Fix PASS bug.
Diffstat (limited to 'lisp/net/rcirc.el')
-rw-r--r-- | lisp/net/rcirc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 1e3ee91092d..41e09540631 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -548,7 +548,7 @@ If ARG is non-nil, instead prompt for connection parameters." (add-hook 'auto-save-hook 'rcirc-log-write) ;; identify - (when password + (unless (zerop (length password)) (rcirc-send-string process (concat "PASS " password))) (rcirc-send-string process (concat "NICK " nick)) (rcirc-send-string process (concat "USER " user-name |