Diff

plugins/ping.lua @ 380:0891b4e27766

Discard trailing whitespace
author Kim Alvefur <zash@zash.se>
date Fri, 01 May 2015 23:27:29 +0200
parent 339:72fbfb0367e9
child 393:69229fa1d24f
line wrap: on
line diff
--- 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();