diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-08 23:20:45 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-08 23:20:45 +0100 |
commit | ce51ad8d0741391ea8587e24c5f5d60f9be6a20f (patch) | |
tree | cbeb770350ce79445ee60fe455c9cadc7b6271d2 /plugins | |
parent | 921fe046e5e580f57bd20353ec1997c356c02e64 (diff) | |
parent | 5a74e32109854347d7c437428d6c2c38c9974188 (diff) | |
download | prosody-ce51ad8d0741391ea8587e24c5f5d60f9be6a20f.tar.gz prosody-ce51ad8d0741391ea8587e24c5f5d60f9be6a20f.zip |
Merge
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_debug.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mod_debug.lua b/plugins/mod_debug.lua index 93724354..11d14a42 100644 --- a/plugins/mod_debug.lua +++ b/plugins/mod_debug.lua @@ -10,7 +10,7 @@ module.host = "*"; local connlisteners_register = require "net.connlisteners".register; -local console_listener = { default_port = 5582; default_mode = "*l"; }; +local console_listener = { default_port = 5583; default_mode = "*l"; }; local sha256, missingglobal = require "util.hashes".sha256; @@ -102,7 +102,8 @@ function console_listener.disconnect(conn, err) end -connlisteners_register('console', console_listener); +connlisteners_register('debug', console_listener); +require "net.connlisteners".start("debug"); -- Console commands -- -- These are simple commands, not valid standalone in Lua |