aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-01 20:18:47 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-01 20:18:47 +0000
commit0cbbfc225c549ab4f82f658330132361d07969aa (patch)
treeb30f28d501fa889f52b0bea0d552bd23bc507b77 /plugins
parent85332f04e0420729ca1402d2db639027e0bef7e7 (diff)
downloadprosody-0cbbfc225c549ab4f82f658330132361d07969aa.tar.gz
prosody-0cbbfc225c549ab4f82f658330132361d07969aa.zip
mod_proxy65: Remove trailing whitespace
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_proxy65.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_proxy65.lua b/plugins/mod_proxy65.lua
index e2cf3cd8..b2f901af 100644
--- a/plugins/mod_proxy65.lua
+++ b/plugins/mod_proxy65.lua
@@ -67,7 +67,7 @@ function connlistener.onincoming(conn, data)
data:sub(4):byte() == 0x03 and -- ATYP must be 3
data:sub(5):byte() == 40 and -- SHA1 HASH length must be 40 (0x28)
data:sub(-2):byte() == 0x00 and -- PORT must be 0, size 2 byte
- data:sub(-1):byte() == 0x00
+ data:sub(-1):byte() == 0x00
then
local sha = data:sub(6, 45); -- second param is not count! it's the ending index (included!)
if transfers[sha] == nil then