# HG changeset patch # User Kim Alvefur # Date 1474624627 -7200 # Node ID a881494238af1f7797e25f3d06da48a3cfd6077d # Parent db7c80c2d6814887884550ebb5d272e55cb7b376 mod_onions: Remove capture of final period (stripped by util.jid) diff -r db7c80c2d681 -r a881494238af mod_onions/mod_onions.lua --- a/mod_onions/mod_onions.lua Fri Sep 23 11:54:30 2016 +0200 +++ b/mod_onions/mod_onions.lua Fri Sep 23 11:57:07 2016 +0200 @@ -236,7 +236,7 @@ local onion_host = nil; local onion_port = nil; - if not to_host:find("%.onion(%.?)$") then + if not to_host:find("%.onion$") then if onions_map[to_host] then if type(onions_map[to_host]) == "string" then onion_host = onions_map[to_host];