From 150748841f17d8afbc1fa270c1e371bcf552f351 Mon Sep 17 00:00:00 2001 From: Jimmy Cao Date: Sat, 10 Sep 2011 14:38:58 -0500 Subject: [PATCH] !frehash in debug mode sets timers to 0 now --- wolfgame.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wolfgame.py b/wolfgame.py index 00a58d0..f875922 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -223,6 +223,13 @@ def frehash(cli, nick, chan, rest): imp.reload(var) imp.reload(decorators.botconfig) + if botconfig.DEBUG_MODE: + var.NIGHT_TIME_LIMIT = 0 # 90 + var.DAY_TIME_LIMIT_WARN = 0 + var.DAY_TIME_LIMIT_CHANGE = 0 + var.KILL_IDLE_TIME = 0 #300 + var.WARN_IDLE_TIME = 0 #180 + cli.msg(chan, "Operation successful.")