# HG changeset patch # User Tobias Markmann # Date 1259174782 -3600 # Node ID 4678aa4567c8f87da1687196cfc6c8713c073f01 # Parent a4c8b5763d0a1b70cef4406a709d1489e5faa24c SASL: Using locally mapped s_gmatch instead of unavailable gmatch. diff -r a4c8b5763d0a -r 4678aa4567c8 util/sasl/digest-md5.lua --- a/util/sasl/digest-md5.lua Wed Nov 25 17:40:24 2009 +0000 +++ b/util/sasl/digest-md5.lua Wed Nov 25 19:46:22 2009 +0100 @@ -102,7 +102,7 @@ local function parse(data) local message = {} -- COMPAT: %z in the pattern to work around jwchat bug (sends "charset=utf-8\0") - for k, v in gmatch(data, [[([%w%-]+)="?([^",%z]*)"?,?]]) do -- FIXME The hacky regex makes me shudder + for k, v in s_gmatch(data, [[([%w%-]+)="?([^",%z]*)"?,?]]) do -- FIXME The hacky regex makes me shudder message[k] = v; end return message;