Mercurial > wow > wowdb-profiler
diff Main.lua @ 346:04343b25c612 WoD
Reverted change to debug variable.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Fri, 03 Oct 2014 15:25:40 -0400 |
parents | 61a9520b5337 |
children | fb1d08480f67 |
line wrap: on
line diff
--- 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