Skip to content

Commit

Permalink
event/powerlevels: use 0 as default required level for invite (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudis committed Jul 2, 2024
1 parent 69d7d79 commit bec5986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/powerlevels.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (pl *PowerLevelsEventContent) Invite() int {
if pl.InvitePtr != nil {
return *pl.InvitePtr
}
return 50
return 0
}

func (pl *PowerLevelsEventContent) Kick() int {
Expand Down

0 comments on commit bec5986

Please sign in to comment.