Fix ccode return
This commit is contained in:
@@ -329,7 +329,7 @@ function clientRunCodeFail(client, returnTo, code) {
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
function clientRunCodeSuccess(client, returnTo, returnVal, code) {
|
function clientRunCodeSuccess(client, returnTo, returnVal, code) {
|
||||||
let returnClient = getClients()[returnTo];
|
let returnClient = getClientFromIndex(returnTo);
|
||||||
if(!returnClient) {
|
if(!returnClient) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user