This commit is contained in:
shoopea 2020-06-21 15:29:11 +02:00
parent 0ecfe5f5a5
commit 83b9a048cb

View File

@ -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: