From 6ab49c188a6e5bb95773165f0bdbd672b41c8c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 8 Apr 2019 11:38:29 +0100 Subject: Fix tab.name not being a string by calling the right property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/server_part.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/server_part.py') diff --git a/plugins/server_part.py b/plugins/server_part.py index 7a71d94b..9b863a2b 100644 --- a/plugins/server_part.py +++ b/plugins/server_part.py @@ -53,7 +53,7 @@ class Plugin(BasePlugin): message = args[1] for tab in self.core.get_tabs(MucTab): - if tab.name.endswith(jid): + if tab.name.full.endswith(jid): tab.command_part(message) def completion_server_part(self, the_input): -- cgit v1.2.3