mirror of
https://github.com/alireza0/x-ui.git
synced 2026-08-27 03:43:28 +00:00
fix funny bug in line 49 check_clinet_ip_job
This commit is contained in:
parent
91e416b436
commit
74f7af6812
1 changed files with 1 additions and 3 deletions
|
|
@ -46,9 +46,7 @@ func processLogFile() {
|
|||
checkError(err)
|
||||
}
|
||||
|
||||
lines := ss.Split(string(data), "\n") if err != nil {
|
||||
return nil
|
||||
}
|
||||
lines := ss.Split(string(data), "\n")
|
||||
for _, line := range lines {
|
||||
ipRegx, _ := regexp.Compile(`[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+`)
|
||||
emailRegx, _ := regexp.Compile(`email:.+`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue