# HG changeset patch # User Kim Alvefur # Date 1493050349 -7200 # Node ID 5ab27d3741b4a42b43a9eca53f545dd658d29425 # Parent c0237567bbb1ca4cb0e2605e41e1597b5bd85e95 mod_onions: Make variable local diff -r c0237567bbb1 -r 5ab27d3741b4 mod_onions/mod_onions.lua --- 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. :(");