diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-06-29 09:07:13 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-06-29 09:07:13 -0400 |
commit | cebb4bef843e848531bdf3465f49bd0d995efa8e (patch) | |
tree | 28f8c7052b6958ba2daf4881f9fe24a0b1a04e47 /api/command.go | |
parent | 0792eb18d535410b456f3cc569e243efb85a47b6 (diff) | |
download | chat-cebb4bef843e848531bdf3465f49bd0d995efa8e.tar.gz chat-cebb4bef843e848531bdf3465f49bd0d995efa8e.tar.bz2 chat-cebb4bef843e848531bdf3465f49bd0d995efa8e.zip |
move default channel creation to seperate func and add off-topic
Diffstat (limited to 'api/command.go')
-rw-r--r-- | api/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command.go b/api/command.go index aedbe07cc..49bea6cc9 100644 --- a/api/command.go +++ b/api/command.go @@ -197,7 +197,7 @@ func joinCommand(c *Context, command *model.Command) bool { return false } - JoinChannel(c, v.Id, "/command") + JoinChannel(c, v.Id) if c.Err != nil { return false |