[Hooks] Split up string exceeding 120 chars

Travis will be finally happy yay.
This commit is contained in:
Azumgi 2018-12-14 20:24:59 +03:00
parent 2879193731
commit 7ce06d5786

View file

@ -229,7 +229,8 @@ local function create_hook(mod, orig, obj, method, handler, func_name, hook_type
hook_data.handler = handler hook_data.handler = handler
elseif mod:get_internal_data("allow_rehooking") then elseif mod:get_internal_data("allow_rehooking") then
-- If we can't rehook but rehooking is enabled, send a warning that something went wrong -- 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 else
mod:warning("(%s): Attempting to rehook active hook [%s].", func_name, method) mod:warning("(%s): Attempting to rehook active hook [%s].", func_name, method)
end end