test
This commit is contained in:
parent
83b9a048cb
commit
ae81b8a063
4
main.go
4
main.go
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user