diff options
author | Justin Clark-Casey (justincc) | 2010-04-16 21:39:27 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-16 21:39:27 +0100 |
commit | cf4673585616e4b45f095ec5837c2554f40b85b3 (patch) | |
tree | 11896aa06539adb2dbdd6abb42924a0958cd4e29 /OpenSim/Region/OptionalModules/Avatar | |
parent | minor: stop irc bridge warning about not attached to regions if it's not been... (diff) | |
download | opensim-SC_OLD-cf4673585616e4b45f095ec5837c2554f40b85b3.zip opensim-SC_OLD-cf4673585616e4b45f095ec5837c2554f40b85b3.tar.gz opensim-SC_OLD-cf4673585616e4b45f095ec5837c2554f40b85b3.tar.bz2 opensim-SC_OLD-cf4673585616e4b45f095ec5837c2554f40b85b3.tar.xz |
add a missing initialization of the m_memoryCache in XmlRpcGroupsServicesConnectorModule
the lack of this caused me a NullReferenceException when calling some groups methods directly though in principle it would also fail in other situations
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs index e7967d1..79b9a16 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs | |||
@@ -142,8 +142,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
142 | m_log.InfoFormat("[XMLRPC-GROUPS-CONNECTOR]: Groups Cache Timeout set to {0}.", m_cacheTimeout); | 142 | m_log.InfoFormat("[XMLRPC-GROUPS-CONNECTOR]: Groups Cache Timeout set to {0}.", m_cacheTimeout); |
143 | } | 143 | } |
144 | 144 | ||
145 | |||
146 | // If we got all the config options we need, lets start'er'up | 145 | // If we got all the config options we need, lets start'er'up |
146 | m_memoryCache = new ExpiringCache<string, XmlRpcResponse>(); | ||
147 | m_connectorEnabled = true; | 147 | m_connectorEnabled = true; |
148 | } | 148 | } |
149 | } | 149 | } |