test
This commit is contained in:
parent
54ce36d9a7
commit
e8cd1c1764
2
main.go
2
main.go
@ -155,7 +155,7 @@ func main() {
|
||||
sp.Read(b[:p.PLength])
|
||||
ok, err := regexp.MatchString("\\[udp\\] queried from (.*)", sp.Text)
|
||||
logErrorDebug(err, "match string")
|
||||
if sp.Origin != "net" || ok == false {
|
||||
if sp.Origin != "net\x00" || ok == false {
|
||||
logInfoDebug("AdminPacketServerConsole :\n- Origin: %q\n- Text: %s\n- Regexp: %v\n- Text: %v", sp.Origin, sp.Text, ok, (sp.Origin != "net"))
|
||||
}
|
||||
case AdminPacketServerRConEnd:
|
||||
|
Loading…
Reference in New Issue
Block a user