Skip to content

Commit

Permalink
fixed redundant parenthesis (#443)
Browse files Browse the repository at this point in the history
Signed-off-by: Sleryfink <[email protected]>
  • Loading branch information
aryazakaria01 authored Jan 9, 2025
1 parent 58084f0 commit 68ee301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alita/modules/blacklists.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (m moduleStruct) blacklistWatcher(b *gotgbot.Bot, ctx *ext.Context) error {
}

// skip admins and creator + approved users and anonymous channel
if !user.IsAnonymousChannel() && (chat_status.IsUserAdmin(b, chat.Id, user.Id())) {
if !user.IsAnonymousChannel() && chat_status.IsUserAdmin(b, chat.Id, user.Id()) {
return ext.ContinueGroups
}

Expand Down

0 comments on commit 68ee301

Please sign in to comment.