Comparison

core/s2smanager.lua @ 4494:694491140a67

Merge with 0.9
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Jan 2012 18:48:21 +0000
parent 4461:a81d045e7d16
parent 4493:cad62a675b60
child 4510:b827401581c5
comparison
equal deleted inserted replaced
4488:99b37efe13ed 4494:694491140a67
657 if not session.hosts[host] then session.hosts[host] = {}; end 657 if not session.hosts[host] then session.hosts[host] = {}; end
658 session.hosts[host].authed = true; 658 session.hosts[host].authed = true;
659 else 659 else
660 return false; 660 return false;
661 end 661 end
662 session.log("debug", "connection %s->%s is now authenticated", session.from_host or "(unknown)", session.to_host or "(unknown)"); 662 session.log("debug", "connection %s->%s is now authenticated for %s", session.from_host or "(unknown)", session.to_host or "(unknown)", host);
663 663
664 mark_connected(session); 664 mark_connected(session);
665 665
666 return true; 666 return true;
667 end 667 end