|
|
@ -142,7 +142,7 @@ dividends(coin, height, <args>)\n\ |
|
|
|
return(jprint(retjson,1)); |
|
|
|
} |
|
|
|
if ( (userpass= jstr(argjson,"userpass")) == 0 || strcmp(userpass,G.USERPASS) != 0 ) |
|
|
|
return(clonestr("{\"error\":\"authentication error\"}")); |
|
|
|
return(clonestr("{\"error\":\"authentication error you need to make sure userpass is set\"}")); |
|
|
|
jdelete(argjson,"userpass"); |
|
|
|
if ( strcmp(method,"sendmessage") == 0 ) |
|
|
|
{ |
|
|
|