diff mod_onions/mod_onions.lua @ 2881:824b0d7fa883

mod_onions: Fix unqualified use of debug.traceback
author Kim Alvefur <zash@zash.se>
date Fri, 16 Feb 2018 04:36:41 +0100
parents 05ebe377fc90
children 44be2c6087f3
line wrap: on
line diff
--- 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;
 	};