plugins/mod_admin_telnet.lua
changeset 9752 99199b53019f
parent 9745 d46c376dfe2c
child 9757 3a14815f5430
--- a/plugins/mod_admin_telnet.lua	Sun Dec 30 14:26:58 2018 +0100
+++ b/plugins/mod_admin_telnet.lua	Sun Dec 30 16:03:15 2018 +0100
@@ -1111,9 +1111,6 @@
 	wait();
 	if ret then
 		return true, "pong from " .. ret.stanza.attr.from;
-	elseif type(err) == "table" and st.is_stanza(err.stanza) then
-		local t, cond, text = err.stanza:get_error();
-		return false, text or cond or t;
 	else
 		return false, tostring(err);
 	end