diff options
| author | 2018-09-03 22:17:01 +0100 | |
|---|---|---|
| committer | 2018-09-03 22:17:01 +0100 | |
| commit | 759cd64f33bf99da98c48e586afe21bdefcc7c28 (patch) | |
| tree | 7d0cc79b9d237849e1ee6597de35ec5057173813 /IRCLineHandler.py | |
| parent | Support IRCv3's away-notify (diff) | |
| signature | ||
Keep a list of CAP capabilities in IRCServer
Diffstat (limited to 'IRCLineHandler.py')
| -rw-r--r-- | IRCLineHandler.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py index e5aa2e1e..082aa884 100644 --- a/IRCLineHandler.py +++ b/IRCLineHandler.py @@ -283,9 +283,12 @@ class LineHandler(object): event["server"].send_capability_queue() else: event["server"].send_capability_end() - elif subcommand == "ack" or subcommand == "nack": + elif subcommand == "ack": if not event["server"].waiting_for_capabilities(): event["server"].send_capability_end() + event["server"].capabilities = set(capabilities) + elif subcommand == "ack" or subcommand == "nack": + event["server"].send_capability_end() # the server is asking for authentication def authenticate(self, event): |
