Multiple lines in welcome message use '\n' in the welcome message to

start a new line.
remove-scene-viewer
nebadon 2011-11-05 02:42:21 -07:00
parent f0d2fcfbe9
commit 4797ed6edd
1 changed files with 3 additions and 0 deletions

View File

@ -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<IUserAccountService>(accountService, args);
m_GridUserService = ServerUtils.LoadPlugin<IGridUserService>(gridUserService, args);