Skip to content

Commit a2c0905

Browse files
author
topboy
committed
patch interleaving batches
1 parent 3a8ae30 commit a2c0905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = class IrcCommandHandler extends EventEmitter {
3838

3939
// Batched commands will be collected and executed as a transaction
4040
const batch_id = irc_command.getTag('batch');
41-
if (batch_id) {
41+
if (batch_id && !(irc_command.command === 'BATCH' && irc_command.params[0].charAt(0) === '+')) {
4242
const cache_key = 'batch.' + batch_id;
4343
if (this.hasCache(cache_key)) {
4444
const cache = this.cache(cache_key);

0 commit comments

Comments
 (0)