mirror of https://github.com/calzoneman/sync.git
Fix bugs
This commit is contained in:
parent
6c7566e790
commit
8c80088192
|
@ -1,3 +1,7 @@
|
|||
Sat Oct 12 19:43 2013 CDT
|
||||
* lib/user.js: Fix jumpTo kick bug
|
||||
* lib/api.js: Fix unloaded channel API listing bug
|
||||
|
||||
Sat Oct 12 19:02 2013 CDT
|
||||
* lib/chatcommand.js: Fix poll import
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue