From 4797ed6eddea8a0b2adec14825e8129e38b08c98 Mon Sep 17 00:00:00 2001 From: nebadon Date: Sat, 5 Nov 2011 02:42:21 -0700 Subject: Multiple lines in welcome message use '\n' in the welcome message to start a new line. --- OpenSim/Services/LLLoginService/LLLoginService.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 6fec276..8578c59 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs @@ -126,6 +126,9 @@ namespace OpenSim.Services.LLLoginService if (accountService == string.Empty || authService == string.Empty) throw new Exception("LoginService is missing service specifications"); + // replace newlines in welcome message + m_WelcomeMessage = m_WelcomeMessage.Replace("\\n", "\n"); + Object[] args = new Object[] { config }; m_UserAccountService = ServerUtils.LoadPlugin(accountService, args); m_GridUserService = ServerUtils.LoadPlugin(gridUserService, args); -- cgit v1.1