Specifically add AS to ASN queries

This commit is contained in:
Lan Tian 2020-04-10 12:42:52 +08:00
parent b974646749
commit c262ee3bdf
No known key found for this signature in database
GPG Key ID: 27F31700E751EC22

View File

@ -119,7 +119,9 @@ func webHandlerTelegramBot(w http.ResponseWriter, r *http.Request) {
if err == nil {
if targetNumber < 10000 {
targetNumber += 4242420000
target = strconv.FormatUint(targetNumber, 10)
target = "AS" + strconv.FormatUint(targetNumber, 10)
} else {
target = "AS" + target
}
}
}