diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/coins.py | 2 | ||||
| -rw-r--r-- | modules/github.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/coins.py b/modules/coins.py index e8435b99..3bdf6fff 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -185,7 +185,7 @@ class Module(ModuleManager.BaseModule): redeem_amount)) redeem_delay = self._redeem_delay(event["server"]) - self.bot.cache.temporary_cache(cache, redeem_delay) + self.bot.cache.temporary_cache(cache, True, redeem_delay) else: time_left = self.bot.cache.until_expiration(cache) event["stderr"].write("%s: Please wait %s before redeeming" % ( diff --git a/modules/github.py b/modules/github.py index c2f13294..71df302e 100644 --- a/modules/github.py +++ b/modules/github.py @@ -177,7 +177,7 @@ class Module(ModuleManager.BaseModule): if not cooldown == None: cache = self._cache_ref(ref) if not self.bot.cache.has_item(cache): - self.bot.cache.temporary_cache(cache, cooldown) + self.bot.cache.temporary_cache(cache, True, cooldown) return True else: return False |
