End capability negotiation after CAP ACK

This commit is contained in:
Lephenixnoir 2023-07-29 23:04:06 +02:00
parent 44e4d20ce2
commit 84a65d9cbc
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 2 additions and 0 deletions

2
irc.py
View File

@ -38,6 +38,8 @@ class IRC(object):
self._send(f"USER {nick} * * :{nick}")
self._send(f"NICK {nick}")
self._send(f"CAP REQ :message-tags")
self._waitfor(lambda m: "CAP" in m and "ACK" in m)
self._send(f"CAP END")
self._waitfor(lambda m: "NOTICE" in m and "/AUTH" in m)
for i in range(3):