diff --git a/src/plugins/inputs/who.js b/src/plugins/inputs/who.js index 50f4f6965d..8d016d3b8b 100644 --- a/src/plugins/inputs/who.js +++ b/src/plugins/inputs/who.js @@ -59,7 +59,7 @@ exports.input = function ({irc}, chan, cmd, args) { // This has the added benefit of easily showing it in the same buffer // as the WHO command. irc.who(args[0], (event) => { - if (!event.users?.length) { + if (!event.users.length) { chan.pushMessage( this, new Msg({