Software /
code /
prosody
Changeset
1724:7682a34c13d0
util.sasl: Fix 2 global sets (one a tpyo)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 20 Aug 2009 04:15:41 +0100 |
parents | 1723:2145daff1a65 |
children | 1725:fb3137652ea6 1726:85518cb866dd |
files | util/sasl.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/util/sasl.lua Wed Aug 19 22:16:27 2009 +0200 +++ b/util/sasl.lua Thu Aug 20 04:15:41 2009 +0100 @@ -52,7 +52,7 @@ local claimed_password = "" if password_encoding == nil then claimed_password = password else claimed_password = password_encoding(password) end - caimed_password = saslprep(claimed_password); + claimed_password = saslprep(claimed_password); self.username = authentication if claimed_password == correct_password then @@ -133,7 +133,7 @@ return t_concat(p); end local function parse(data) - message = {} + local message = {} for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do -- FIXME The hacky regex makes me shudder message[k] = v; end