Cluey: Bad reference to self in poi_OnClick().
Ludovicus [11-16-19 - 18:31]
Cluey: Bad reference to self in poi_OnClick().
diff --git a/TomTom_POIIntegration.lua b/TomTom_POIIntegration.lua
index d9877c8..6fdcc76 100755
--- a/TomTom_POIIntegration.lua
+++ b/TomTom_POIIntegration.lua
@@ -208,7 +208,7 @@ local function poi_OnClick(self, button)
if not x or not y then
-- No coordinate information for this quest/objective
local header = "|cFF33FF99TomTom|r"
- if self.profile.general.announce then
+ if TomTom.profile.general.announce then
local msg = L["%s: No coordinate information found for '%s' at this map level"]:format(header, title or self.questID)
ChatFrame1:AddMessage(msg)
end