Advertisement
bhn3xakofficiel

code bomparty pour deban et unmod

Sep 1st, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. for(var id in channel.data.bannedUsersByAuthId){channel.socket.emit("unbanUser",id)}
  2.  
  3. pour deban
  4.  
  5. pour unmod
  6.  
  7. for(var i =0; i < channel.data.users.length; i ++){
  8. if(channel.data.users[i].role === 'moderator'){
  9. channel.socket.emit("unmodUser", channel.data.users[i].authId)
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement