Give the setPlayingGame callback a default value

to be consistent with other functions.
This commit is contained in:
meew0
2015-12-31 20:21:03 +01:00
parent f018ccebed
commit 385da190ba

View File

@@ -498,7 +498,7 @@ export default class Client extends EventEmitter {
return this.setStatusIdle(callback);
}
setPlayingGame(game, callback) {
setPlayingGame(game, callback = (/*err, {}*/ => { })) {
return this.setStatus(null, game, callback);
}
}