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

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);