From f1ce52f17d720b45d8fb6d804fa6808894829e07 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(+) (limited to 'plugins') 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