this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

automod: fix segfault (#764)

authored by

bnewbold and committed by
GitHub
b3609c65 01a47d45

+6 -4
+6 -4
automod/rules/harassment.go
··· 76 76 if targetAccount == nil { 77 77 continue 78 78 } 79 - for _, t := range targetAccount.Private.AccountTags { 80 - if t == "harassment-protection" { 81 - targetIsProtected = true 82 - break 79 + if targetAccount.Private != nil { 80 + for _, t := range targetAccount.Private.AccountTags { 81 + if t == "harassment-protection" { 82 + targetIsProtected = true 83 + break 84 + } 83 85 } 84 86 } 85 87 }