Software /
code /
prosody
Comparison
plugins/mod_console.lua @ 1582:80d3d95aa83c
Merge with 0.5
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Jul 2009 12:04:41 +0100 |
parent | 1559:831649bb1922 |
parent | 1575:ca39f78de3c8 |
child | 1604:5097583259e0 |
comparison
equal
deleted
inserted
replaced
1573:43cf3d027455 | 1582:80d3d95aa83c |
---|---|
12 | 12 |
13 local prosody = _G.prosody; | 13 local prosody = _G.prosody; |
14 local hosts = prosody.hosts; | 14 local hosts = prosody.hosts; |
15 local connlisteners_register = require "net.connlisteners".register; | 15 local connlisteners_register = require "net.connlisteners".register; |
16 | 16 |
17 local console_listener = { default_port = 5582; default_mode = "*l"; }; | 17 local console_listener = { default_port = 5582; default_mode = "*l"; default_interface = "127.0.0.1" }; |
18 | 18 |
19 require "util.iterators"; | 19 require "util.iterators"; |
20 local jid_bare = require "util.jid".bare; | 20 local jid_bare = require "util.jid".bare; |
21 local set, array = require "util.set", require "util.array"; | 21 local set, array = require "util.set", require "util.array"; |
22 | 22 |