mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_*: Fix a load of global accesses
This commit is contained in:
parent
a54da72215
commit
ca9a9eb85e
10 changed files with 38 additions and 22 deletions
|
@ -11,6 +11,9 @@
|
|||
local st = require "util.stanza";
|
||||
local t_concat = table.concat;
|
||||
|
||||
local sessionmanager = require "core.sessionmanager";
|
||||
local usermanager = require "core.usermanager";
|
||||
|
||||
module:add_feature("jabber:iq:auth");
|
||||
module:add_event_hook("stream-features", function (session, features)
|
||||
if not session.username then features:tag("auth", {xmlns='http://jabber.org/features/iq-auth'}):up(); end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue