From 7ce06d5786e037ef10b6a24e1b50b344236b7e4c Mon Sep 17 00:00:00 2001 From: Azumgi <4zumgi@gmail.com> Date: Fri, 14 Dec 2018 20:24:59 +0300 Subject: [PATCH] [Hooks] Split up string exceeding 120 chars Travis will be finally happy yay. --- vmf/scripts/mods/vmf/modules/core/hooks.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmf/scripts/mods/vmf/modules/core/hooks.lua b/vmf/scripts/mods/vmf/modules/core/hooks.lua index 9ff6c5a..c16242c 100644 --- a/vmf/scripts/mods/vmf/modules/core/hooks.lua +++ b/vmf/scripts/mods/vmf/modules/core/hooks.lua @@ -229,7 +229,8 @@ local function create_hook(mod, orig, obj, method, handler, func_name, hook_type hook_data.handler = handler elseif mod:get_internal_data("allow_rehooking") then -- If we can't rehook but rehooking is enabled, send a warning that something went wrong - mod:warning("(%s): Attempting to rehook active hook [%s] with different obj or hook_type.", func_name, method) + mod:warning("(%s): Attempting to rehook active hook [%s] with different obj or hook_type.", func_name, + method) else mod:warning("(%s): Attempting to rehook active hook [%s].", func_name, method) end