The “Mary Sue Protocol” (“MSP” for short) is a simple challenge/response protocol for RP UI add-ons within WoW to communicate with each other and publish text information to other clients (such as RP character names and descriptions).
Creative Commons Zero v1.0 Universal
2
stars
1
forks
source link
Fix initialization error if LibMSP is loaded twice #24
If LibMSP is loaded once, msp.char is populated, and LibMSP is then loaded by another addon it attempts to fix up the msp.char table by assigning metatables on the present data.
It'll test for the field table on the character data via rawget, but incorrectly doesn't pass the "field" key as a separate argument to rawget thus triggering an error.
If LibMSP is loaded once, msp.char is populated, and LibMSP is then loaded by another addon it attempts to fix up the msp.char table by assigning metatables on the present data.
It'll test for the field table on the character data via rawget, but incorrectly doesn't pass the "field" key as a separate argument to rawget thus triggering an error.