aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/LLLoginService')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 143ee0c..96f2621 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -82,7 +82,6 @@ namespace OpenSim.Services.LLLoginService
82 protected string m_ClassifiedFee; 82 protected string m_ClassifiedFee;
83 protected string m_DestinationGuide; 83 protected string m_DestinationGuide;
84 protected string m_AvatarPicker; 84 protected string m_AvatarPicker;
85 protected string m_NewMessage;
86 protected string m_AllowedClients; 85 protected string m_AllowedClients;
87 protected string m_DeniedClients; 86 protected string m_DeniedClients;
88 protected string m_MessageUrl; 87 protected string m_MessageUrl;
@@ -256,6 +255,7 @@ namespace OpenSim.Services.LLLoginService
256 { 255 {
257 bool success = false; 256 bool success = false;
258 UUID session = UUID.Random(); 257 UUID session = UUID.Random();
258 string processedMessage;
259 259
260 m_log.InfoFormat("[LLOGIN SERVICE]: Login request for {0} {1} at {2} using viewer {3}, channel {4}, IP {5}, Mac {6}, Id0 {7}", 260 m_log.InfoFormat("[LLOGIN SERVICE]: Login request for {0} {1} at {2} using viewer {3}, channel {4}, IP {5}, Mac {6}, Id0 {7}",
261 firstName, lastName, startLocation, clientVersion, channel, clientIP.Address.ToString(), mac, id0); 261 firstName, lastName, startLocation, clientVersion, channel, clientIP.Address.ToString(), mac, id0);
@@ -493,17 +493,18 @@ namespace OpenSim.Services.LLLoginService
493 if (m_MessageUrl != String.Empty) 493 if (m_MessageUrl != String.Empty)
494 { 494 {
495 WebClient client = new WebClient(); 495 WebClient client = new WebClient();
496 string WebMessage = client.DownloadString(m_MessageUrl); 496 processedMessage = client.DownloadString(m_MessageUrl);
497 m_NewMessage = WebMessage.Replace("\\n", "\n").Replace("<USERNAME>", firstName + " " + lastName);
498 } 497 }
499 else 498 else
500 { 499 {
501 m_NewMessage = m_WelcomeMessage.Replace("\\n", "\n").Replace("<USERNAME>", firstName + " " + lastName); 500 processedMessage = m_WelcomeMessage;
502 } 501 }
502 processedMessage = processedMessage.Replace("\\n", "\n").Replace("<USERNAME>", firstName + " " + lastName);
503
503 LLLoginResponse response 504 LLLoginResponse response
504 = new LLLoginResponse( 505 = new LLLoginResponse(
505 account, aCircuit, guinfo, destination, inventorySkel, friendsList, m_LibraryService, 506 account, aCircuit, guinfo, destination, inventorySkel, friendsList, m_LibraryService,
506 where, startLocation, position, lookAt, gestures, m_NewMessage, home, clientIP, 507 where, startLocation, position, lookAt, gestures, processedMessage, home, clientIP,
507 m_MapTileURL, m_SearchURL, m_Currency, m_DSTZone, 508 m_MapTileURL, m_SearchURL, m_Currency, m_DSTZone,
508 m_DestinationGuide, m_AvatarPicker, m_ClassifiedFee); 509 m_DestinationGuide, m_AvatarPicker, m_ClassifiedFee);
509 510