Fix an error with trim on the xm handler.

This commit is contained in:
Mark Crane 2013-01-29 21:02:15 +00:00
parent fa280e433a
commit 9761a3ef0e
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@
--add the trim function
function trim(s)
if (s == nil) then s = ''; end
return s:gsub("^%s+", ""):gsub("%s+$", "")
end