From 81b5b7735cde99ca7e435abfba4763c2b14901e4 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Tue, 2 Oct 2012 13:00:23 +0100 Subject: [PATCH] Resolves #63: Re-order nicks in nicklist when a mode changes --- client_backbone/dev/model_application.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client_backbone/dev/model_application.js b/client_backbone/dev/model_application.js index 64ed872..c691417 100755 --- a/client_backbone/dev/model_application.js +++ b/client_backbone/dev/model_application.js @@ -441,6 +441,7 @@ kiwi.model.Application = Backbone.Model.extend(new (function () { } else if (event.modes[i].mode[0] === '-') { member.removeMode(event.modes[i].mode[1]); } + members.sort(); //channel.addMsg('', '=== ' + event.nick + ' set mode ' + event.modes[i].mode + ' ' + event.modes[i].param, 'action mode'); } } else { -- 2.25.1