From 2021ef7fb7972b11d66a916f6e09445d216db598 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Fri, 5 Apr 2013 17:59:17 +0200 Subject: [PATCH] bugfix: contact logout --- lib/ns_client.js | 2 +- lib/txt_socket.js | 3 +-- manifest.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/ns_client.js b/lib/ns_client.js index 48b8d0a..acda182 100644 --- a/lib/ns_client.js +++ b/lib/ns_client.js @@ -67,7 +67,7 @@ var NsClient = function() { })(this); this.action.login_out = function(client, str) { - var status = null, mch = /user_cmd (\d+):user:.*?:(.*?)@(.*?):.*?:(.*?):(.*?) \| (login|logout)/.exec(str); + var status = 'offline', mch = /user_cmd (\d+):user:.*?:(.*?)@(.*?):.*?:(.*?):(.*?) \| (login|logout)/.exec(str); if (mch === null) { return false; diff --git a/lib/txt_socket.js b/lib/txt_socket.js index fff4abe..0bea6b4 100644 --- a/lib/txt_socket.js +++ b/lib/txt_socket.js @@ -1,5 +1,4 @@ -0000263103 -0// +// // Copyright (c) 2013 Rodolphe Breard // // Permission to use, copy, modify, and/or distribute this software for any diff --git a/manifest.json b/manifest.json index ec2be90..8f39b91 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Chromesoul", - "version": "0.5.2", + "version": "0.5.3", "minimum_chrome_version": "25", "manifest_version": 2, "offline_enabled": false,