This commit is contained in:
shoopea 2020-06-21 15:12:34 +02:00
parent 54ce36d9a7
commit e8cd1c1764

View File

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