Change the way unregistered channels work
This commit is contained in:
parent
b214c07fe0
commit
1864cc0b35
6 changed files with 64 additions and 36 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue