diff options
Diffstat (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index 87e06f1..8985bb6 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs | |||
@@ -187,6 +187,21 @@ namespace OpenSim.Framework.Communications | |||
187 | return null; | 187 | return null; |
188 | } | 188 | } |
189 | 189 | ||
190 | public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle) | ||
191 | { | ||
192 | foreach (KeyValuePair<string, IUserData> plugin in _plugins) | ||
193 | { | ||
194 | try | ||
195 | { | ||
196 | plugin.Value.UpdateUserCurrentRegion(avatarid, regionuuid, regionhandle); | ||
197 | } | ||
198 | catch (Exception e) | ||
199 | { | ||
200 | m_log.Info("[USERSTORAGE]: Unable to updateuser location via " + plugin.Key + "(" + e.ToString() + ")"); | ||
201 | } | ||
202 | } | ||
203 | } | ||
204 | |||
190 | /// <summary> | 205 | /// <summary> |
191 | /// Loads a user's friend list | 206 | /// Loads a user's friend list |
192 | /// </summary> | 207 | /// </summary> |