From 476880c344920a4b51e37dd53c157a50b1297f72 Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 5 Mar 2024 17:06:45 +0800 Subject: [PATCH] opt some --- core/wiki/portal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wiki/portal.go b/core/wiki/portal.go index b8911a23..d8b42f66 100644 --- a/core/wiki/portal.go +++ b/core/wiki/portal.go @@ -74,7 +74,7 @@ func init() { ctx.RUN: {Hand: func(m *ice.Message, arg ...string) { if p := path.Join(ice.USR_PORTAL, path.Join(arg...)); (m.Option(ice.DEBUG) == ice.TRUE || !nfs.ExistsFile(m, p)) && aaa.Right(m.Spawn(), arg) { ctx.Run(m, arg...) - // m.Cmd(nfs.SAVE, p, ice.Maps{nfs.CONTENT: m.FormatMeta(), nfs.DIR_ROOT: ""}) + m.Cmd(nfs.SAVE, p, ice.Maps{nfs.CONTENT: m.FormatMeta(), nfs.DIR_ROOT: ""}) } else { m.Copy(m.Spawn([]byte(m.Cmdx(nfs.CAT, p)))) }