Change the way unregistered channels work

This commit is contained in:
calzoneman 2014-02-02 15:50:05 -06:00
parent b214c07fe0
commit 1864cc0b35
6 changed files with 64 additions and 36 deletions

View file

@ -388,6 +388,9 @@ Callbacks = {
/* REGION Rank Stuff */
rank: function(r) {
if (r >= 1) {
socket.emit("listPlaylists");
}
if(r >= 255)
SUPERADMIN = true;
CLIENT.rank = r;
@ -438,7 +441,6 @@ Callbacks = {
if (!CLIENT.guest) {
socket.emit("initUserPLCallbacks");
socket.emit("listPlaylists");
}
}
},