]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 1a9b1991279352245bbe18a2c6a150a864877fa1..b7a0f49bdedc27367dbafe0320818e0cada1d8e0 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 346c885fda44986cc016b87fd4e5fd8e6dfa694c..963b5aa12b60c66568a87b57b74e1a070adead15 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))))