the avatar regexp should match the meme one. keep together.
This commit is contained in:
parent
12f7cf6ec3
commit
02433181f4
1
fun.go
1
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 {
|
||||
|
|
2
web.go
2
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)
|
||||
|
|
Loading…
Reference in New Issue