Commit 95a2f61b authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

mieux

parent a2d75d1e
......@@ -175,7 +175,7 @@ class MmBot(irc.IRCClient):
trop_jeune = False
if self.view.has_key( (channel,codename,article) ):
if time.time()-self.view[(channel,codename,article)] < self.botconf['remain_time']:
if time.time()-self.view[(channel,codename,article)] < int(self.botconf['remain_time']):
trop_jeune = True
if not trop_jeune:
......
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