More shortcuts

This commit is contained in:
abalabahaha
2015-12-05 09:43:11 -08:00
parent ae71087bcc
commit 559ed5f76f
11 changed files with 91 additions and 86 deletions

View File

@@ -198,7 +198,7 @@ export default class Client extends EventEmitter {
return this.internal.leaveServer(server)
.then(callback, errCB(callback));
}
// def deleteServer
deleteServer(server, callback = (/*err*/) => {}) {
return this.internal.leaveServer(server)