Skip to content

Commit

Permalink
Merging master as it was 1 commit ahead
Browse files Browse the repository at this point in the history
  • Loading branch information
explodingcamera committed Jun 27, 2016
2 parents c11998f + 5e0bfb2 commit 159c257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socketserver/socketserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ var SocketServer = function(server){
roles: Roles.makeClientObj(),
roleOrder: Roles.getOrder(),
staffRoles: Roles.getStaffRoles(),
lastChat: that.room.makePrevChatObj(),
lastChat: ((!socket.user && !config.room.guestCanSeeChat) || (that.room.isUserRestricted((socket.user || {}).uid, 'BAN') && !config.room.bannedCanSeeChat)) ? [] : that.room.makePrevChatObj(),
time: new Date().getTime(),
captchakey: config.apis.reCaptcha.key,
allowemojis: config.room.allowemojis,
Expand Down

0 comments on commit 159c257

Please sign in to comment.