aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2014-05-11 09:39:49 +0800
committerLeo Liu <[email protected]>2014-05-11 09:39:49 +0800
commit2f9b4cfc75f0f52c6e13994659d7cfbe9be85e53 (patch)
treeec1b7142a27926b1f52632167266aa77954df8e5
parentf36f0bca381402745550aed8ccfd8e447efb1dd8 (diff)
* net/rcirc.el (rcirc-sentinel): Fix last change.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/net/rcirc.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1a9b199127..b7a0f49bde 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-11 Leo Liu <[email protected]>
+
+ * net/rcirc.el (rcirc-sentinel): Fix last change.
+
2014-05-08 Sam Steingold <[email protected]>
* net/rcirc.el (rcirc-reconnect-delay): New user option.
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 346c885fda..963b5aa12b 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -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))))