Update tgbot.go

This commit is contained in:
Peyman 2023-05-21 10:42:20 +03:30 committed by GitHub
parent 770ef39f41
commit 041bf640d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,7 +427,7 @@ func (t *Tgbot) getIPsForDomains(domainList []string) string {
} }
return result return result
} }
}
func checkAdmin(tgId int64) bool { func checkAdmin(tgId int64) bool {
for _, adminId := range adminIds { for _, adminId := range adminIds {
if adminId == tgId { if adminId == tgId {