Diff

mod_mam/rsm.lib.lua @ 702:d94ee0848b27

mod_mam: Fix issue with get_text() and clean some unneeded variables.
author Kim Alvefur <zash@zash.se>
date Fri, 08 Jun 2012 05:56:24 +0200
parent 701:cc5805f83583
child 703:7e065836c3f6
line wrap: on
line diff
--- a/mod_mam/rsm.lib.lua	Fri Jun 08 03:13:31 2012 +0200
+++ b/mod_mam/rsm.lib.lua	Fri Jun 08 05:56:24 2012 +0200
@@ -9,7 +9,7 @@
 
 do
 	local function xs_int(st)
-		return tonumber(st:get_text());
+		return tonumber((st:get_text()));
 	end
 	local function xs_string(st)
 		return st:get_text();