actually build changes

reference now works when building
This commit is contained in:
hydrabolt
2015-10-02 21:32:40 +01:00
parent c7ab2d37db
commit 37d9d23679
2 changed files with 23 additions and 1 deletions

View File

@@ -12,7 +12,6 @@ var Channel = require("./channel.js");
var Message = require("./message.js");
var Invite = require("./invite.js");
var PMChannel = require("./PMChannel.js");
var Member = require("./Member.js");
var gameMap = require("../ref/gameMap.json");
@@ -1457,6 +1456,8 @@ var Client = (function () {
channId = destination.id;
} else if (destination instanceof Message) {
channId = destination.channel.id;
} else if (destination instanceof PMChannel) {
channId = destination.id;
} else if (destination instanceof User) {
//check if we have a PM