mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
`kUnhookableNames` is patch 11.0.0's own refusal list, verbatim — the 23 taint-relevant names, not "the Lua base library". Nothing said so, and with the base-library luaL_reg table (0x00811E28, 36 entries) freshly catalogued the two looked like they should be one thing. They must not be: 11.0 leaves tostring / error / loadstring / assert / collectgarbage hookable and includes secure-family names that are no base function, so deriving the list from the engine table would move it away from the client. No earlier client on this machine (3.3.5, 4.3.4, 5.4.8) has the restriction at all. Say so in the source comment and the TODO section, and list the names in the API reference, which documented every other hooksecurefunc error but this one. Comment-only in the source; no behavior change.