Suppress error messages in the log if functions are not enabled. Just return failure instead.

melanie
Melanie Thielker 2017-01-03 14:05:37 +00:00
parent 65dfb62b74
commit 504a69906b
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ namespace OpenSim.Server.Handlers.UserAccounts
if (m_AllowCreateUser)
return CreateUser(request);
else
break;
return FailureResult();
case "getaccount":
return GetAccount(request);
case "getaccounts":
@ -109,7 +109,7 @@ namespace OpenSim.Server.Handlers.UserAccounts
if (m_AllowSetAccount)
return StoreAccount(request);
else
break;
return FailureResult();
}
m_log.DebugFormat("[USER SERVICE HANDLER]: unknown method request: {0}", method);