mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 14:30:57 +00:00
Don't save when running in public mode
This commit is contained in:
parent
40f8a4ddc4
commit
3998998871
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue