Skip to content

Fix "no active hook" false report#2507

Merged
Kenzzer merged 1 commit into
alliedmodders:k/sourcehook_alternativefrom
Mikusch:event-hook-bug
Jul 13, 2026
Merged

Fix "no active hook" false report#2507
Kenzzer merged 1 commit into
alliedmodders:k/sourcehook_alternativefrom
Mikusch:event-hook-bug

Conversation

@Mikusch

@Mikusch Mikusch commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

d0664a8 introduced a regression in EventManager::UnhookEvent. Its inverted list check falsely returns EventHookErr_NotActive when a plugin unhooks its only hook on an event.

@Kenzzer
Kenzzer merged commit a3c4d03 into alliedmodders:k/sourcehook_alternative Jul 13, 2026
@Mikusch
Mikusch deleted the event-hook-bug branch July 13, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants