announce when new users are submitted
This commit is contained in:
parent
34d2bbe207
commit
ba941a3029
|
@ -101,6 +101,9 @@ routes:
|
|||
|
||||
db.updateTweetsByUser(username, url)
|
||||
db.exec(sql"insert into users values (null, ?, ?)", username, url)
|
||||
db.exec(sql"insert into tweets values (null, 'twtxtlist', ?, ?)",
|
||||
$(getTime().getGMTime().timeinfoToTime().toSeconds()),
|
||||
"Added user " & username & " " & url)
|
||||
|
||||
redirect "/users/" & username & "/0"
|
||||
except: fail()
|
||||
|
|
Loading…
Reference in New Issue