Merge pull request #231 from xeoncore/bug/save
Don't save when running in public mode
This commit is contained in:
commit
6a666bfb82
@ -323,6 +323,11 @@ Client.prototype.quit = function() {
|
|||||||
var timer;
|
var timer;
|
||||||
Client.prototype.save = function(force) {
|
Client.prototype.save = function(force) {
|
||||||
var client = this;
|
var client = this;
|
||||||
|
var config = Helper.getConfig();
|
||||||
|
|
||||||
|
if(config.public) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!force) {
|
if (!force) {
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
|
Loading…
Reference in New Issue
Block a user