Closed AlcaDesign closed 8 years ago
Actual behaviour:
When the duration is 1 second, it comes out as Boolean(true) instead of an integer.
duration
Boolean(true)
client.on('timeout', (channel, username, reason, duration => { console.log(channel, username, reason, duration); // -> #channel username true }); client.timeout(channel, username, 1);
Expected behaviour:
When the duration is 1 second, it should come out as Integer(1).
Integer(1)
client.on('timeout', (channel, username, reason, duration => { console.log(channel, username, reason, duration); // -> #channel username 1 }); client.timeout(channel, username, 1);
Server configuration
Thanks @AlcaDesign :smile:
Actual behaviour:
When the
duration
is 1 second, it comes out asBoolean(true)
instead of an integer.Expected behaviour:
When the
duration
is 1 second, it should come out asInteger(1)
.Server configuration