mirror of
https://github.com/matrix-construct/construct
synced 2024-11-04 21:08:57 +01:00
modules/console: Default to local users for users cmd.
This commit is contained in:
parent
b0c386d54a
commit
c0f4640a74
1 changed files with 4 additions and 1 deletions
|
@ -11557,11 +11557,14 @@ console_cmd__users(opt &out, const string_view &line)
|
|||
param.at("query", string_view{})
|
||||
};
|
||||
|
||||
const m::users::opts opts
|
||||
m::users::opts opts
|
||||
{
|
||||
query
|
||||
};
|
||||
|
||||
if(!query || query != "*")
|
||||
opts.hostpart = my_host();
|
||||
|
||||
m::users::for_each(opts, [&out]
|
||||
(const m::user &user)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue