From d89890ec4192c1c1d5a46df192bd223347d4d022 Mon Sep 17 00:00:00 2001 From: Repooc Date: Mon, 18 Mar 2013 19:49:21 -0400 Subject: [PATCH] Fixed guild not showing remote chat users. --- ElvUI_SLE/modules/datatexts/guild.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/datatexts/guild.lua b/ElvUI_SLE/modules/datatexts/guild.lua index a020d9f..66df065 100644 --- a/ElvUI_SLE/modules/datatexts/guild.lua +++ b/ElvUI_SLE/modules/datatexts/guild.lua @@ -161,7 +161,12 @@ function DT:update_Guild() if IsInGuild() then GuildRoster() local guildTotal, online = GetNumGuildMembers() - + for i = 1, GetNumGuildMembers() do + local _, _, _, _, _, _, _, _, connected, _, _, _, _, isMobile = GetGuildRosterInfo(i) + if isMobile then + online = online + 1 + end + end if E.db.sle.dt.guild.totals then LDB.text = --[["|cff82c5ff"]]"|cffffffffGuild: |r"..valueColor(online).."/"..valueColor(guildTotal)--[["|r"]] else @@ -312,7 +317,7 @@ function LDB.OnEnter(self) for i = 1, GetNumGuildMembers() do local toonName, rank, rankindex, level, class, zoneName, note, onote, connected, status, classFileName, achievementPoints, achievementRank, isMobile = GetGuildRosterInfo(i) - if connected then + if connected or isMobile then if note and note ~= '' then note="|cff00ff00["..note.."]|r" end if onote and onote ~= '' then onote = "|cff00ffff["..onote.."]|r" end -- 1.7.9.5