This commit is contained in:
poiuty 2023-06-09 14:58:41 +03:00
parent c22576a6bf
commit eedc77518a
3 changed files with 48 additions and 45 deletions

View file

@ -3,7 +3,6 @@ package main
import (
"fmt"
"log"
"math/rand"
"net"
"net/http"
"os"
@ -45,7 +44,6 @@ var (
)
func main() {
rand.Seed(time.Now().UnixNano())
startConfig()
@ -122,10 +120,6 @@ func socketHandler() {
}
}
func randInt(min int, max int) int {
return min + rand.Intn(max-min)
}
func fastStart() {
defer func() {
go updateFileRooms()