diff --git a/src/node/db/API.js b/src/node/db/API.js index b47c860fe..f477b0e9c 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -1116,9 +1116,9 @@ exports.sendClientsMessage = function (padID, msg, callback) { getPadSafe(padID, true, function (err, pad) { if (ERR(err, callback)) { return; - } else { - padMessageHandler.handleCustomMessage(padID, msg, callback); } + + padMessageHandler.handleCustomMessage(padID, msg, callback); } ); }