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