From 5666407931762a5c8531a5917596a953950d34ad Mon Sep 17 00:00:00 2001 From: lidgren Date: Tue, 23 Nov 2010 21:56:29 +0000 Subject: [PATCH] NetPeer.GetConnection() made public --- Lidgren.Network/NetPeer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lidgren.Network/NetPeer.cs b/Lidgren.Network/NetPeer.cs index 74e0fdd..bb87e1e 100644 --- a/Lidgren.Network/NetPeer.cs +++ b/Lidgren.Network/NetPeer.cs @@ -132,10 +132,10 @@ namespace Lidgren.Network Thread.Sleep(10); } - internal NetConnection GetConnection(IPEndPoint ep) + public NetConnection GetConnection(IPEndPoint ep) { NetConnection retval; - m_connectionLookup.TryGetValue(ep, out retval); + m_connectionLookup.TryGetValue(ep, out retval); // this should not pose a threading problem, afaict return retval; }