Skip to content

Commit

Permalink
fix: return response, if neither hook returns false (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
coblyox authored Jan 28, 2025
1 parent 85be28b commit bcb1ff4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ local function triggerEventHooks(event, payload)
return false
end
end

return true
end

local hookId = 0
Expand Down

0 comments on commit bcb1ff4

Please sign in to comment.