Merge pull request #13 from jjj333-p/patch-2
make pointless loops no longer pointless
This commit is contained in:
2
main.go
2
main.go
@@ -410,12 +410,14 @@ func main() {
|
||||
if v.XMLName.Local == "delay" { // CLasic history message
|
||||
//ignore = true
|
||||
//fmt.Println("ignoring!")
|
||||
return //what is blud doing
|
||||
}
|
||||
}
|
||||
|
||||
for _, v := range msg.Unknown {
|
||||
if v.XMLName.Local == "replace" {
|
||||
correction = true
|
||||
break // dont need to look at more fields
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user