diff options
| author | 2019-05-31 15:32:55 +0100 | |
|---|---|---|
| committer | 2019-05-31 15:32:55 +0100 | |
| commit | f2cf86b8c009698a1a5a5ca224e4f28c5bbd0316 (patch) | |
| tree | bc559e6310c0d80a3594adb30a7ebcac99d02cda /src/IRCSocket.py | |
| parent | 'draft/resume-0.4' -> 'draft/resume-0.5' (diff) | |
| signature | ||
More explicitly require `throttle_done()` only for `_queued_lines`
Diffstat (limited to 'src/IRCSocket.py')
| -rw-r--r-- | src/IRCSocket.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IRCSocket.py b/src/IRCSocket.py index 3260945e..642e1968 100644 --- a/src/IRCSocket.py +++ b/src/IRCSocket.py @@ -153,6 +153,8 @@ class Socket(IRCObject.Object): def waiting_send(self) -> bool: return bool(len(self._write_buffer)) or bool(len(self._queued_lines)) + def waiting_immediate_send(self) -> bool: + return bool(len(self._write_buffer)) def throttle_done(self) -> bool: return self.send_throttle_timeout() == 0 |
