mod_admin_adhoc: Remove a TODO, our pretty_print turns out not to be helpful after all
--- a/plugins/mod_admin_adhoc.lua Fri Feb 08 00:27:59 2013 +0500
+++ b/plugins/mod_admin_adhoc.lua Tue Feb 05 00:43:14 2013 +0100
@@ -299,8 +299,7 @@
end
end
- local query_text = query:__tostring(); -- TODO: Use upcoming pretty_print() function
- query_text = query_text:gsub("><", ">\n<");
+ local query_text = tostring(query):gsub("><", ">\n<");
local result = get_user_roster_result_layout:form({ accountjid = user.."@"..host, roster = query_text }, "result");
result:add_child(query);