board.config should always be an object.
This commit is contained in:
parent
a28dc87956
commit
e5451a21fc
@ -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[@] = @
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user