Skip to content

Commit

Permalink
fix: deny-delete in interactive prompts overriding deny-purge
Browse files Browse the repository at this point in the history
  • Loading branch information
codegangsta committed Jul 13, 2022
1 parent 4ae164c commit 5338aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/stream_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ func (c *streamCmd) prepareConfig(pc *fisk.ParseContext, requireSize bool) api.S
}

if !c.denyDeleteSet {
c.denyPurge, err = askConfirmation("Allow message deletion", true)
c.denyDelete, err = askConfirmation("Allow message deletion", true)
fisk.FatalIfError(err, "invalid input")
}

Expand Down

0 comments on commit 5338aac

Please sign in to comment.