diff options
author | Satoshi Nakamoto <satoshin@gmx.com> | 2010-08-28 00:55:19 +0000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2010-08-28 00:55:19 +0000 |
commit | d3631907d62f605b725b4cc433173cec15c9d082 (patch) | |
tree | f55eedca3f87db96b2211b7d3ea6f65bca042807 | |
parent | 87cfcfd3741e0cd38da671db79b199fe5bfb2949 (diff) | |
download | bitcoin-d3631907d62f605b725b4cc433173cec15c9d082.tar.xz |
change switch name to -disablesafemode
-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); |