summaryrefslogtreecommitdiffstats
path: root/api/command_away.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/command_away.go')
-rw-r--r--api/command_away.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_away.go b/api/command_away.go
index 55ce7846e..6d6540320 100644
--- a/api/command_away.go
+++ b/api/command_away.go
@@ -31,7 +31,7 @@ func (me *AwayProvider) GetCommand(c *Context) *model.Command {
}
}
-func (me *AwayProvider) DoCommand(c *Context, channelId string, message string) *model.CommandResponse {
+func (me *AwayProvider) DoCommand(c *Context, args *model.CommandArgs, message string) *model.CommandResponse {
rmsg := c.T("api.command_away.success")
if len(message) > 0 {
rmsg = message + " " + rmsg