From a19781d8abfc28b164d3757d57d2938c987ad567 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 21 Jun 2020 16:33:29 +0200 Subject: [PATCH] test --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6cb4641..0ea41bc 100644 --- a/main.go +++ b/main.go @@ -190,7 +190,7 @@ func main() { sp.Read(b[:p.PLength]) logInfoDebug("AdminPacketServerRCon :\n- ColorID: %d\n- Output: %s", sp.ColorID, sp.Output) - ok, err := regexp.MatchString("Client #[0-9]+ name: '.*' company: [0-9]+ IP: .*", sp.Output) + ok, _ := regexp.MatchString("Client #[0-9]+ name: '.*' company: [0-9]+ IP: .*", sp.Output) if ok { clt := Client{} r, _ := regexp.Compile("Client #(?P[0-9]+) name: '(?P.*)' company: (?P[0-9]+) IP: (?P
.*)")