Tweaks to Leaders, add kick messages

This commit is contained in:
calzoneman 2013-04-14 12:38:00 -05:00
parent 78c7a4d77a
commit 4e2e349196
6 changed files with 34 additions and 14 deletions

View file

@ -23,6 +23,14 @@ function initCallbacks() {
});
/* REGION Channel Meta */
socket.on("kick", function(data) {
KICKED = true;
$("<div/>")
.addClass("server-msg-disconnect")
.text("Kicked: " + data.reason)
.appendTo($("#messagebuffer"));
});
socket.on("channelNotRegistered", function() {
showChannelRegistration();
});