# HG changeset patch # User Kim Alvefur # Date 1480582921 -3600 # Node ID 19aa9b1ef9e8ba38fe4f3695f1452da709e580cd # Parent 560d2e758d4cf320a5317a00f98385270046f474 mod_storage_sql: Don't say 'Unknown command' if no command was given (fixes attempt to concatenate nil) diff -r 560d2e758d4c -r 19aa9b1ef9e8 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Thu Dec 01 06:47:03 2016 +0100 +++ b/plugins/mod_storage_sql.lua Thu Dec 01 10:02:01 2016 +0100 @@ -504,6 +504,8 @@ upgrade_table(params, true); end print("All done!"); + elseif command then + print("Unknown command: "..command); else print("Unknown command: "..command); end