diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-25 16:33:38 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-25 16:33:38 +0000 |
commit | 2ef9cfa5b81877b1023f2fcb82f5a638b1eb013c (patch) | |
tree | cd4bba443e68a09600125f6970788537379372d6 | |
parent | 7d7797b141dbd4ed9db1dda94684beb3395c2534 (diff) |
change switch name to -disablesafemode
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@144 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-rw-r--r-- | rpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -995,8 +995,8 @@ void ThreadRPCServer2(void* parg) // Observe safe mode
string strWarning = GetWarnings("rpc");
- if (strWarning != "" && !mapArgs.count("-overridesafety") && !setAllowInSafeMode.count(strMethod))
- throw runtime_error(strWarning);
+ if (strWarning != "" && !mapArgs.count("-disablesafemode") && !setAllowInSafeMode.count(strMethod))
+ throw runtime_error(string("Safe mode: ") + strWarning);
// Execute
map<string, rpcfn_type>::iterator mi = mapCallTable.find(strMethod);
|