From 43c93a0a1b84c87b587174c49753b036f42672cd Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 1 Mar 2013 12:25:21 +0100 Subject: Do not ping twice in private tabs --- plugins/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ping.py b/plugins/ping.py index b3ba8fb1..fdecd8e0 100644 --- a/plugins/ping.py +++ b/plugins/ping.py @@ -34,7 +34,7 @@ class Plugin(BasePlugin): def command_private_ping(self, arg): if arg: - self.command_ping(arg) + return self.command_ping(arg) self.command_ping(self.core.current_tab().get_name()) def command_muc_ping(self, arg): -- cgit v1.2.3