Commit 1ad8c45e authored by Committed by Tomas Krizek
lua module layers: avoid incorrect returns on errors
The layer functions are supposed to return the new state. We've been lucky that errors are negative numbers and thus they typically passed the (status & KR_STATE_FAIL) test.
Showing with 21 additions and 13 deletions