diff --git a/fun.go b/fun.go index 6e54cba..8c9c77d 100644 --- a/fun.go +++ b/fun.go @@ -341,6 +341,7 @@ func herdofemus(noise string) []Emu { } var re_memes = regexp.MustCompile("meme: ?([^\n]+)") +var re_avatar = regexp.MustCompile("avatar: ?([^\n]+)") func memetize(honk *Honk) { repl := func(x string) string { diff --git a/web.go b/web.go index dcb94ae..bdefaec 100644 --- a/web.go +++ b/web.go @@ -1102,8 +1102,6 @@ func honkpage(w http.ResponseWriter, u *login.UserInfo, honks []*Honk, templinfo } } -var re_avatar = regexp.MustCompile("avatar: ?([[:alnum:]_.-]+)") - func saveuser(w http.ResponseWriter, r *http.Request) { whatabout := r.FormValue("whatabout") u := login.GetUserInfo(r)