Comparison

plugins/mod_console.lua @ 1575:ca39f78de3c8

mod_console: Set default_interface to 127.0.0.1
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Jul 2009 02:32:00 +0100
parent 1523:841d61be198f
child 1582:80d3d95aa83c
child 1616:80ea744f2643
comparison
equal deleted inserted replaced
1574:3692706f78e3 1575:ca39f78de3c8
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