Software /
code /
prosody
Comparison
plugins/mod_c2s.lua @ 4753:142e21f6bf8e
mod_c2s: Remove unused import of portmanager
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 03:05:03 +0100 |
parent | 4626:9df9e87d0339 |
child | 4852:9cc934f49df0 |
comparison
equal
deleted
inserted
replaced
4752:27b724a698f8 | 4753:142e21f6bf8e |
---|---|
9 module:set_global(); | 9 module:set_global(); |
10 | 10 |
11 local add_task = require "util.timer".add_task; | 11 local add_task = require "util.timer".add_task; |
12 local new_xmpp_stream = require "util.xmppstream".new; | 12 local new_xmpp_stream = require "util.xmppstream".new; |
13 local nameprep = require "util.encodings".stringprep.nameprep; | 13 local nameprep = require "util.encodings".stringprep.nameprep; |
14 local portmanager = require "core.portmanager"; | |
15 local sessionmanager = require "core.sessionmanager"; | 14 local sessionmanager = require "core.sessionmanager"; |
16 local st = require "util.stanza"; | 15 local st = require "util.stanza"; |
17 local sm_new_session, sm_destroy_session = sessionmanager.new_session, sessionmanager.destroy_session; | 16 local sm_new_session, sm_destroy_session = sessionmanager.new_session, sessionmanager.destroy_session; |
18 local uuid_generate = require "util.uuid".generate; | 17 local uuid_generate = require "util.uuid".generate; |
19 | 18 |