--- a/util/sasl.lua Wed Nov 18 08:30:03 2009 +0500 +++ b/util/sasl.lua Wed Nov 18 03:35:42 2009 +0000 @@ -129,6 +129,7 @@ end 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 message[k] = v; end