Fix purging dead threads from DataBoards.

This commit is contained in:
Nicolas Stepien 2013-04-03 03:01:06 +02:00
parent 1e34674fdf
commit cc27e36d98

View File

@ -57,7 +57,7 @@ class DataBoard
@deleteIfEmpty {boardID}
now = Date.now()
if @data.lastChecked < now - 12 * $.HOUR
if (@data.lastChecked or 0) < now - 12 * $.HOUR
@data.lastChecked = now
for boardID of @data.boards
@ajaxClean boardID