Fucking typos

This commit is contained in:
Howl 2016-08-27 12:52:17 +02:00
parent e4d27f8d6b
commit 76c653b47e
1 changed files with 1 additions and 1 deletions

View File

@ -19,5 +19,5 @@ func (t Token) OnlyUserPublic(userManagerSeesEverything bool) string {
return "1"
}
// It's safe to use sprintf directly even if it's a query, because UserID is an int.
return fmt.Sprintf("(user.privileges & 1 = 1 OR users.id = '%d')", t.UserID)
return fmt.Sprintf("(users.privileges & 1 = 1 OR users.id = '%d')", t.UserID)
}