mod_onions: Fix unqualified use of debug.traceback
authorKim Alvefur <zash@zash.se>
Fri, 16 Feb 2018 04:36:41 +0100
changeset 2885 824b0d7fa883
parent 2884 05ebe377fc90
child 2886 6f289283feb1
mod_onions: Fix unqualified use of debug.traceback
mod_onions/mod_onions.lua
--- a/mod_onions/mod_onions.lua	Fri Feb 16 04:33:13 2018 +0100
+++ b/mod_onions/mod_onions.lua	Fri Feb 16 04:36:41 2018 +0100
@@ -200,7 +200,7 @@
 	local dummy = {
 		type = "s2sin";
 		send = function(s)
-			(session.log or log)("error", "Replying to to an s2s error reply, please report this! Traceback: %s", traceback());
+			(session.log or log)("error", "Replying to to an s2s error reply, please report this! Traceback: %s", debug.traceback());
 		end;
 		dummy = true;
 	};