make pointless loops no longer pointless
This commit is contained in:

committed by
GitHub

parent
147f10fe66
commit
3aa619dd92
2
main.go
2
main.go
@@ -410,12 +410,14 @@ func main() {
|
|||||||
if v.XMLName.Local == "delay" { // CLasic history message
|
if v.XMLName.Local == "delay" { // CLasic history message
|
||||||
//ignore = true
|
//ignore = true
|
||||||
//fmt.Println("ignoring!")
|
//fmt.Println("ignoring!")
|
||||||
|
return //what is blud doing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, v := range msg.Unknown {
|
for _, v := range msg.Unknown {
|
||||||
if v.XMLName.Local == "replace" {
|
if v.XMLName.Local == "replace" {
|
||||||
correction = true
|
correction = true
|
||||||
|
break // dont need to look at more fields
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user