This commit is contained in:
shoopea 2020-06-21 15:11:48 +02:00
parent 2698719809
commit 54ce36d9a7

View File

@ -156,7 +156,7 @@ func main() {
ok, err := regexp.MatchString("\\[udp\\] queried from (.*)", sp.Text)
logErrorDebug(err, "match string")
if sp.Origin != "net" || ok == false {
logInfoDebug("AdminPacketServerConsole :\n- Origin: \"%s\"\n- Text: %s\n- Regexp: %v\n- Text: %v", sp.Origin, sp.Text, ok, (sp.Origin != "net"))
logInfoDebug("AdminPacketServerConsole :\n- Origin: %q\n- Text: %s\n- Regexp: %v\n- Text: %v", sp.Origin, sp.Text, ok, (sp.Origin != "net"))
}
case AdminPacketServerRConEnd:
sp := PacketServerRConEnd{