!frehash in debug mode sets timers to 0 now
This commit is contained in:
parent
fc7dbcb8e9
commit
e5a60b84ed
@ -223,6 +223,13 @@ def frehash(cli, nick, chan, rest):
|
|||||||
imp.reload(var)
|
imp.reload(var)
|
||||||
imp.reload(decorators.botconfig)
|
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.")
|
cli.msg(chan, "Operation successful.")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user