plugins/session.lua

changeset 395
e86144a4eaa1
parent 380
0891b4e27766
--- a/plugins/session.lua	Thu Sep 03 21:46:57 2015 +0200
+++ b/plugins/session.lua	Thu Sep 03 22:41:27 2015 +0200
@@ -14,7 +14,6 @@
 						if reply.attr.type == "result" then
 							stream:event("session-success");
 						elseif reply.attr.type == "error" then
-							local err = reply:child_with_name("error");
 							local type, condition, text = reply:get_error();
 							stream:event("session-failure", { error = condition, text = text, type = type });
 						end

mercurial