aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2010-02-27 15:25:51 +0000
committerMelanie2010-02-27 15:25:51 +0000
commit6f770af5fb7f6eecbb215ec4b176105d29376ae0 (patch)
tree384be68c9f8a37e40d5995fe759b94f57d5c76d3 /OpenSim/Region
parentFriendships established. (diff)
downloadopensim-SC_OLD-6f770af5fb7f6eecbb215ec4b176105d29376ae0.zip
opensim-SC_OLD-6f770af5fb7f6eecbb215ec4b176105d29376ae0.tar.gz
opensim-SC_OLD-6f770af5fb7f6eecbb215ec4b176105d29376ae0.tar.bz2
opensim-SC_OLD-6f770af5fb7f6eecbb215ec4b176105d29376ae0.tar.xz
Implement a handler for requestonlinenotification generic message
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 1719447..b6225ae 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -211,6 +211,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
211 client.OnLogout += OnLogout; 211 client.OnLogout += OnLogout;
212 client.OnEconomyDataRequest += SendPresence; 212 client.OnEconomyDataRequest += SendPresence;
213 213
214 client.AddGenericPacketHandler("requestonlinenotification", OnRequestOnlineNotification);
215
214 if (m_Friends.ContainsKey(client.AgentId)) 216 if (m_Friends.ContainsKey(client.AgentId))
215 { 217 {
216 m_Friends[client.AgentId].Refcount++; 218 m_Friends[client.AgentId].Refcount++;
@@ -529,5 +531,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
529 m_FriendsSimConnector.GrantRights(region, requester, target); 531 m_FriendsSimConnector.GrantRights(region, requester, target);
530 } 532 }
531 } 533 }
534
535 public void OnRequestOnlineNotification(Object sender, string method, List<String> args)
536 {
537 }
532 } 538 }
533} 539}