Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix purgeChannel() limit checks (fix #391)
Handle decimals properly, handle negative numbers that aren't -1
- Loading branch information
1 parent
4e229d5
commit 8ed422b
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this should be back to
if(limit === 0)
to solve
purgeChannel(-1)
, becouse limit going to be-2
if it's-1
#438