Include offline time for units.
Scott Sibley [03-14-11 - 08:31]
Include offline time for units.
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 43115b0..11bf746 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -89,6 +89,10 @@ local dnd = DND(unit)
if dnd and afk == "" then
afk = " " .. Angle(dnd)
end
+local offline = Offline(unit)
+if offline then
+ afk = " " .. Angle(offline)
+end
return Colorize((Name(unit, true) or Name(unit)) .. afk , r, g, b)
]],
right = nil,
@@ -1434,4 +1438,4 @@ function mod:RefixEndLines()
wipe(linesToAddRightR)
wipe(linesToAddRightG)
wipe(linesToAddRightB)
-end
\ No newline at end of file
+end