[Hooks] Split up string exceeding 120 chars
Travis will be finally happy yay.
This commit is contained in:
parent
2879193731
commit
7ce06d5786
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue