I had forgotten all about this until today... I fixed it for my own use (I have done a quick test, but haven't tested extensively, mind you), here's how to do it: Change the first 3 lines to
Code:
function HiddenRaidNames_OnLoad()
HiddenRaidNames_Frame:RegisterEvent("PLAYER_ENTERING_WORLD");
end
Message: Interface\AddOns\HiddenRaidNames\HiddenRaidNames.lua:2: attempt to index global 'this' (a nil value)
Time: 10/16/10 19:07:58
Count: 1
Stack: Interface\AddOns\HiddenRaidNames\HiddenRaidNames.lua:2: in function `HiddenRaidNames_OnLoad'
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>
Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'this' (a nil value)"
Message: Interface\AddOns\HiddenRaidNames\HiddenRaidNames.lua:2: attempt to index global 'this' (a nil value)
Time: 10/16/10 19:07:58
Count: 1
Stack: Interface\AddOns\HiddenRaidNames\HiddenRaidNames.lua:2: in function `HiddenRaidNames_OnLoad'
[string "*:OnLoad"]:1: in function <[string "*:OnLoad"]:1>
Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'this' (a nil value)"