From bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 30 Apr 2014 21:34:09 +0200 Subject: Remove Tab.get_name() and use Tab.name instead (keep a get_name() fallback just in case for now) --- plugins/ping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ping.py') diff --git a/plugins/ping.py b/plugins/ping.py index 152445c8..4ec706b3 100644 --- a/plugins/ping.py +++ b/plugins/ping.py @@ -73,14 +73,14 @@ class Plugin(BasePlugin): def command_private_ping(self, arg): if arg: return self.command_ping(arg) - self.command_ping(self.api.current_tab().get_name()) + self.command_ping(self.api.current_tab().name) def command_muc_ping(self, arg): if not arg.strip(): return user = self.api.current_tab().get_user_by_name(arg) if user: - jid = safeJID(self.api.current_tab().get_name()) + jid = safeJID(self.api.current_tab().name) jid.resource = user.nick else: jid = safeJID(arg) -- cgit v1.2.3