summaryrefslogtreecommitdiffstats
path: root/api/command.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-06-29 09:07:13 -0400
committerJoramWilander <jwawilander@gmail.com>2015-06-29 09:07:13 -0400
commitcebb4bef843e848531bdf3465f49bd0d995efa8e (patch)
tree28f8c7052b6958ba2daf4881f9fe24a0b1a04e47 /api/command.go
parent0792eb18d535410b456f3cc569e243efb85a47b6 (diff)
downloadchat-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.go2
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