_match_caps takes 2 args

This commit is contained in:
jesopo 2019-05-24 05:47:01 +01:00
parent b5aa2a98ac
commit 3e8a31ba73

View file

@ -61,7 +61,7 @@ def cap(events, event):
capabilities_keys = capabilities.keys()
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(
server=event["server"], capabilities=capabilities)