summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-03-01 12:25:21 +0100
committermathieui <mathieui@mathieui.net>2013-03-01 12:25:21 +0100
commit43c93a0a1b84c87b587174c49753b036f42672cd (patch)
tree9bb44bc2cb6a38f86ff819443a4c4b2b6349e4a5
parent9b92cb7fb6fc6f5b507e978efddeb9856ed58619 (diff)
downloadpoezio-43c93a0a1b84c87b587174c49753b036f42672cd.tar.gz
poezio-43c93a0a1b84c87b587174c49753b036f42672cd.tar.bz2
poezio-43c93a0a1b84c87b587174c49753b036f42672cd.tar.xz
poezio-43c93a0a1b84c87b587174c49753b036f42672cd.zip
Do not ping twice in private tabs
-rw-r--r--plugins/ping.py2
1 files changed, 1 insertions, 1 deletions
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):