summaryrefslogtreecommitdiff
path: root/plugins/ping.py
diff options
context:
space:
mode:
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)