'and' -> 'in'. typo
This commit is contained in:
parent
bc0af579d0
commit
2db2937038
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def cap(exports, events, event):
|
|||
if subcommand == "DEL":
|
||||
for capability in capabilities.keys():
|
||||
event["server"].agreed_capabilities.discard(capability)
|
||||
if capability and event["server"].server_capabilities:
|
||||
if capability in event["server"].server_capabilities:
|
||||
del event["server"].server_capabilities[capability]
|
||||
|
||||
events.on("received.cap.del").call(server=event["server"],
|
||||
|
|
Loading…
Reference in a new issue