remove even more spam
This commit is contained in:
parent
eec4d75635
commit
bd6a5422cb
9
ttd.go
9
ttd.go
@ -512,12 +512,13 @@ func (s *ServerTTD) Poll(stop chan struct{}) {
|
||||
}
|
||||
break
|
||||
}
|
||||
/*
|
||||
command, err := regexp.MatchString("\\[admin\\] Rcon command from 'gottdad' \\(.*\\): .*", sp.Text)
|
||||
if command && sp.Origin == "net" {
|
||||
r := regexp.MustCompile("^\\[admin\\] Rcon command from 'gottdad' \\(.*\\): (?P<Command>.*)$")
|
||||
if r.MatchString(sp.Text) {
|
||||
command := r.ReplaceAllString(sp.Text, "${Command}")
|
||||
if sp.Origin == "net" && (command == "clients" || command == "companies") {
|
||||
break
|
||||
}
|
||||
*/
|
||||
}
|
||||
logInfoDebug("Server.Poll() : AdminPacketServerConsole :\n- Origin: %q\n- Text: %s", sp.Origin, sp.Text)
|
||||
|
||||
case AdminPacketServerRCon:
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "0bfa446"
|
||||
var buildstamp = "2021-12-11_02:44:00"
|
||||
var commits = "254"
|
||||
var version = "0bfa446-b254 - 2021-12-11_02:44:00"
|
||||
var githash = "eec4d75"
|
||||
var buildstamp = "2021-12-11_02:53:36"
|
||||
var commits = "255"
|
||||
var version = "eec4d75-b255 - 2021-12-11_02:53:36"
|
||||
|
Loading…
Reference in New Issue
Block a user