aboutsummaryrefslogtreecommitdiffstats
path: root/util/dataforms.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-03-01 23:34:25 +0000
committerMatthew Wild <mwild1@gmail.com>2009-03-01 23:34:25 +0000
commitfbb86043bd4380e25d81a3e15774a1f8d50a94e6 (patch)
treee095b41a0ff512fd769e485ebbbd1083f34bc75e /util/dataforms.lua
parentfffdba514a7f52494dbc6943da525171d2fd7104 (diff)
downloadprosody-fbb86043bd4380e25d81a3e15774a1f8d50a94e6.tar.gz
prosody-fbb86043bd4380e25d81a3e15774a1f8d50a94e6.zip
util.dataforms: Return the form
Diffstat (limited to 'util/dataforms.lua')
-rw-r--r--util/dataforms.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua
index ba751f6f..c10a0244 100644
--- a/util/dataforms.lua
+++ b/util/dataforms.lua
@@ -45,6 +45,7 @@ function form_t.form(layout, data)
-- Jump back up to list of fields
form:up();
end
+ return form;
end
function form_t.data(layout, stanza)