From b74b352e6de8874e72029836a32df7890a87c5fb Mon Sep 17 00:00:00 2001 From: GingerPlusPlus Date: Thu, 5 Apr 2018 17:58:48 +0200 Subject: [PATCH] [Bugfix] closes #67 --- handlers/middlewares/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/middlewares/index.js b/handlers/middlewares/index.js index c49c05a..729b926 100644 --- a/handlers/middlewares/index.js +++ b/handlers/middlewares/index.js @@ -29,7 +29,7 @@ composer.on('text', removeCommandsHandler); composer.on( [ 'new_chat_members', 'left_chat_member' ], deleteJoinsAfter === false - ? Composer.passThru + ? Composer.passThru() : deleteAfter(millisecond(deleteJoinsAfter)) );