1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-31 10:20:55 +00:00

Small refactor to bunched command

This commit is contained in:
Kane York 2015-12-02 19:08:19 -08:00
parent 59fed52797
commit dc09698e36
4 changed files with 32 additions and 30 deletions

View file

@ -10,15 +10,15 @@ import (
"log"
"net/http"
"net/url"
"os"
"os/signal"
"strconv"
"strings"
"sync"
"sync/atomic"
"syscall"
"time"
"unicode/utf8"
"os"
"os/signal"
"syscall"
)
// SuccessCommand is a Reply Command to indicate success in reply to a C2S Command.
@ -112,7 +112,7 @@ func shutdownHandler() {
StopAcceptingConnections = true
close(StopAcceptingConnectionsCh)
time.Sleep(1*time.Second)
time.Sleep(1 * time.Second)
os.Exit(0)
}