mirror of
https://github.com/jesopo/ircrobots
synced 2024-06-14 12:16:37 +00:00
codestyle in ircv3.py
This commit is contained in:
parent
5b4714ca1e
commit
8dde7b7216
|
@ -69,8 +69,8 @@ class CAPContext(ServerContext):
|
||||||
if line.command == "CAP":
|
if line.command == "CAP":
|
||||||
caps = self.server.collect_caps()
|
caps = self.server.collect_caps()
|
||||||
if caps:
|
if caps:
|
||||||
await self.server.send(build("CAP",
|
await self.server.send(
|
||||||
["REQ", " ".join(caps)]))
|
build("CAP", ["REQ", " ".join(caps)]))
|
||||||
|
|
||||||
while caps:
|
while caps:
|
||||||
line = await self.server.wait_for(ResponseOr(
|
line = await self.server.wait_for(ResponseOr(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user