summaryrefslogtreecommitdiff
path: root/plugins/ping.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-30 21:34:09 +0200
committermathieui <mathieui@mathieui.net>2014-04-30 21:34:09 +0200
commitbbdc14aaa5a47e77ad46d1ad7b4465ac065d6677 (patch)
tree190e961ea1c516ad0127e1c82cddb5fee263e565 /plugins/ping.py
parentd859ec2ea19654603075b556094c6b59aad8e73a (diff)
downloadpoezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.tar.gz
poezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.tar.bz2
poezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.tar.xz
poezio-bbdc14aaa5a47e77ad46d1ad7b4465ac065d6677.zip
Remove Tab.get_name() and use Tab.name instead
(keep a get_name() fallback just in case for now)
Diffstat (limited to 'plugins/ping.py')
-rw-r--r--plugins/ping.py4
1 files changed, 2 insertions, 2 deletions
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)