From cd124cf5ff73e99e7b6f86b7a6522c386387716a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Sun, 2 Nov 2014 19:10:45 +0100 Subject: [PATCH] Fix escaping in regex parsing buffer fullName --- js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models.js b/js/models.js index 7e49bc6..ea4324f 100644 --- a/js/models.js +++ b/js/models.js @@ -30,7 +30,7 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter) var notification = 0; var unread = 0; var lastSeen = -1; - var serverSortKey = fullName.replace(/^irc.server.(\w+)/, "irc.$1"); + var serverSortKey = fullName.replace(/^irc\.server\.(\w+)/, "irc.$1"); var type = message.local_variables.type; var indent = (['channel', 'private'].indexOf(type) >= 0);