mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Suppress error messages in the log if functions are not enabled. Just return failure instead.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user