Changeset

251:d36160f4961f

mod_adhoc_cmd_admin: Use correct dataform layout
author Florian Zeitz <florob@babelmonkeys.de>
date Fri, 03 Sep 2010 00:39:59 +0200
parents 250:67f03b7786af
children 252:8eae74a31acb
files mod_adhoc_cmd_admin/mod_adhoc_cmd_admin.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_adhoc_cmd_admin/mod_adhoc_cmd_admin.lua	Wed Sep 01 22:42:58 2010 +0200
+++ b/mod_adhoc_cmd_admin/mod_adhoc_cmd_admin.lua	Fri Sep 03 00:39:59 2010 +0200
@@ -298,7 +298,7 @@
 			return { status = "canceled" };
 		end
 
-		local fields = add_user_layout:data(data.form);
+		local fields = get_user_roster_layout:data(data.form);
 
 		if not fields.accountjid then
 			return { status = "completed", error = { message = "Please specify a JID" } };