From 2ef9cfa5b81877b1023f2fcb82f5a638b1eb013c Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Wed, 25 Aug 2010 16:33:38 +0000 Subject: [PATCH] change switch name to -disablesafemode git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@144 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- rpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc.cpp b/rpc.cpp index e29a5041d..c036573c9 100644 --- a/rpc.cpp +++ b/rpc.cpp @@ -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::iterator mi = mapCallTable.find(strMethod);