bugfix: contact logout

This commit is contained in:
Rodolphe Breard 2013-04-05 17:59:17 +02:00
parent 3f019d4447
commit 2021ef7fb7
3 changed files with 3 additions and 4 deletions

View file

@ -67,7 +67,7 @@ var NsClient = function() {
})(this); })(this);
this.action.login_out = function(client, str) { 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) { if (mch === null) {
return false; return false;

View file

@ -1,5 +1,4 @@
0000263103 //
0//
// Copyright (c) 2013 Rodolphe Breard // Copyright (c) 2013 Rodolphe Breard
// //
// Permission to use, copy, modify, and/or distribute this software for any // Permission to use, copy, modify, and/or distribute this software for any

View file

@ -1,6 +1,6 @@
{ {
"name": "Chromesoul", "name": "Chromesoul",
"version": "0.5.2", "version": "0.5.3",
"minimum_chrome_version": "25", "minimum_chrome_version": "25",
"manifest_version": 2, "manifest_version": 2,
"offline_enabled": false, "offline_enabled": false,