This commit is contained in:
Your Name 2020-06-04 16:15:32 -04:00
parent 34dbd46732
commit a39ba83c85
1 changed files with 0 additions and 1 deletions

View File

@ -181,7 +181,6 @@ func SaveUser(username string, d UserData) bool {
} }
func Bump(username string, ip string) { func Bump(username string, ip string) {
log.Printf("bump: username = %s, ip = %s", username, ip)
q := fmt.Sprintf("update %s_auth set lastseen=CURRENT_TIMESTAMP, lastseenip=$2 where username ILIKE $1", c.TablePrefix) q := fmt.Sprintf("update %s_auth set lastseen=CURRENT_TIMESTAMP, lastseenip=$2 where username ILIKE $1", c.TablePrefix)
_, err := c.db.Exec(q, username, ip) _, err := c.db.Exec(q, username, ip)
if err != nil { if err != nil {