summaryrefslogtreecommitdiffstats
path: root/app/command_echo.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/command_echo.go')
-rw-r--r--app/command_echo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_echo.go b/app/command_echo.go
index 3ab5a7873..f89aab378 100644
--- a/app/command_echo.go
+++ b/app/command_echo.go
@@ -88,7 +88,7 @@ func (me *EchoProvider) DoCommand(args *model.CommandArgs, message string) *mode
time.Sleep(time.Duration(delay) * time.Second)
- if _, err := CreatePostMissingChannel(post, true); err != nil {
+ if _, err := Global().CreatePostMissingChannel(post, true); err != nil {
l4g.Error(args.T("api.command_echo.create.app_error"), err)
}
}()