Commit 4eea6e22 authored by nanahira's avatar nanahira

Merge branch 'master' into tcg_random

parents 50cca341 9aff2746
...@@ -505,7 +505,10 @@ if settings.modules.challonge.enabled ...@@ -505,7 +505,10 @@ if settings.modules.challonge.enabled
challonge_module_name = settings.modules.challonge.use_custom_module challonge_module_name = settings.modules.challonge.use_custom_module
challonge = global.challonge = require(challonge_module_name).createClient(settings.modules.challonge.options) challonge = global.challonge = require(challonge_module_name).createClient(settings.modules.challonge.options)
if settings.modules.challonge.cache_ttl if settings.modules.challonge.cache_ttl
challonge_cache = [] challonge_cache = {
participants: null
matches: null
}
challonge_queue_callbacks = { challonge_queue_callbacks = {
participants: [] participants: []
matches: [] matches: []
......
...@@ -657,7 +657,10 @@ ...@@ -657,7 +657,10 @@
} }
challonge = global.challonge = require(challonge_module_name).createClient(settings.modules.challonge.options); challonge = global.challonge = require(challonge_module_name).createClient(settings.modules.challonge.options);
if (settings.modules.challonge.cache_ttl) { if (settings.modules.challonge.cache_ttl) {
challonge_cache = []; challonge_cache = {
participants: null,
matches: null
};
} }
challonge_queue_callbacks = { challonge_queue_callbacks = {
participants: [], participants: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment