Pass username as argument to door programs

This commit is contained in:
richinseattle 2018-05-02 18:28:04 -07:00 committed by GitHub
parent f1c1aeb9ea
commit ca0077e209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ Door.prototype.run = function() {
node : self.exeInfo.node.toString(), node : self.exeInfo.node.toString(),
srvPort : sockServer ? sockServer.address().port.toString() : '-1', srvPort : sockServer ? sockServer.address().port.toString() : '-1',
userId : self.client.user.userId.toString(), userId : self.client.user.userId.toString(),
username : self.client.user.username,
}); });
} }