From a9c99c48975d9c068208aedf66d2c7c4bf41b363 Mon Sep 17 00:00:00 2001 From: Peter Eliasson Date: Thu, 5 Mar 2015 18:44:03 +0100 Subject: [PATCH] Fix for lua error on login. the local function resetDb was trying to use self:Debug, which is nil. --- VERSION_CHANGES.md | 4 ++-- src/migrate.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION_CHANGES.md b/VERSION_CHANGES.md index c879c2a..a4bbfda 100644 --- a/VERSION_CHANGES.md +++ b/VERSION_CHANGES.md @@ -1,3 +1,3 @@ -Version 1.0.0 +Version 1.0.1-beta -* Version bump for patch 6.1 \ No newline at end of file +* Fix for lua error on login (Ticket #2). \ No newline at end of file diff --git a/src/migrate.lua b/src/migrate.lua index b712785..e47893d 100644 --- a/src/migrate.lua +++ b/src/migrate.lua @@ -92,7 +92,7 @@ local migrateTable = { } local function resetDb() - self:Debug("Resetting db"); + addon:Debug("Resetting db"); addon.db:ResetDB(); end -- 1.7.9.5