fixed usage of string functions
Merge branch 'master' of github.com:mansam/textyserver