# HG changeset patch # User Paul Aurich # Date 1290402151 28800 # Node ID 2b80450bd7aea4de367b2b45bd92e974307cb3da # Parent ae99396ee2610fa865e0135f047164f1bde65d41 s2smanager: Compatibility hack for when not using dialback diff -r ae99396ee261 -r 2b80450bd7ae core/s2smanager.lua --- 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;