emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103577: * lisp/net/rcirc.el (rcirc-c


From: Deniz Dogan
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103577: * lisp/net/rcirc.el (rcirc-connect): Fix PASS bug.
Date: Mon, 07 Mar 2011 13:03:22 +0100
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103577
committer: Deniz Dogan <address@hidden>
branch nick: emacs-trunk
timestamp: Mon 2011-03-07 13:03:22 +0100
message:
  * lisp/net/rcirc.el (rcirc-connect): Fix PASS bug.
modified:
  lisp/ChangeLog
  lisp/net/rcirc.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-03-07 08:56:30 +0000
+++ b/lisp/ChangeLog    2011-03-07 12:03:22 +0000
@@ -1,3 +1,7 @@
+2011-03-07  Deniz Dogan  <address@hidden>
+
+       * net/rcirc.el (rcirc-connect): Fix PASS bug.
+
 2011-03-07  Glenn Morris  <address@hidden>
 
        * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.

=== modified file 'lisp/net/rcirc.el'
--- a/lisp/net/rcirc.el 2011-03-05 15:40:50 +0000
+++ b/lisp/net/rcirc.el 2011-03-07 12:03:22 +0000
@@ -548,7 +548,7 @@
       (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]