mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error with loggin in twice
This commit is contained in:
19
php/bot.php
19
php/bot.php
@@ -64,7 +64,24 @@
|
|||||||
|
|
||||||
<main class="center-align container remote-container">
|
<main class="center-align container remote-container">
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<h3 id="remote-text">Bot!</h3>
|
<h3 id="remote-text">Twitch Bot</h3>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s6">
|
||||||
|
<p>
|
||||||
|
Commands
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
join
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
leave
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
np
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="col s6">Sign up</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|||||||
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/frontpage.min.js
vendored
2
static/dist/frontpage.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -124,9 +124,9 @@ function init(){
|
|||||||
socket.on("get_list", function(){
|
socket.on("get_list", function(){
|
||||||
//setTimeout(function(){
|
//setTimeout(function(){
|
||||||
socket.emit('list', chan.toLowerCase());
|
socket.emit('list', chan.toLowerCase());
|
||||||
if(Crypt.get_pass(chan.toLowerCase()) != undefined){
|
/*if(Crypt.get_pass(chan.toLowerCase()) != undefined){
|
||||||
socket.emit("password", [Crypt.crypt_pass(Crypt.get_pass(chan.toLowerCase())), chan.toLowerCase()]);
|
socket.emit("password", [Crypt.crypt_pass(Crypt.get_pass(chan.toLowerCase())), chan.toLowerCase()]);
|
||||||
}
|
}*/
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on("suggested", function(params){
|
socket.on("suggested", function(params){
|
||||||
|
|||||||
Reference in New Issue
Block a user