aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_debug.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-08 23:20:45 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-08 23:20:45 +0100
commitce51ad8d0741391ea8587e24c5f5d60f9be6a20f (patch)
treecbeb770350ce79445ee60fe455c9cadc7b6271d2 /plugins/mod_debug.lua
parent921fe046e5e580f57bd20353ec1997c356c02e64 (diff)
parent5a74e32109854347d7c437428d6c2c38c9974188 (diff)
downloadprosody-ce51ad8d0741391ea8587e24c5f5d60f9be6a20f.tar.gz
prosody-ce51ad8d0741391ea8587e24c5f5d60f9be6a20f.zip
Merge
Diffstat (limited to 'plugins/mod_debug.lua')
-rw-r--r--plugins/mod_debug.lua5
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