mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
construct: Use static named options argument to console command.
This commit is contained in:
parent
b938669ba3
commit
549452d7fc
1 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,8 @@ handle_line_bymodule(const string_view &line)
|
|||
std::ostringstream ss;
|
||||
pubsetbuf(ss, buf);
|
||||
int ret;
|
||||
switch((ret = command(ss, line, {})))
|
||||
static const string_view opts;
|
||||
switch((ret = command(ss, line, opts)))
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
|
|
Loading…
Reference in a new issue