mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_storage_sql: Don't say 'Unknown command' if no command was given (fixes attempt to concatenate nil)
This commit is contained in:
parent
b07f05a3fb
commit
f1ce52f17d
1 changed files with 2 additions and 0 deletions
|
@ -504,6 +504,8 @@ function module.command(arg)
|
|||
upgrade_table(params, true);
|
||||
end
|
||||
print("All done!");
|
||||
elseif command then
|
||||
print("Unknown command: "..command);
|
||||
else
|
||||
print("Unknown command: "..command);
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue