Sun, 21 Nov 2010 21:02:31 -0800
s2smanager: Compatibility hack for when not using dialback
core/s2smanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/s2smanager.lua Sun Nov 21 21:02:31 2010 -0800 +++ b/core/s2smanager.lua Sun Nov 21 21:02:31 2010 -0800 @@ -490,9 +490,11 @@ elseif session.type == "s2sin_unauthed" then session.type = "s2sin"; if host then + if not session.hosts[host] then session.hosts[host] = {}; end session.hosts[host].authed = true; end elseif session.type == "s2sin" and host then + if not session.hosts[host] then session.hosts[host] = {}; end session.hosts[host].authed = true; else return false;