options -> client, since client was only option ;)

This commit is contained in:
Bryan Ashby 2018-01-26 21:43:08 -07:00
parent dc1ff587a3
commit 303259841f
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ exports.getModule = class MessageListModule extends MessageAreaConfTempSwitcher(
return callback(0 === self.messageList.length ? new Error('No messages in area') : null); 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) { if(!msgList || 0 === msgList.length) {
return callback(new Error('No messages in area')); return callback(new Error('No messages in area'));
} }