mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
chat shit
This commit is contained in:
@@ -37,7 +37,8 @@ io.on('connection', function(socket){
|
||||
var in_list = false;
|
||||
|
||||
socket.on('chat', function (data) {
|
||||
io.sockets.emit('chat,'+coll, guid + " said: " + data);
|
||||
if(data != "" && data !== undefined && data !== null && data.length < 151)
|
||||
io.sockets.emit('chat,'+coll, guid + " said: " + data);
|
||||
});
|
||||
|
||||
socket.on('frontpage_lists', function()
|
||||
|
||||
Reference in New Issue
Block a user