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