riddim.plugins.pubsub2room: Trim trailing whitespace

Thu, 31 May 2018 00:59:08 +0200

author
Kim Alvefur <zash@zash.se>
date
Thu, 31 May 2018 00:59:08 +0200
changeset 145
565c0c43b063
parent 144
68dc84e72bef
child 146
e545ba65c9ef

riddim.plugins.pubsub2room: Trim trailing whitespace

plugins/pubsub2room.lua file | annotate | diff | comparison | revisions
--- a/plugins/pubsub2room.lua	Sun May 27 17:34:33 2018 +0200
+++ b/plugins/pubsub2room.lua	Thu May 31 00:59:08 2018 +0200
@@ -57,7 +57,7 @@
 
 		if not conf or not entry or not room then return end
 		local message = conf.template:gsub("%${([^}]+)}", entry);
-		
+
 		-- Throttle to 1 message/second so we don't flood the room
 		if os.time() - last_message_time > 0 then
 			room:send_message(message);

mercurial