From 792c2931b0f2a120dabba0130082cf6c82e361ad Mon Sep 17 00:00:00 2001
From: Araxeus <oaeben@gmail.com>
Date: Sun, 9 May 2021 22:10:20 +0300
Subject: [PATCH] fix config overwrite on each start

---
 plugins/last-fm/back.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/last-fm/back.js b/plugins/last-fm/back.js
index aa0aafcae3..5497510328 100644
--- a/plugins/last-fm/back.js
+++ b/plugins/last-fm/back.js
@@ -131,7 +131,7 @@ let scrobbleTimer = undefined;
 const lastfm = async (win, config) => {
 	const registerCallback = getSongInfo(win);
 
-	if (!config.api_root || !config.suffixesToRemove) {
+	if (!config.api_root) {
 		// settings are not present, creating them with the default values
 		config = defaultConfig.plugins['last-fm'];
 		config.enabled = true;