diff options
author | BlueWall | 2013-06-13 09:18:27 -0400 |
---|---|---|
committer | BlueWall | 2013-06-13 09:18:27 -0400 |
commit | b2c8d5eec7cc5c6b4685d22921a6e684ce7714b1 (patch) | |
tree | a187ce4022030ff0efe82b622e4dca1e535fd49b /OpenSim/Services/LLLoginService/LLLoginService.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-b2c8d5eec7cc5c6b4685d22921a6e684ce7714b1.zip opensim-SC_OLD-b2c8d5eec7cc5c6b4685d22921a6e684ce7714b1.tar.gz opensim-SC_OLD-b2c8d5eec7cc5c6b4685d22921a6e684ce7714b1.tar.bz2 opensim-SC_OLD-b2c8d5eec7cc5c6b4685d22921a6e684ce7714b1.tar.xz |
Add Option: ClassifiedFee
Add option to set minimum fee for publishing classifieds. Many viewers have a
hard coded minimum of 50, which makes publishing classifieds fail where grids
have no economy. This allows the grid to set the minimum fee to a suitable
value for their operation.
The option is located in the [LoginService] section and defaults to 0. The
value is sent as "classified_fee" in the login response.
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index abda98f..10cf90f 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -78,6 +78,7 @@ namespace OpenSim.Services.LLLoginService | |||
78 | protected string m_OpenIDURL; | 78 | protected string m_OpenIDURL; |
79 | protected string m_SearchURL; | 79 | protected string m_SearchURL; |
80 | protected string m_Currency; | 80 | protected string m_Currency; |
81 | protected string m_ClassifiedFee; | ||
81 | protected string m_DestinationGuide; | 82 | protected string m_DestinationGuide; |
82 | protected string m_AvatarPicker; | 83 | protected string m_AvatarPicker; |
83 | 84 | ||
@@ -119,6 +120,7 @@ namespace OpenSim.Services.LLLoginService | |||
119 | m_OpenIDURL = m_LoginServerConfig.GetString("OpenIDServerURL", String.Empty); | 120 | m_OpenIDURL = m_LoginServerConfig.GetString("OpenIDServerURL", String.Empty); |
120 | m_SearchURL = m_LoginServerConfig.GetString("SearchURL", string.Empty); | 121 | m_SearchURL = m_LoginServerConfig.GetString("SearchURL", string.Empty); |
121 | m_Currency = m_LoginServerConfig.GetString("Currency", string.Empty); | 122 | m_Currency = m_LoginServerConfig.GetString("Currency", string.Empty); |
123 | m_ClassifiedFee = m_LoginServerConfig.GetString("ClassifiedFee", string.Empty); | ||
122 | m_DestinationGuide = m_LoginServerConfig.GetString ("DestinationGuide", string.Empty); | 124 | m_DestinationGuide = m_LoginServerConfig.GetString ("DestinationGuide", string.Empty); |
123 | m_AvatarPicker = m_LoginServerConfig.GetString ("AvatarPicker", string.Empty); | 125 | m_AvatarPicker = m_LoginServerConfig.GetString ("AvatarPicker", string.Empty); |
124 | 126 | ||
@@ -458,7 +460,7 @@ namespace OpenSim.Services.LLLoginService | |||
458 | account, aCircuit, guinfo, destination, inventorySkel, friendsList, m_LibraryService, | 460 | account, aCircuit, guinfo, destination, inventorySkel, friendsList, m_LibraryService, |
459 | where, startLocation, position, lookAt, gestures, m_WelcomeMessage, home, clientIP, | 461 | where, startLocation, position, lookAt, gestures, m_WelcomeMessage, home, clientIP, |
460 | m_MapTileURL, m_ProfileURL, m_OpenIDURL, m_SearchURL, m_Currency, m_DSTZone, | 462 | m_MapTileURL, m_ProfileURL, m_OpenIDURL, m_SearchURL, m_Currency, m_DSTZone, |
461 | m_DestinationGuide, m_AvatarPicker); | 463 | m_DestinationGuide, m_AvatarPicker, m_ClassifiedFee); |
462 | 464 | ||
463 | m_log.DebugFormat("[LLOGIN SERVICE]: All clear. Sending login response to {0} {1}", firstName, lastName); | 465 | m_log.DebugFormat("[LLOGIN SERVICE]: All clear. Sending login response to {0} {1}", firstName, lastName); |
464 | 466 | ||