diff options
| author | 2019-07-22 13:14:07 +0100 | |
|---|---|---|
| committer | 2019-07-22 13:14:07 +0100 | |
| commit | 4babce53572a15b7e3c4f540b11dedcb61231382 (patch) | |
| tree | cedcb2865a29b1295554ce75c4c9516a96a46756 /src | |
| parent | batch up channel_save.py JOINs in to groups of 10 (diff) | |
| signature | ||
Only fill throttle when buffer is empty
Diffstat (limited to 'src')
| -rw-r--r-- | src/IRCSocket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCSocket.py b/src/IRCSocket.py index 059c8515..fff93e8c 100644 --- a/src/IRCSocket.py +++ b/src/IRCSocket.py @@ -139,7 +139,7 @@ class Socket(IRCObject.Object): self._recent_sends.clear() throttle_space = self.throttle_space() - if throttle_space: + if not self._buffered_lines and throttle_space: to_buffer = self._queued_lines[:throttle_space] self._queued_lines = self._queued_lines[throttle_space:] for line in to_buffer: |
