Software /
code /
prosody
Changeset
5324:8602fffdd1df
mod_admin_adhoc: Remove a TODO, our pretty_print turns out not to be helpful after all
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 05 Feb 2013 00:43:14 +0100 |
parents | 5323:4c30f638ff55 |
children | 5325:97bf651e32a4 |
files | plugins/mod_admin_adhoc.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);