From 442c2c52090b54b820974220b18d60f991b3050f Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Sat, 14 Sep 2024 23:27:22 +0200 Subject: [PATCH] remove code that is never reached --- init.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/init.lua b/init.lua index 00170a8..d7f3b43 100644 --- a/init.lua +++ b/init.lua @@ -203,9 +203,6 @@ local function handle_command(name, param) for p in string.gmatch(param, "[^%s]+") do table.insert(params, p) end - if params == nil then - return false, S("Unknown subcommand. Run '/help factions' for help.") - end local action = params[1] if action == "create" then local faction_name = params[2]