From c5afc4370f40cf3430c3d80ef37c116e9b401b43 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Thu, 24 Nov 2011 09:38:16 -0500 Subject: [PATCH] -small fix for unguilded people --- BagSync.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BagSync.lua b/BagSync.lua index 7f77a45..e584425 100644 --- a/BagSync.lua +++ b/BagSync.lua @@ -244,7 +244,7 @@ function BagSync:GUILD_ROSTER_UPDATE() if not IsInGuild() and BS_DB.guild then BS_DB.guild = nil self:FixDB_Data(true) - else + elseif IsInGuild() then --if they don't have guild name store it or update it if GetGuildInfo("player") then if not BS_DB.guild or BS_DB.guild ~= GetGuildInfo("player") then @@ -598,7 +598,7 @@ end function BagSync:ScanGuildBank() --GetCurrentGuildBankTab() - if not IsInGuild() or not BS_DB.guild then return nil end + if not IsInGuild() then return end BS_GD[BS_DB.guild] = BS_GD[BS_DB.guild] or {} -- 1.7.9.5