Whoops, this should fix the SIGSEGV.
This commit is contained in:
parent
cc1d0f089a
commit
a4b579d75d
|
@ -202,8 +202,8 @@ func userCheck(w http.ResponseWriter, r *http.Request, user *User) (header *Head
|
|||
Hooks: GetHookTable(),
|
||||
Zone: "frontend",
|
||||
Writer: w,
|
||||
GoogSiteVerify: header.Settings["google_site_verify"].(string),
|
||||
}
|
||||
header.GoogSiteVerify = header.Settings["google_site_verify"].(string)
|
||||
|
||||
if user.IsBanned {
|
||||
header.AddNotice("account_banned")
|
||||
|
|
Loading…
Reference in New Issue