add version checking
Merge branch 'master' of github.com:moechat/moechat
add version checking