This commit is contained in:
shoopea 2020-06-21 15:29:35 +02:00
parent 83b9a048cb
commit ae81b8a063

View File

@ -161,14 +161,14 @@ func main() {
logInfoDebug("AdminPacketServerConsole :\n- Origin: %q\n- Text: %s", sp.Origin, sp.Text)
}
ok, err = regexp.MatchString("\\[All\\] .*: !unpause", sp.Text)
ok, err = regexp.MatchString("\\[All\\] .*\\: !unpause", sp.Text)
logErrorDebug(err, "!unpause")
if sp.Origin != "console" && ok {
logInfoDebug("AdminPacketServerConsole : Unpausing")
forcePaused = false
}
ok, err = regexp.MatchString("\\[All\\] .*: !pause", sp.Text)
ok, err = regexp.MatchString("\\[All\\] .*\\: !pause", sp.Text)
logErrorDebug(err, "!pause")
if sp.Origin != "console" && ok {
logInfoDebug("AdminPacketServerConsole : Pausing")