diff options
| author | 2018-09-03 11:18:20 +0100 | |
|---|---|---|
| committer | 2018-09-03 11:18:20 +0100 | |
| commit | 0f578b1ec1886eb4f40cf71db23253466ae28e59 (patch) | |
| tree | 53fc632d82f609a969f128f65dffbc2d08b806f6 /IRCServer.py | |
| parent | Make CAP functionality more part of the framework and support message-tags and (diff) | |
| signature | ||
Send CAP END when we're not waiting for any capability handshakes
Diffstat (limited to 'IRCServer.py')
| -rw-r--r-- | IRCServer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IRCServer.py b/IRCServer.py index 9cb5e18f..1d30e1f9 100644 --- a/IRCServer.py +++ b/IRCServer.py @@ -293,6 +293,8 @@ class Server(object): def send_authenticate(self, text): self.send("AUTHENTICATE %s" % text) + def waiting_for_capabilities(self): + return bool(len(self._capabilities_waiting)) def wait_for_capability(self, capability): self._capabilities_waiting.add(capability) def capability_done(self, capability): |
