What steps will reproduce the problem?
1. run prosodyctl mod_listusers --connected
What is the expected output?
list of connected users (or empty)
What do you see instead?
Failed to execute command: Error: /usr/local/lib/prosody/modules/mod_listusers.lua:27: attempt to index global 'config' (a nil value)
stack traceback:
/usr/local/lib/prosody/modules/mod_listusers.lua:27: in function </usr/local/lib/prosody/modules/mod_listusers.lua:1>
[C]: in function 'xpcall'
/usr/lib/prosody/core/modulemanager.lua:325: in function 'call_module_method'
/usr/bin/prosodyctl:1335: in function 'func'
/usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125>
What version of the product are you using? On what operating system?
Debian stable, prosody 0.11.4, mod_listusers b307b72ae527
What steps will reproduce the problem? 1. run prosodyctl mod_listusers --connected What is the expected output? list of connected users (or empty) What do you see instead? Failed to execute command: Error: /usr/local/lib/prosody/modules/mod_listusers.lua:27: attempt to index global 'config' (a nil value) stack traceback: /usr/local/lib/prosody/modules/mod_listusers.lua:27: in function </usr/local/lib/prosody/modules/mod_listusers.lua:1> [C]: in function 'xpcall' /usr/lib/prosody/core/modulemanager.lua:325: in function 'call_module_method' /usr/bin/prosodyctl:1335: in function 'func' /usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125> What version of the product are you using? On what operating system? Debian stable, prosody 0.11.4, mod_listusers b307b72ae527