LtHummus / SpyPartyDraft

A tool for drafting maps for SpyParty tournament matches.
http://draftmeaspy.party
MIT License
8 stars 4 forks source link

Two users with the same name in a room causes bad things #3

Open LtHummus opened 8 years ago

LtHummus commented 8 years ago

Yeah, don't do this. I should probably switch to session IDs or something like that to disambiguate between people...

Wodar9 commented 8 years ago

This sounds like a very exciting bug

Pumpuli commented 8 years ago

Socket.IO sockets have an ID you can use.

Each Socket in Socket.IO is identified by a random, unguessable, unique identifier Socket#id