diff options
author | Teravus Ovares | 2008-05-31 12:18:29 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-31 12:18:29 +0000 |
commit | febe78d06249cd4d36a86e97610dd45ab518a757 (patch) | |
tree | 7b9733fc14045f09e874440b923cfe443b781b6a /OpenSim/Data | |
parent | Mantis#1425. Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC-febe78d06249cd4d36a86e97610dd45ab518a757.zip opensim-SC-febe78d06249cd4d36a86e97610dd45ab518a757.tar.gz opensim-SC-febe78d06249cd4d36a86e97610dd45ab518a757.tar.bz2 opensim-SC-febe78d06249cd4d36a86e97610dd45ab518a757.tar.xz |
* Implements UserServer logoff in a few situations
* User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there.
* From the UserServer, admin types 'logoff-user firstname lastname message'.
* Some regions may not get the message because they're not updated yet.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLUserData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateUserData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/UserDataBase.cs | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLUserData.cs b/OpenSim/Data/MSSQL/MSSQLUserData.cs index 0d3563f..aa8c2ed 100644 --- a/OpenSim/Data/MSSQL/MSSQLUserData.cs +++ b/OpenSim/Data/MSSQL/MSSQLUserData.cs | |||
@@ -321,9 +321,9 @@ namespace OpenSim.Data.MSSQL | |||
321 | 321 | ||
322 | #endregion | 322 | #endregion |
323 | 323 | ||
324 | override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid) | 324 | override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle) |
325 | { | 325 | { |
326 | m_log.Info("[USER]: Stub UpdateUserCUrrentRegion called"); | 326 | //m_log.Info("[USER]: Stub UpdateUserCUrrentRegion called"); |
327 | } | 327 | } |
328 | 328 | ||
329 | 329 | ||
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index bcfd7c3..f717609 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs | |||
@@ -382,9 +382,9 @@ namespace OpenSim.Data.MySQL | |||
382 | 382 | ||
383 | #endregion | 383 | #endregion |
384 | 384 | ||
385 | override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid) | 385 | override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle) |
386 | { | 386 | { |
387 | m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called"); | 387 | //m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called"); |
388 | } | 388 | } |
389 | 389 | ||
390 | override public List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query) | 390 | override public List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query) |
diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs index b757496..af9020d 100644 --- a/OpenSim/Data/NHibernate/NHibernateUserData.cs +++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs | |||
@@ -295,7 +295,7 @@ namespace OpenSim.Data.NHibernate | |||
295 | } | 295 | } |
296 | 296 | ||
297 | // TODO: actually implement these | 297 | // TODO: actually implement these |
298 | public override void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid) {return;} | 298 | public override void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle) { return; } |
299 | public override void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey) {return;} | 299 | public override void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey) {return;} |
300 | public override void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms) {return;} | 300 | public override void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms) {return;} |
301 | public override void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend) {return;} | 301 | public override void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend) {return;} |
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs index 85dd47b..c9ef3c2 100644 --- a/OpenSim/Data/SQLite/SQLiteUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserData.cs | |||
@@ -238,9 +238,9 @@ namespace OpenSim.Data.SQLite | |||
238 | 238 | ||
239 | #endregion | 239 | #endregion |
240 | 240 | ||
241 | override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid) | 241 | override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle) |
242 | { | 242 | { |
243 | m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called"); | 243 | //m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called"); |
244 | } | 244 | } |
245 | 245 | ||
246 | 246 | ||
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs index cbf24a7..384dd19 100644 --- a/OpenSim/Data/UserDataBase.cs +++ b/OpenSim/Data/UserDataBase.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Data | |||
47 | public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey); | 47 | public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey); |
48 | public abstract void AddNewUserProfile(UserProfileData user); | 48 | public abstract void AddNewUserProfile(UserProfileData user); |
49 | public abstract bool UpdateUserProfile(UserProfileData user); | 49 | public abstract bool UpdateUserProfile(UserProfileData user); |
50 | public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid); | 50 | public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle); |
51 | public abstract void AddNewUserAgent(UserAgentData agent); | 51 | public abstract void AddNewUserAgent(UserAgentData agent); |
52 | public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); | 52 | public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); |
53 | public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); | 53 | public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); |