Software / code / prosody
File
plugins/mod_unknown.lua @ 13483:7b070909bd15
prosodyctl shell: Fix invocation with 3+ command arguments
The code correctly inserted the ',' when there was already a "%q" in the
format string, but then the next argument would fail to match because it
inserted ", %q" instead of "%q". The code now matches both, ensuring the
generated code will not produce a syntax error with multiple arguments.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 24 Apr 2024 11:45:37 +0100 |
| parent | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform