aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/net/rcirc.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4e0dc57c1b7..dd3bb3d475c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com> 12011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2 2
3 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
4
3 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when 5 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
4 available. 6 available.
5 (rcirc-ctcp-sender-PING): New function. 7 (rcirc-ctcp-sender-PING): New function.
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 246f6335134..62fa7eb0feb 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -2198,7 +2198,7 @@ With a prefix arg, prompt for new topic."
2198 2198
2199(defun rcirc-ctcp-sender-PING (process target request) 2199(defun rcirc-ctcp-sender-PING (process target request)
2200 "Send a CTCP PING message to TARGET." 2200 "Send a CTCP PING message to TARGET."
2201 (let ((timestamp (car (split-string (number-to-string (float-time)) "\\.")))) 2201 (let ((timestamp (format "%.0f" (float-time))))
2202 (rcirc-send-string process 2202 (rcirc-send-string process
2203 (format "PRIVMSG %s :\C-aPING %s\C-a" target timestamp)))) 2203 (format "PRIVMSG %s :\C-aPING %s\C-a" target timestamp))))
2204 2204