diff --git a/core/msg_list.js b/core/msg_list.js index 19ef30cd..72ee20f5 100644 --- a/core/msg_list.js +++ b/core/msg_list.js @@ -159,7 +159,7 @@ exports.getModule = class MessageListModule extends MessageAreaConfTempSwitcher( return callback(0 === self.messageList.length ? new Error('No messages in area') : null); } - messageArea.getMessageListForArea( { client : self.client }, self.messageAreaTag, function msgs(err, msgList) { + messageArea.getMessageListForArea(self.client, self.messageAreaTag, function msgs(err, msgList) { if(!msgList || 0 === msgList.length) { return callback(new Error('No messages in area')); }