From 118276b98a2cfe69ba3da9aaab698738b0db3bc3 Mon Sep 17 00:00:00 2001 From: Peter Eliasson Date: Fri, 5 Aug 2016 23:01:07 +0200 Subject: [PATCH] Change another direct ref to addon.db. --- src/highscore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/highscore.lua b/src/highscore.lua index 7e0cc7e..ba81e67 100644 --- a/src/highscore.lua +++ b/src/highscore.lua @@ -445,7 +445,7 @@ end -- Removes parses that is older than "olderThanDate". If minParsesPerPlayer -- is > 0, that many parses will be kept for the player/encounter combination. function highscore:PurgeParses(olderThanDate, minParsesPerPlayer) - local db = addon.db.realm.modules["highscore"]; + local db = self:GetDB(); local oldGroupParseIds = {}; for id, groupParse in pairs(db.groupParses) do -- 1.7.9.5