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,