This commit is contained in:
calzoneman 2013-10-12 19:44:36 -05:00
parent 6c7566e790
commit 8c80088192
3 changed files with 5 additions and 2 deletions

View file

@ -74,7 +74,7 @@ module.exports = function (Server) {
loaded: false
};
if(Server.channelLoaded(name))
if(Server.isChannelLoaded(name))
data = getChannelData(Server.getChannel(name));
res.type("application/json");

View file

@ -285,7 +285,6 @@ User.prototype.initCallbacks = function () {
});
self.socket.on("jumpTo", function (data) {
data = (typeof data !== "object") ? {} : data;
if (self.inChannel()) {
self.channel.tryJumpTo(self, data);
}