test
This commit is contained in:
parent
6b9275109b
commit
3f6d485743
4
main.go
4
main.go
@ -155,8 +155,8 @@ 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\n- Regexp:%v", sp.Origin, sp.Text, ok)
|
||||
if sp.Origin != "net" || ok == false {
|
||||
logInfoDebug("AdminPacketServerConsole :\n- Origin: %s\n- Text: %s\n- Regexp:%v\- Text:%v", sp.Origin, sp.Text, ok, sp.Origin != "net")
|
||||
}
|
||||
case AdminPacketServerRConEnd:
|
||||
sp := PacketServerRConEnd{
|
||||
|
Loading…
Reference in New Issue
Block a user