mirror of
https://github.com/statbate/fantastic-engine.git
synced 2026-08-11 03:02:41 +00:00
update
This commit is contained in:
parent
0c18a2d2f1
commit
a8342b4f3c
1 changed files with 21 additions and 23 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"github.com/gorilla/websocket"
|
||||
"net/http"
|
||||
|
|
@ -8,7 +9,6 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
"encoding/base64"
|
||||
)
|
||||
|
||||
var uptime = time.Now().Unix()
|
||||
|
|
@ -164,7 +164,6 @@ func xWorker(workerData Info) {
|
|||
rooms.Del <- workerData.room
|
||||
}()
|
||||
|
||||
|
||||
if len(workerData.Key) < 50 {
|
||||
fmt.Println(workerData.Key, workerData.room)
|
||||
return
|
||||
|
|
@ -246,7 +245,6 @@ func xWorker(workerData Info) {
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
messageID := getMessageID(string(message))
|
||||
|
||||
if messageID == 28 && strings.Contains(string(message), "offline") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue