Diff

mod_http_muc_log/mod_http_muc_log.lua @ 1560:6c6c1fab4ee5

mod_http_muc_log: Remove unnessesary character from pattern
author Kim Alvefur <zash@zash.se>
date Sun, 09 Nov 2014 17:15:48 +0100
parent 1559:96f11a1c8b37
child 1561:2eaf4833969a
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sun Nov 09 17:14:44 2014 +0100
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Sun Nov 09 17:15:48 2014 +0100
@@ -37,7 +37,7 @@
 	{name?} is optional and is replaced with an empty string if no value exists
 	]]
 	return function(values)
-		return (data:gsub("{([^!}]-)(%p?)}", function (name, opt)
+		return (data:gsub("{([^}]-)(%p?)}", function (name, opt)
 			local value = values[name];
 			if value then
 				if opt ~= "!" then