From f4501f1a71235b90185853561c3d572938a1485c Mon Sep 17 00:00:00 2001 From: 502647092 Date: Thu, 18 Mar 2021 02:32:58 +0000 Subject: [PATCH] fix: update rule error --- mcbbs/server-bump.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcbbs/server-bump.user.js b/mcbbs/server-bump.user.js index 2dd7ba2..d7de56d 100644 --- a/mcbbs/server-bump.user.js +++ b/mcbbs/server-bump.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name 圈云盒子顶帖器 // @namespace https://circlecloud.ltd/ -// @version 0.1.3 +// @version 0.1.4 // @description 自动顶贴 // @author MiaoWoo // @match https://www.mcbbs.net/forum-server-1.html** @@ -62,8 +62,8 @@ post('alive', { type: 'servers' }) let lastPostServer = store.lastPostServer && JSON.parse(store.lastPostServer) || {} if (lastPostServer.five != servers[5].tid - && lastPostServer.ten != servers[10].tid - && lastPostServer.twenty_five != servers[25].tid + || lastPostServer.ten != servers[10].tid + || lastPostServer.twenty_five != servers[25].tid ) { await post('updateServers', servers) console.log('数据上报完成!')