Advertisement
scotepi

function hook

Dec 3rd, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local SIL_SetLDB = SIL:SetLDB;
  2. function SIL:SetLDB(v)
  3.     SIL_SetLDB(v);
  4.    
  5.     if v then
  6.         SIL_Group:RegisterEvent("PARTY_MEMBERS_CHANGED");
  7.     else
  8.         SIL_Group:UnregisterEvent("PARTY_MEMBERS_CHANGED");
  9.     end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement