board.config should always be an object.

This commit is contained in:
ccd0 2016-07-10 16:41:20 -07:00
parent a28dc87956
commit e5451a21fc

View File

@ -4,6 +4,6 @@ class Board
constructor: (@ID) ->
@threads = new SimpleDict()
@posts = new SimpleDict()
@config = BoardConfig.boards?[@ID]
@config = BoardConfig.boards?[@ID] or {}
g.boards[@] = @