Commit c3238bf8 authored by nanahira's avatar nanahira

fix

parent 47e43a7a
...@@ -425,8 +425,8 @@ if settings.modules.challonge.enabled ...@@ -425,8 +425,8 @@ if settings.modules.challonge.enabled
return return
refresh_challonge_cache = global.refresh_challonge_cache = () -> refresh_challonge_cache = global.refresh_challonge_cache = () ->
if settings.modules.challonge.cache_ttl if settings.modules.challonge.cache_ttl
challonge_cache[0] = null challonge_cache.participants = null
challonge_cache[1] = null challonge_cache.matches = null
return return
refresh_challonge_cache() refresh_challonge_cache()
# challonge.participants._index({ # challonge.participants._index({
......
...@@ -555,8 +555,8 @@ ...@@ -555,8 +555,8 @@
}; };
refresh_challonge_cache = global.refresh_challonge_cache = function() { refresh_challonge_cache = global.refresh_challonge_cache = function() {
if (settings.modules.challonge.cache_ttl) { if (settings.modules.challonge.cache_ttl) {
challonge_cache[0] = null; challonge_cache.participants = null;
challonge_cache[1] = null; challonge_cache.matches = null;
} }
}; };
refresh_challonge_cache(); refresh_challonge_cache();
......
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