move default channel creation to seperate func and add off-topic

This commit is contained in:
JoramWilander
2015-06-29 09:07:13 -04:00
parent 0792eb18d5
commit cebb4bef84
5 changed files with 29 additions and 22 deletions
+1 -1
View File
@@ -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