mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
more easter
This commit is contained in:
@@ -41,9 +41,9 @@ io.on('connection', function(socket){
|
|||||||
{
|
{
|
||||||
if(name.length < 9)
|
if(name.length < 9)
|
||||||
{
|
{
|
||||||
|
io.sockets.emit('chat,'+coll, name + " changed name to " + data);
|
||||||
|
io.sockets.emit('chat.all', [name + " changed name to " + data, coll]);
|
||||||
name = data;
|
name = data;
|
||||||
io.sockets.emit('chat,'+coll, rndName(guid) + " changed name to " + name);
|
|
||||||
io.sockets.emit('chat.all', [rndName(guid) + " changed name to " + name, coll]);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user