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

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