From: Daiki Ueno Date: Sat, 25 Sep 2004 06:05:31 +0000 (+0000) Subject: Simplified. X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=commitdiff_plain;h=df0096c0db08e28894a01a0ddf44003da2ec23d5 Simplified. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 682e28f..881c1b9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -4,11 +4,10 @@ (riece-flush-send-queue): New function. (riece-process-send-string): Use it. (riece-reset-process-buffer): Reset riece-send-queue, - riece-last-send-time, riece-send-size. + riece-send-size. * riece-options.el (riece-max-send-size): New user option. (riece-send-delay): New user option. * riece-globals.el (riece-send-queue): New variable. - (riece-last-send-time): New variable. (riece-send-size): New variable. 2004-09-14 OHASHI Akira diff --git a/lisp/riece-globals.el b/lisp/riece-globals.el index 711edc3..a910ea1 100644 --- a/lisp/riece-globals.el +++ b/lisp/riece-globals.el @@ -111,9 +111,6 @@ Local to the server buffers.") (defvar riece-send-queue nil "Send queue for avoiding client flood. Local to the server buffers.") -(defvar riece-last-send-time nil - "Timestamp of the last send. -Local to the server buffers.") (defvar riece-send-size nil "Size of the last send. Local to the server buffers.") diff --git a/lisp/riece-server.el b/lisp/riece-server.el index 74bf56c..f787b22 100644 --- a/lisp/riece-server.el +++ b/lisp/riece-server.el @@ -105,7 +105,7 @@ the `riece-server-keyword-map' variable." (put 'riece-with-server-buffer 'lisp-indent-function 1) (put 'riece-with-server-buffer 'edebug-form-spec '(form body)) -(defun riece-flush-send-queue (process &optional reset) +(defun riece-flush-send-queue (process reset) (with-current-buffer (process-buffer process) (let ((length 0) string)