tmp fix for nested if
Merge branch 'master' of https://github.com/designcreateplay/NodeBB