From d0febed388a1e17287590e7c2ea77e337bff9ac6 Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 29 Nov 2014 20:30:19 +0000 Subject: [PATCH] quit_options instead of part_options in user quit --- client/src/models/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/models/network.js b/client/src/models/network.js index 50bbb79..74b35cf 100644 --- a/client/src/models/network.js +++ b/client/src/models/network.js @@ -405,7 +405,7 @@ if (panel.isChannel()) { member = panel.get('members').getByNick(event.nick); if (member) { - _kiwi.global.events.emit('channel:leave', {channel: panel.get('name'), user: member, type: 'quit', message: part_options.message, network: this.gateway}) + _kiwi.global.events.emit('channel:leave', {channel: panel.get('name'), user: member, type: 'quit', message: quit_options.message, network: this.gateway}) .then(function() { panel.get('members').remove(member, {kiwi: quit_options}); }); -- 2.25.1