WoWInterface SVN NoGuild

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 19 to Rev 20
    Reverse comparison

Rev 19 → Rev 20

trunk/NoGuild.lua
207,7 → 207,7
end
 
if NoGuildStatus == nil then
SetAutoDeclineGuildInvites(1)
SetAutoDeclineGuildInvites(true)
NoGuildStatus = true
end
 
236,7 → 236,7
return
end
 
local enable = not not (IsInGuild() or GetAutoDeclineGuildInvites() == 1)
local enable = GetAutoDeclineGuildInvites() and not IsInGuild()
if enable == NoGuildStatus and event ~= "PLAYER_LOGIN" then
return
end