From 2c58c0cb2670e6b46116927811e22ea31654c927 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sat, 20 Jan 2018 14:34:51 +0100 Subject: [PATCH] ignoring gm mail --- Mail.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mail.lua b/Mail.lua index e6e7dda..b8328be 100644 --- a/Mail.lua +++ b/Mail.lua @@ -201,10 +201,10 @@ do f:SetScript('OnUpdate', function() if update then update = false - local _, _, _, _, _, COD = GetInboxHeaderInfo(i) + local _, _, _, _, _, COD, _, _, _, _, _, _, isGM = GetInboxHeaderInfo(i) if i > GetInboxNumItems() then Inbox_Abort() - elseif Inbox_Skip or COD > 0 then + elseif Inbox_Skip or COD > 0 or isGM then Inbox_Skip = false i = i + 1 update = true