mirror of
https://github.com/matrix-construct/construct
synced 2025-01-16 09:36:54 +01:00
console: Fix console context flags; ensure async POST.
This commit is contained in:
parent
42246d8d5f
commit
3742ce38dd
1 changed files with 8 additions and 2 deletions
|
@ -61,7 +61,10 @@ console_execute(const std::vector<std::string> &lines)
|
|||
check_console_active();
|
||||
ircd::context
|
||||
{
|
||||
"execute", stack_sz, std::bind(&execute, lines), ircd::context::DETACH
|
||||
"execute",
|
||||
stack_sz,
|
||||
std::bind(&execute, lines),
|
||||
ircd::context::DETACH | ircd::context::POST
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -71,7 +74,10 @@ console_spawn()
|
|||
check_console_active();
|
||||
ircd::context
|
||||
{
|
||||
"console", stack_sz, std::bind(&console), ircd::context::DETACH
|
||||
"console",
|
||||
stack_sz,
|
||||
std::bind(&console),
|
||||
ircd::context::DETACH | ircd::context::POST
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue