From b4b0a1a7f20ac379d6c4fcd64e5c6331fb47620d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 1 Dec 2016 10:02:01 +0100 Subject: mod_storage_sql: Don't say 'Unknown command' if no command was given (fixes attempt to concatenate nil) --- plugins/mod_storage_sql.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index aef7ff8b..1872ea34 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -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 -- cgit v1.2.3