diff options
author | Melanie | 2009-11-19 17:53:34 +0000 |
---|---|---|
committer | Melanie | 2009-11-19 17:53:34 +0000 |
commit | d179f2cce970a6f54ce498e2ae3321b9ece417de (patch) | |
tree | 12094c66474d39e1f6fb725a41abc02145d56226 /OpenSim/Services/PresenceService | |
parent | Merge branch 'master' into careminster (diff) | |
parent | minor: tweak log message to say which region is being enabled for logins (diff) | |
download | opensim-SC-d179f2cce970a6f54ce498e2ae3321b9ece417de.zip opensim-SC-d179f2cce970a6f54ce498e2ae3321b9ece417de.tar.gz opensim-SC-d179f2cce970a6f54ce498e2ae3321b9ece417de.tar.bz2 opensim-SC-d179f2cce970a6f54ce498e2ae3321b9ece417de.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/PresenceService/PresenceService.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Services/PresenceService/PresenceService.cs b/OpenSim/Services/PresenceService/PresenceService.cs index 8931a26..2157462 100644 --- a/OpenSim/Services/PresenceService/PresenceService.cs +++ b/OpenSim/Services/PresenceService/PresenceService.cs | |||
@@ -52,6 +52,15 @@ namespace OpenSim.Services.PresenceService | |||
52 | 52 | ||
53 | public bool Report(PresenceInfo presence) | 53 | public bool Report(PresenceInfo presence) |
54 | { | 54 | { |
55 | PresenceData p = new PresenceData(); | ||
56 | p.Data = new Dictionary<string, string>(); | ||
57 | |||
58 | p.UUID = presence.PrincipalID; | ||
59 | p.currentRegion = presence.RegionID; | ||
60 | |||
61 | foreach (KeyValuePair<string, string> kvp in presence.Data) | ||
62 | p.Data[kvp.Key] = kvp.Value; | ||
63 | |||
55 | return false; | 64 | return false; |
56 | } | 65 | } |
57 | } | 66 | } |