From cee6dc270b22d8cd8458f199c87d58f40b433ca5 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Fri, 2 Oct 2015 09:12:09 -0700 Subject: [PATCH] Fixing issues --- web/web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/web.go b/web/web.go index 31101fa89a..8952f36a30 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 }