diff options
author | Melanie Thielker | 2017-01-03 14:05:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-03 14:05:37 +0000 |
commit | 504a69906b1ced5691128174fcebabc6d433294a (patch) | |
tree | ca3816b1c6391d5483121f889da18c58cf559364 /OpenSim | |
parent | Merge branch 'master' of opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-504a69906b1ced5691128174fcebabc6d433294a.zip opensim-SC-504a69906b1ced5691128174fcebabc6d433294a.tar.gz opensim-SC-504a69906b1ced5691128174fcebabc6d433294a.tar.bz2 opensim-SC-504a69906b1ced5691128174fcebabc6d433294a.tar.xz |
Suppress error messages in the log if functions are not enabled. Just return failure instead.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs index b22c4cc..a02255f 100644 --- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs +++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | |||
@@ -98,7 +98,7 @@ namespace OpenSim.Server.Handlers.UserAccounts | |||
98 | if (m_AllowCreateUser) | 98 | if (m_AllowCreateUser) |
99 | return CreateUser(request); | 99 | return CreateUser(request); |
100 | else | 100 | else |
101 | break; | 101 | return FailureResult(); |
102 | case "getaccount": | 102 | case "getaccount": |
103 | return GetAccount(request); | 103 | return GetAccount(request); |
104 | case "getaccounts": | 104 | case "getaccounts": |
@@ -109,7 +109,7 @@ namespace OpenSim.Server.Handlers.UserAccounts | |||
109 | if (m_AllowSetAccount) | 109 | if (m_AllowSetAccount) |
110 | return StoreAccount(request); | 110 | return StoreAccount(request); |
111 | else | 111 | else |
112 | break; | 112 | return FailureResult(); |
113 | } | 113 | } |
114 | 114 | ||
115 | m_log.DebugFormat("[USER SERVICE HANDLER]: unknown method request: {0}", method); | 115 | m_log.DebugFormat("[USER SERVICE HANDLER]: unknown method request: {0}", method); |