mod_http_muc_log: Remove unnessesary character from pattern
authorKim Alvefur <zash@zash.se>
Sun, 09 Nov 2014 17:15:48 +0100
changeset 1560 6c6c1fab4ee5
parent 1559 96f11a1c8b37
child 1561 2eaf4833969a
mod_http_muc_log: Remove unnessesary character from pattern
mod_http_muc_log/mod_http_muc_log.lua
--- 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