Simplified.
authorDaiki Ueno <ueno@unixuser.org>
Sat, 25 Sep 2004 06:05:31 +0000 (06:05 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Sat, 25 Sep 2004 06:05:31 +0000 (06:05 +0000)
lisp/ChangeLog
lisp/riece-globals.el
lisp/riece-server.el

index 682e28f..881c1b9 100644 (file)
@@ -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  <bg66@koka-in.org>
index 711edc3..a910ea1 100644 (file)
@@ -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.")
index 74bf56c..f787b22 100644 (file)
@@ -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)