This commit is contained in:
cdle
2023-06-03 20:05:55 +08:00
parent bdc884fbe4
commit 2099b1af7a
3 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -378,7 +378,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 {
if function.UUID != "" && len(function.Rules) == 0 && !function.OnStart && !function.Module && function.Http == nil && function.Reply == nil {
scripts[function.UUID] = function.Title + ".js"
}
}