some checks for handling plugin deletion
Merge branch 'master' of github.com:designcreateplay/NodeBB