test
This commit is contained in:
parent
3e128dd47a
commit
d831762669
1
main.go
1
main.go
@ -154,6 +154,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 {
|
||||
logInfoDebug("AdminPacketServerConsole :\n- Origin: %s\n- Text: %s", sp.Origin, sp.Text)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user