mirror of
https://github.com/thelounge/thelounge.git
synced 2024-04-26 20:07:11 +02:00
Update src/plugins/irc-events/connection.js
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
This commit is contained in:
parent
d9ce50583e
commit
66e2080d5c
|
@ -44,7 +44,7 @@ module.exports = function (irc, network) {
|
|||
const commands = network.commands.map(
|
||||
(cmd) =>
|
||||
new Promise((resolve) => {
|
||||
if (cmd.toLowerCase().startsWith("/wait")) {
|
||||
if (cmd.toLowerCase().startsWith("/wait ")) {
|
||||
try {
|
||||
delay = parseInt(cmd.substring(6), 10) * 1000;
|
||||
|
||||
|
|
Loading…
Reference in a new issue