fix /version

This commit is contained in:
Romain Beaumont 2016-03-28 01:05:43 +02:00
parent c9c77d9156
commit 358f0c8841

View file

@ -81,7 +81,7 @@ module.exports.player=function(player, serv) {
info: 'to get version of the server',
usage: '/version',
action() {
return 'This server is running flying-squid version 0.1.0';
return 'This server is running flying-squid version '+require("../../../package").version;
}
});