From e0ddd5e6a6c7ba5676db98fa3b1d2f5cc23bbf15 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Sun, 17 Feb 2019 13:28:20 +0330 Subject: [PATCH] Adds Server command for lua scripts. --- internal/server/scripts.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/server/scripts.go b/internal/server/scripts.go index c37708ec..42735db5 100644 --- a/internal/server/scripts.go +++ b/internal/server/scripts.go @@ -622,6 +622,8 @@ func (c *Server) commandInScript(msg *Message) ( res, err = c.cmdKeys(msg) case "test": res, err = c.cmdTest(msg) + case "server": + res, err = c.cmdServer(msg) } return }