aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-02 14:07:26 +0100
committerGravatar jesopo2019-09-02 14:07:26 +0100
commit7959f1ab881512ca2515664a4f33d9533448d4e2 (patch)
tree6539a484d50f253db41d3382c57bed56fbe8a907 /modules/github.py
parentPass the content of a webpage to HTTPParsingException (diff)
signature
change Cache.py to be key:value
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
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