From c60094ea926ed8b1b92621bda819d12bfe74e0e5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 19 May 2019 11:13:16 +0100 Subject: [PATCH] matched_caps is actually a str[] --- modules/line_handler/ircv3.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/line_handler/ircv3.py b/modules/line_handler/ircv3.py index 64281c74..68280307 100644 --- a/modules/line_handler/ircv3.py +++ b/modules/line_handler/ircv3.py @@ -44,7 +44,6 @@ def cap(events, event): if not is_multiline: server_caps = list(event["server"].server_capabilities.keys()) matched_caps = _match_caps(CAPABILITIES, server_caps) - matched_caps = list(map(lambda cap: cap.copy(), matched_caps)) module_caps = events.on("received.cap.ls").call( capabilities=event["server"].server_capabilities,