diff options
author | Tobias Markmann <tm@ayena.de> | 2009-11-25 19:46:22 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2009-11-25 19:46:22 +0100 |
commit | 212ef3eca2cb953331e3d41d07c37b2812e6e0b9 (patch) | |
tree | bc2323060ce88a4aeada8d6f6860f27217b4d971 | |
parent | 8c7f9073d37f1fa826fd63f165e63c91d24c2996 (diff) | |
download | prosody-212ef3eca2cb953331e3d41d07c37b2812e6e0b9.tar.gz prosody-212ef3eca2cb953331e3d41d07c37b2812e6e0b9.zip |
SASL: Using locally mapped s_gmatch instead of unavailable gmatch.
-rw-r--r-- | util/sasl/digest-md5.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/digest-md5.lua b/util/sasl/digest-md5.lua index 557858b3..f8e0e393 100644 --- a/util/sasl/digest-md5.lua +++ b/util/sasl/digest-md5.lua @@ -102,7 +102,7 @@ local function digest(self, message) 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; |