Software /
code /
prosody-modules
Comparison
mod_onions/mod_onions.lua @ 2873:9e693d433a41
mod_onions: Fix typo [codespell]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Feb 2018 16:00:13 +0100 |
parent | 2704:5ab27d3741b4 |
child | 2880:05ebe377fc90 |
comparison
equal
deleted
inserted
replaced
2872:8f17da746479 | 2873:9e693d433a41 |
---|---|
52 module:log("debug", "Failed to connect to the SOCKS5 proxy. :("); | 52 module:log("debug", "Failed to connect to the SOCKS5 proxy. :("); |
53 session:close(false); | 53 session:close(false); |
54 return; | 54 return; |
55 end | 55 end |
56 | 56 |
57 module:log("debug", "Succesfully connected to SOCKS5 proxy."); | 57 module:log("debug", "Successfully connected to SOCKS5 proxy."); |
58 | 58 |
59 local response = byte(data, 4); | 59 local response = byte(data, 4); |
60 | 60 |
61 if response == 0x01 then | 61 if response == 0x01 then |
62 if #data < 10 then | 62 if #data < 10 then |