mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-27 21:16:09 +02:00
Fix v3 async whilst
This commit is contained in:
parent
8fac7cb69f
commit
d728ddea4c
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ exports.MenuModule = class MenuModule extends PluginModule {
|
||||||
let opts = { cls : true }; // clear screen for first message
|
let opts = { cls : true }; // clear screen for first message
|
||||||
|
|
||||||
async.whilst(
|
async.whilst(
|
||||||
() => this.client.interruptQueue.hasItems(),
|
(callback) => callback(null, this.client.interruptQueue.hasItems()),
|
||||||
next => {
|
next => {
|
||||||
this.client.interruptQueue.displayNext(opts, err => {
|
this.client.interruptQueue.displayNext(opts, err => {
|
||||||
opts = {};
|
opts = {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue