Skip to content

Commit

Permalink
Cleanup, remove duplicate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Mar 6, 2024
1 parent 6c2db39 commit d89e974
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Hook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function M.register(name, func, append)
append = append or false
-- if append and validT[name] was set before, append. Otherwise, overwrite.
if append and validT[name] then
-- if validT[name] was set before (i.e. isn't false), append
validT[name][#validT[name]+1] = func
else
validT[name] = {func}
Expand Down

0 comments on commit d89e974

Please sign in to comment.