Software /
code /
prosody
Comparison
plugins/mod_saslauth.lua @ 1071:216f9a9001f1
mod_saslauth: Use module logger instead of creating a new one
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 30 Apr 2009 01:38:52 +0100 |
parent | 1065:3806173670f2 |
child | 1072:c7967004b5d0 |
comparison
equal
deleted
inserted
replaced
1070:3b066968063b | 1071:216f9a9001f1 |
---|---|
19 local tostring = tostring; | 19 local tostring = tostring; |
20 local jid_split = require "util.jid".split | 20 local jid_split = require "util.jid".split |
21 local md5 = require "util.hashes".md5; | 21 local md5 = require "util.hashes".md5; |
22 local config = require "core.configmanager"; | 22 local config = require "core.configmanager"; |
23 | 23 |
24 local log = require "util.logger".init("mod_saslauth"); | 24 local log = module._log; |
25 | 25 |
26 local xmlns_sasl ='urn:ietf:params:xml:ns:xmpp-sasl'; | 26 local xmlns_sasl ='urn:ietf:params:xml:ns:xmpp-sasl'; |
27 local xmlns_bind ='urn:ietf:params:xml:ns:xmpp-bind'; | 27 local xmlns_bind ='urn:ietf:params:xml:ns:xmpp-bind'; |
28 local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; | 28 local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; |
29 | 29 |