Fixed gamedig issue with port

This commit is contained in:
Björn Dahlgren 2015-01-17 03:40:22 +01:00
parent be6bdb781a
commit dce30cfb24

View File

@ -28,6 +28,7 @@ Server.prototype.update = function (options) {
this.von = options.von;
this.id = slug(this.title).replace('.', '-');
this.port = parseInt(this.port, 10); // If port is a string then gamedig fails
};
Server.prototype.queryStatus = function() {