Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aimerneige committed Aug 10, 2022
1 parent f247ae1 commit d82fe80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fortune.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ func (f *fortune) Init() {
blacklistUser = append(blacklistUser, int64(user))
}
disallowedSlice := config.GlobalConfig.GetIntSlice("aimerneige.fortune.disallowed")
for _, groupCode := range disallowedList {
disallowedSlice = append(disallowedSlice, int(groupCode))
for _, groupCode := range disallowedSlice {
disallowedList = append(disallowedList, int64(groupCode))
}
}

Expand Down

0 comments on commit d82fe80

Please sign in to comment.