plugins/ping.lua

changeset 380
0891b4e27766
parent 339
72fbfb0367e9
child 393
69229fa1d24f
--- a/plugins/ping.lua	Fri May 01 21:46:24 2015 +0200
+++ b/plugins/ping.lua	Fri May 01 23:27:29 2015 +0200
@@ -5,7 +5,7 @@
 function verse.plugins.ping(stream)
 	function stream:ping(jid, callback)
 		local t = socket.gettime();
-		stream:send_iq(verse.iq{ to = jid, type = "get" }:tag("ping", { xmlns = xmlns_ping }), 
+		stream:send_iq(verse.iq{ to = jid, type = "get" }:tag("ping", { xmlns = xmlns_ping }),
 			function (reply)
 				if reply.attr.type == "error" then
 					local type, condition, text = reply:get_error();

mercurial