From c76ef839aafb958172449f3ae1fd4d663da597dd Mon Sep 17 00:00:00 2001 From: shy Date: Sat, 15 Feb 2025 18:35:03 +0800 Subject: [PATCH] add some --- LICENSE | 2 +- plugin/table.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index f85b222d..5f247068 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 shylinux +Copyright (c) 2017-2025 shylinux Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/plugin/table.js b/plugin/table.js index 3c3ed36b..df2264d8 100644 --- a/plugin/table.js +++ b/plugin/table.js @@ -127,7 +127,7 @@ Volcanos(chat.ONIMPORT, { }, _item: function(can, item, cb, cbs) { item._hash = item._hash||item.sess||item.hash||item.zone||item.path||item.name - item._hash = item._hash.replaceAll(":", "_") + item._hash && (item._hash = item._hash.replaceAll(":", "_")) item._title = item._title||item.name||item.path||item.zone||item.hash item._select == undefined && can.db.hash[0] && (item._select = can.db.hash[0] == item._hash) if (typeof item._hash == code.OBJECT) { item._select = true