From fcbae24ff0ad1b0621aaadde219976a2acdac179 Mon Sep 17 00:00:00 2001 From: Lynn Date: Fri, 30 Nov 2018 19:29:06 +0100 Subject: [PATCH] table.size -> table_size --- utils/command.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/command.lua b/utils/command.lua index be43bdc7..ec8ef7f1 100644 --- a/utils/command.lua +++ b/utils/command.lua @@ -1,7 +1,6 @@ require 'utils.table' local insert = table.insert -local size = table.size local format = string.format local next = next local serialize = serpent.line @@ -68,7 +67,7 @@ function Command.add(command_name, options, callback) local allowed_by_server = options.allowed_by_server or false local allowed_by_player = options.allowed_by_player local log_command = options.log_command or options.admin_only or false - local argument_list_size = size(arguments) + local argument_list_size = table_size(arguments) local argument_list = '' assert_existing_options(command_name, options)