Fucking typos
This commit is contained in:
parent
e4d27f8d6b
commit
76c653b47e
|
@ -19,5 +19,5 @@ func (t Token) OnlyUserPublic(userManagerSeesEverything bool) string {
|
||||||
return "1"
|
return "1"
|
||||||
}
|
}
|
||||||
// It's safe to use sprintf directly even if it's a query, because UserID is an int.
|
// 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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user