This commit is contained in:
cdle
2023-06-16 14:18:06 +08:00
parent bd67023a35
commit 2b49c28efe
5 changed files with 33 additions and 6 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ func init() {
var scripts = map[string]string{}
functions := Functions
for _, function := range functions {
if function.UUID != "" && len(function.Rules) == 0 && !function.OnStart && !function.Module && function.Http == nil && function.Reply == nil {
if function.UUID != "" && ((len(function.Rules) == 0 && !function.OnStart && !function.Module && function.Http == nil && function.Reply == nil) || function.Carry) {
scripts[function.UUID] = function.Title + ".js"
}
}