# HG changeset patch # User MMOSimca # Date 1412364340 14400 # Node ID 04343b25c612e96a422fd4919fdf648da74e4139 # Parent 61a9520b53379f1801b670f4661a851e43ea8689 Reverted change to debug variable. diff -r 61a9520b5337 -r 04343b25c612 Main.lua --- a/Main.lua Fri Oct 03 15:18:01 2014 -0400 +++ b/Main.lua Fri Oct 03 15:25:40 2014 -0400 @@ -35,7 +35,7 @@ local AF = private.ACTION_TYPE_FLAGS local CLIENT_LOCALE = _G.GetLocale() local DB_VERSION = 18 -WOWDB_DEBUGGING = false +local DEBUGGING = false local EVENT_DEBUG = false local OBJECT_ID_ANVIL = 192628 @@ -182,7 +182,7 @@ -- HELPERS ------------------------------------------------------------ local function Debug(message, ...) - if not WOWDB_DEBUGGING or not message or not ... then + if not DEBUGGING or not message or not ... then return end local args = { ... } @@ -885,7 +885,7 @@ function WDP:EventDispatcher(...) local event_name = ... - if WOWDB_DEBUGGING then + if DEBUGGING then if event_name == "COMBAT_LOG_EVENT_UNFILTERED" then Debug(event_name) else @@ -2210,7 +2210,7 @@ function WDP:PET_JOURNAL_LIST_UPDATE(event_name) -- This function produces data currently unused by wowdb.com and it makes debugging errors in the .lua output nearly impossible due to the massive bloat. - if WOWDB_DEBUGGING then + if DEBUGGING then return end