From 4c17bdff1bb871fb31520b7b547f584c53ed854f Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 8 Dec 2017 13:55:41 -0600 Subject: Add plugin slash command support (#7941) * add plugin slash command support * remove unused string * rebase --- app/app.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/app.go') diff --git a/app/app.go b/app/app.go index fd313c9c9..959c99306 100644 --- a/app/app.go +++ b/app/app.go @@ -9,6 +9,7 @@ import ( "net/http" "runtime/debug" "strings" + "sync" "sync/atomic" l4g "github.com/alecthomas/log4go" @@ -60,6 +61,9 @@ type App struct { sessionCache *utils.Cache roles map[string]*model.Role configListenerId string + + pluginCommands []*PluginCommand + pluginCommandsLock sync.RWMutex } var appCount = 0 -- cgit v1.2.3-1-g7c22