From 5178b4049787fe7500b8c8c486b292cf1c4a8839 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 4 Feb 2018 23:29:31 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index ad13174e8..4fb1497c0 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -171,7 +171,7 @@ jpg(srcfile, destfile, power2=7, password, data="", required, ind=0)\n\ rel = ""; if ( (coin= jstr(argjson,"coin")) == 0 ) coin = ""; - if ( G.USERPASS[0] != 0 && strcmp(remoteaddr,"127.0.0.1") == 0 && port != 0 ) // protected localhost + if ( G.USERPASS[0] != 0 && strcmp(remoteaddr,"127.0.0.1") == 0 && port != 0 && strcmp(method,"psock") != 0 ) // protected localhost { if ( G.USERPASS_COUNTER == 0 ) {