Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- a/plugins/mod_console.lua Thu Jul 23 01:57:09 2009 +0100 +++ b/plugins/mod_console.lua Thu Jul 23 02:32:00 2009 +0100 @@ -14,7 +14,7 @@ local hosts = prosody.hosts; local connlisteners_register = require "net.connlisteners".register; -local console_listener = { default_port = 5582; default_mode = "*l"; }; +local console_listener = { default_port = 5582; default_mode = "*l"; default_interface = "127.0.0.1" }; require "util.iterators"; local jid_bare = require "util.jid".bare;