_match_caps takes 2 args
This commit is contained in:
parent
b5aa2a98ac
commit
3e8a31ba73
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def cap(events, event):
|
||||||
capabilities_keys = capabilities.keys()
|
capabilities_keys = capabilities.keys()
|
||||||
event["server"].server_capabilities.update(capabilities)
|
event["server"].server_capabilities.update(capabilities)
|
||||||
|
|
||||||
matched_caps = _match_caps(list(capabilities_keys))
|
matched_caps = _match_caps(CAPABILITIES, list(capabilities_keys))
|
||||||
|
|
||||||
module_caps = events.on("received.cap.new").call(
|
module_caps = events.on("received.cap.new").call(
|
||||||
server=event["server"], capabilities=capabilities)
|
server=event["server"], capabilities=capabilities)
|
||||||
|
|
Loading…
Reference in a new issue