Commit e95d4b13 authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] Fix console debug message

parent 6b10a25c
......@@ -58,10 +58,11 @@ function Ws2pMessage(message) {
}
// For DEBUG only:
/*
console.log('[http] private {0}, public {1}'.format(
(that.private.useTor ? 'TOR ' : '' ) + (that.private.mode || 'false'),
(that.public.useTor ? 'TOR ' : '' ) + (that.public.mode || 'false')
), prefix);
(that.private && (that.private.useTor ? 'TOR ' : '' ) + (that.private.mode || 'false')) || 'false',
that.public && ((that.public.useTor ? 'TOR ' : '' ) + (that.public.mode || 'false')) || 'false'
), prefix);*/
}
that.pubkey=parts[3];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment