Fix PSLimitNonPositive
This commit is contained in:
parent
b86d4de7ab
commit
cb0ac4b7e9
@ -204,7 +204,7 @@ instance Default (PSValidator m x) where
|
|||||||
l <- asks piLimit
|
l <- asks piLimit
|
||||||
case l of
|
case l of
|
||||||
Just l'
|
Just l'
|
||||||
| l' >= 0 -> tell . pure $ SomeMessage MsgPSLimitNonPositive
|
| l' <= 0 -> tell . pure $ SomeMessage MsgPSLimitNonPositive
|
||||||
| otherwise -> modify $ \ps -> ps { psLimit = l' }
|
| otherwise -> modify $ \ps -> ps { psLimit = l' }
|
||||||
Nothing -> return ()
|
Nothing -> return ()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user