Software /
code /
prosody
Comparison
plugins/mod_debug.lua @ 997:c81b6141d693
mod_debug: Set default interface to 127.0.0.1
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 19:05:55 +0100 |
parent | 969:9ab6934fb1ff |
child | 1523:841d61be198f |
comparison
equal
deleted
inserted
replaced
996:6fb96dffb2c1 | 997:c81b6141d693 |
---|---|
8 | 8 |
9 module.host = "*"; | 9 module.host = "*"; |
10 | 10 |
11 local connlisteners_register = require "net.connlisteners".register; | 11 local connlisteners_register = require "net.connlisteners".register; |
12 | 12 |
13 local console_listener = { default_port = 5583; default_mode = "*l"; }; | 13 local console_listener = { default_port = 5583; default_mode = "*l"; default_interface = "127.0.0.1" }; |
14 | 14 |
15 local sha256, missingglobal = require "util.hashes".sha256; | 15 local sha256, missingglobal = require "util.hashes".sha256; |
16 | 16 |
17 local commands = {}; | 17 local commands = {}; |
18 local debug_env = {}; | 18 local debug_env = {}; |