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