Updates from BitShares FC #22
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ static int cli_completion(char *token, char ***array)
|
||||||
*/
|
*/
|
||||||
static int cli_check_secret(const char *source)
|
static int cli_check_secret(const char *source)
|
||||||
{
|
{
|
||||||
if (nullptr != cli_regex_secret().expression() && boost::regex_match(source, cli_regex_secret()))
|
if (!cli_regex_secret().empty() && boost::regex_match(source, cli_regex_secret()))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue