roy: check for arg length before slicing
Merge pull request #22 from mistydemeo/roy

roy: check for arg length before slicing