mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
fix listeners count
This commit is contained in:
@@ -476,7 +476,12 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||
get
|
||||
{
|
||||
lock (mainLock)
|
||||
return m_listenersByChannel.Count;
|
||||
{
|
||||
int count = 0;
|
||||
foreach(List<ListenerInfo> l in m_listenersByChannel.Values)
|
||||
count += l.Count;
|
||||
return count;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user