test
This commit is contained in:
parent
0ecfe5f5a5
commit
83b9a048cb
8
main.go
8
main.go
@ -163,13 +163,15 @@ func main() {
|
||||
|
||||
ok, err = regexp.MatchString("\\[All\\] .*: !unpause", sp.Text)
|
||||
logErrorDebug(err, "!unpause")
|
||||
if ok {
|
||||
if sp.Origin != "console" && ok {
|
||||
logInfoDebug("AdminPacketServerConsole : Unpausing")
|
||||
forcePaused = false
|
||||
}
|
||||
|
||||
ok, err = regexp.MatchString("\\[All\\] .*: !pause", sp.Text)
|
||||
logErrorDebug(err, "!unpause")
|
||||
if ok {
|
||||
logErrorDebug(err, "!pause")
|
||||
if sp.Origin != "console" && ok {
|
||||
logInfoDebug("AdminPacketServerConsole : Pausing")
|
||||
forcePaused = true
|
||||
}
|
||||
case AdminPacketServerRConEnd:
|
||||
|
Loading…
Reference in New Issue
Block a user