From bdd161256d70bcc6f5fc8b41b065c5fbce2f470d Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 20 May 2019 16:33:32 +0100 Subject: `has_capability` -> `has_capability_str`, add new `has_capability` --- modules/line_handler/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/line_handler/core.py') diff --git a/modules/line_handler/core.py b/modules/line_handler/core.py index 676b9105..88544a08 100644 --- a/modules/line_handler/core.py +++ b/modules/line_handler/core.py @@ -29,7 +29,7 @@ def handle_005(events, event): isupport[key] = None event["server"].isupport.update(isupport) - if "NAMESX" in isupport and not event["server"].has_capability( + if "NAMESX" in isupport and not event["server"].has_capability_str( "multi-prefix"): event["server"].send("PROTOCTL NAMESX") -- cgit v1.3.1-10-gc9f91