aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2013-02-05 00:43:14 +0100
committerFlorian Zeitz <florob@babelmonkeys.de>2013-02-05 00:43:14 +0100
commit64f38ba188a2865f61ba748dce1edd24874d19f1 (patch)
tree493e2dff2727b4e95fc82fc2ab864dbf540e83fb /plugins
parent49a6c240739e97e0ffe59cabefb481c5225959bf (diff)
downloadprosody-64f38ba188a2865f61ba748dce1edd24874d19f1.tar.gz
prosody-64f38ba188a2865f61ba748dce1edd24874d19f1.zip
mod_admin_adhoc: Remove a TODO, our pretty_print turns out not to be helpful after all
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_adhoc.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua
index 9f3175d0..c6684883 100644
--- a/plugins/mod_admin_adhoc.lua
+++ b/plugins/mod_admin_adhoc.lua
@@ -299,8 +299,7 @@ function get_user_roster_handler(self, data, state)
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);