diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-02 09:12:09 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-02 09:12:09 -0700 |
commit | cee6dc270b22d8cd8458f199c87d58f40b433ca5 (patch) | |
tree | 5b4529a36332a5cad5c5dcb43cd62fc266285ff3 | |
parent | 90635ad216f7658990dbd61eb209ecc65a9f28e0 (diff) | |
download | chat-cee6dc270b22d8cd8458f199c87d58f40b433ca5.tar.gz chat-cee6dc270b22d8cd8458f199c87d58f40b433ca5.tar.bz2 chat-cee6dc270b22d8cd8458f199c87d58f40b433ca5.zip |
Fixing issues
-rw-r--r-- | web/web.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/web.go b/web/web.go index 31101fa89..8952f36a3 100644 --- a/web/web.go +++ b/web/web.go @@ -340,8 +340,8 @@ func getChannel(c *api.Context, w http.ResponseWriter, r *http.Request) { } if team.Name != teamName { - l4g.Error("It appears you are log into " + team.Name + ", but are trying to access " + teamName) - http.Redirect(w, r, c.GetSiteURL()+"/"+team.Name+"/channels/town-square", http.StatusFound) + l4g.Error("It appears you are logged into " + team.Name + ", but are trying to access " + teamName) + http.Redirect(w, r, c.GetTeamURL()+"/channels/town-square", http.StatusFound) return } |