Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
infernalfire72 authored Dec 10, 2019
2 parents c9df2e2 + eb059ca commit 8bc7b5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/v1/clan.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func ClanMembersGET(md common.MethodData) common.CodeMessager {
md.Err(err)
return Err500
}

rows, err := md.DB.Query(userFields + " WHERE users.privileges & 3 AND clan = ?", i);
if err != nil {
md.Err(err)
Expand All @@ -186,6 +187,7 @@ func ClanMembersGET(md common.MethodData) common.CodeMessager {
defer rows.Close()
for rows.Next() {
a := aMem{}

err = rows.Scan(&a.ID, &a.Username, &a.RegisteredOn, &a.Privileges, &a.LatestActivity, &a.UsernameAKA, &a.Country)
if err != nil {
md.Err(err)
Expand Down

0 comments on commit 8bc7b5e

Please sign in to comment.