diff --git a/sopel/bot.py b/sopel/bot.py index 1016ff60b1..4219528aa1 100644 --- a/sopel/bot.py +++ b/sopel/bot.py @@ -432,7 +432,7 @@ def call(self, func, sopel, trigger): if func in self._times[nick]: usertimediff = current_time - self._times[nick][func] if func.rate > 0 and usertimediff < func.rate: - self._times[nick][func] = current_time + #self._times[nick][func] = current_time LOGGER.info( "%s prevented from using %s in %s due to user limit: %d < %d", trigger.nick, func.__name__, trigger.sender, usertimediff, @@ -442,7 +442,7 @@ def call(self, func, sopel, trigger): if func in self._times[self.nick]: globaltimediff = current_time - self._times[self.nick][func] if func.global_rate > 0 and globaltimediff < func.global_rate: - self._times[self.nick][func] = current_time + #self._times[self.nick][func] = current_time LOGGER.info( "%s prevented from using %s in %s due to global limit: %d < %d", trigger.nick, func.__name__, trigger.sender, globaltimediff, @@ -453,7 +453,7 @@ def call(self, func, sopel, trigger): if not trigger.is_privmsg and func in self._times[trigger.sender]: chantimediff = current_time - self._times[trigger.sender][func] if func.channel_rate > 0 and chantimediff < func.channel_rate: - self._times[trigger.sender][func] = current_time + #self._times[trigger.sender][func] = current_time LOGGER.info( "%s prevented from using %s in %s due to channel limit: %d < %d", trigger.nick, func.__name__, trigger.sender, timediff,