diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2013-02-05 00:43:14 +0100 |
---|---|---|
committer | Florian Zeitz <florob@babelmonkeys.de> | 2013-02-05 00:43:14 +0100 |
commit | 2d26dbed7836b6b8fb0618dc2a9b6bb3c8158954 (patch) | |
tree | 493e2dff2727b4e95fc82fc2ab864dbf540e83fb /plugins | |
parent | 42c8d5bd2416ae0cd8a12f718f3ae9e10ea43e42 (diff) | |
download | prosody-2d26dbed7836b6b8fb0618dc2a9b6bb3c8158954.tar.gz prosody-2d26dbed7836b6b8fb0618dc2a9b6bb3c8158954.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.lua | 3 |
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); |