Minor changes

This commit is contained in:
Amish Shah
2015-12-17 18:31:52 +00:00
parent b82c318e96
commit 941fd2fe98
3 changed files with 3 additions and 3 deletions

View File

@@ -257,7 +257,7 @@ export default class VoiceConnection extends EventEmitter {
init() {
var self = this;
dns.lookup(this.endpoint, (err, address, family) => {
self.endpoint = address;
this.endpoint = address;
var vWS = self.vWS = new WebSocket("wss://" + this.endpoint, null, { rejectUnauthorized: false });
var udpClient = self.udp = udp.createSocket("udp4");