From 76c653b47ea9f4af94077ba05c2a176893510cba Mon Sep 17 00:00:00 2001 From: Howl Date: Sat, 27 Aug 2016 12:52:17 +0200 Subject: [PATCH] Fucking typos --- common/token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/token.go b/common/token.go index d5809c5..4d313a7 100644 --- a/common/token.go +++ b/common/token.go @@ -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) }