mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
Some tiny changes for main.lua
This commit is contained in:
parent
1693c32c72
commit
288aaa38ea
1 changed files with 2 additions and 2 deletions
4
main.lua
4
main.lua
|
@ -1,6 +1,6 @@
|
||||||
require "luarocks.require"
|
require "luarocks.require"
|
||||||
|
|
||||||
server = require "net.server"
|
local server = require "net.server"
|
||||||
require "socket"
|
require "socket"
|
||||||
require "ssl"
|
require "ssl"
|
||||||
require "lxp"
|
require "lxp"
|
||||||
|
@ -39,7 +39,7 @@ local st = stanza;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
local hosts, users = hosts, users;
|
local hosts, sessions = hosts, sessions;
|
||||||
|
|
||||||
function connect_host(host)
|
function connect_host(host)
|
||||||
hosts[host] = { type = "remote", sendbuffer = {} };
|
hosts[host] = { type = "remote", sendbuffer = {} };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue