Fix CommandListener ignoring Plugin_Handled#1819
Fix CommandListener ignoring Plugin_Handled#1819peace-maker merged 1 commit intoalliedmodders:masterfrom
Conversation
|
Sorry for the delay, not sure how this one snuck by! As a code fix, this is definitely correct, and is what the behaviour should be. I'm wary of the bcompat change, it'll need a quick validation on the corpus and I'm not sure how difficult that'll be to do. That said, I could easily be persuaded to just land it for the next release from master, the doc behaviour is sane and any incorrect plugins will fail-closed, so there should be no security impact. |
|
I'd expect plugin authors to trust the documentation and not verifying if 🚢 |
Resolves #1363 (I think?)
I'm not entirely sure if this is the correct way to fix this.
But it works, and I couldn't find any other instances where
RETURN_META(MRES_SUPERCEDE);orRETURN_META_VALUE(MRES_SUPERCEDE, ...were used that were using Pl_Stop instead of Pl_HandledTested with the same code as the issue: