Don't save when running in public mode

This commit is contained in:
XeonCore 2014-10-12 16:15:03 +11:00
parent 40f8a4ddc4
commit 3998998871
1 changed files with 5 additions and 0 deletions

View File

@ -323,6 +323,11 @@ Client.prototype.quit = function() {
var timer;
Client.prototype.save = function(force) {
var client = this;
var config = Helper.getConfig();
if(config.public) {
return;
}
if (!force) {
clearTimeout(timer);