From fef57efd463a329199831a7bd8976325e255b2d6 Mon Sep 17 00:00:00 2001 From: muxator Date: Wed, 29 Aug 2018 02:10:45 +0200 Subject: [PATCH] db/API.js: early return, no functional changes --- src/node/db/API.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } ); }