Fix cooldowns.
This commit is contained in:
parent
7239882ee9
commit
b4e97d39bc
@ -20,6 +20,8 @@ QR.cooldown =
|
|||||||
# Read cooldown times
|
# Read cooldown times
|
||||||
if m = Get.scriptData().match /\bcooldowns *= *({[^}]+})/
|
if m = Get.scriptData().match /\bcooldowns *= *({[^}]+})/
|
||||||
$.extend QR.cooldown.delays, JSON.parse m[1]
|
$.extend QR.cooldown.delays, JSON.parse m[1]
|
||||||
|
QR.cooldown.delays.reply_intra or= QR.cooldown.delays.reply
|
||||||
|
QR.cooldown.delays.image_intra or= QR.cooldown.delays.image
|
||||||
|
|
||||||
# The longest reply cooldown, for use in pruning old reply data
|
# The longest reply cooldown, for use in pruning old reply data
|
||||||
QR.cooldown.maxDelay = 0
|
QR.cooldown.maxDelay = 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user