* net/rcirc.el (rcirc-sentinel): Fix last change.
authorLeo Liu <sdl.web@gmail.com>
Sun, 11 May 2014 01:39:49 +0000 (09:39 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sun, 11 May 2014 01:39:49 +0000 (09:39 +0800)
lisp/ChangeLog
lisp/net/rcirc.el

index 1a9b199..b7a0f49 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-11  Leo Liu  <sdl.web@gmail.com>
+
+       * net/rcirc.el (rcirc-sentinel): Fix last change.
+
 2014-05-08  Sam Steingold  <sds@gnu.org>
 
        * net/rcirc.el (rcirc-reconnect-delay): New user option.
index 346c885..963b5aa 100644 (file)
@@ -686,7 +686,7 @@ When 0, do not auto-reconnect."
           (when (or (null rcirc-last-connect-time)
                     (< rcirc-reconnect-delay
                        (float-time (time-subtract now rcirc-last-connect-time))))
-            (setq sds-rcirc-sentinel-last now)
+            (setq rcirc-last-connect-time now)
             (rcirc-cmd-reconnect nil))))
       (run-hook-with-args 'rcirc-sentinel-functions process sentinel))))