* Test thy commits! (oops, sorry!)

afrisby
Adam Frisby 2007-10-19 19:30:22 +00:00
parent d8cbd173f5
commit aaaa3c6835
1 changed files with 5 additions and 3 deletions

View File

@ -35,16 +35,18 @@ namespace OpenSim.Region.Environment.Modules
{
public class InstantMessageModule : IRegionModule
{
private List<Scene> m_scenes;
private List<Scene> m_scenes = new List<Scene>();
private LogBase m_log;
public void Initialise(Scene scene)
{
if (!m_scenes.Contains(scene))
{
m_scenes.Add(scene);
scene.EventManager.OnNewClient += OnNewClient;
m_log = OpenSim.Framework.Console.MainLog.Instance;
scene.EventManager.OnNewClient += OnNewClient;
m_log = OpenSim.Framework.Console.MainLog.Instance;
}
}
void OnNewClient(OpenSim.Framework.Interfaces.IClientAPI client)