Software /
code /
prosody
Diff
util/sasl.lua @ 17:9a2685f39f9f
module table was missing
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Tue, 26 Aug 2008 14:11:52 +0200 |
parent | 16:ba8e796f9f94 |
child | 32:a4de5ab077ab |
line wrap: on
line diff
--- a/util/sasl.lua Tue Aug 26 01:01:13 2008 +0200 +++ b/util/sasl.lua Tue Aug 26 14:11:52 2008 +0200 @@ -1,4 +1,5 @@ require "base64" +sasl = {} function sasl:new_plain(onAuth, onSuccess, onFail, onWrite) local object = { mechanism = "PLAIN", onAuth = onAuth, onSuccess = onSuccess, onFail = onFail,