<p>Virustotal: <a href="https://www.virustotal.com/pt/file/728245…sis/1470210257/">https://www.virustotal.com/pt/file/728245…sis/1470210257/</a></p>
<p>Snippets:<br></p>
<pre data-file="" data-highlighter="" data-line="1">socket.on('auth', (user) => { //TEST
const users = ['Kylon'];
//Check if user Kylon exists
if(users.indexOf(user.username) > -1) {
console.log(user.username + ' connected');
//set auth for client and server to true
socket.emit('auth', true);
authenticated = true;
//send all rooms
socket.emit('rooms', db.get('rooms').value());
}
});</pre>
<p><woltlab-metacode data-name="attach" data-attributes="WyI0MjUzIl0="></woltlab-metacode><woltlab-metacode data-name="attach" data-attributes="WyI0MjU0Il0="></woltlab-metacode><woltlab-metacode data-name="attach" data-attributes="WyI0MjU1Il0="></woltlab-metacode></p>
<p>Credits to Kylon ( <a href="http://forum.ragezone.com/f353/html5-hab…7d62abe20525bcf">Ragezone</a> )</p>
-
Version 1.0.0
-
Zensur -
3. August 2016 um 09:42 -
5,88 MB -
184 Downloads
-