Changeset

2704:5ab27d3741b4

mod_onions: Make variable local
author Kim Alvefur <zash@zash.se>
date Mon, 24 Apr 2017 18:12:29 +0200
parents 2703:c0237567bbb1
children 2705:3f44abfe7264
files mod_onions/mod_onions.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_onions/mod_onions.lua	Mon Apr 24 18:12:08 2017 +0200
+++ b/mod_onions/mod_onions.lua	Mon Apr 24 18:12:29 2017 +0200
@@ -46,7 +46,7 @@
 		return;
 	end
 
-	request_status = byte(data, 2);
+	local request_status = byte(data, 2);
 
 	if not request_status == 0x00 then
 		module:log("debug", "Failed to connect to the SOCKS5 proxy. :(");