Update clan.go
This commit is contained in:
parent
bd1b959836
commit
43bb674197
|
@ -109,12 +109,8 @@ func AllClanStatsGET(md common.MethodData) common.CodeMessager {
|
||||||
}
|
}
|
||||||
r.ResponseBase.Code = 200
|
r.ResponseBase.Code = 200
|
||||||
// anyone who ever looks into this, yes, i need to kill myself. ~Flame
|
// anyone who ever looks into this, yes, i need to kill myself. ~Flame
|
||||||
m, brr := strconv.ParseInt(string(md.Query("m")[19]), 10, 64)
|
m := strconv.ParseInt(string(md.Query("m")[19]), 10, 64)
|
||||||
|
|
||||||
if brr != nil {
|
|
||||||
fmt.Println(brr)
|
|
||||||
m = 0
|
|
||||||
}
|
|
||||||
n := "std"
|
n := "std"
|
||||||
if m == 1 {
|
if m == 1 {
|
||||||
n = "taiko"
|
n = "taiko"
|
||||||
|
@ -148,10 +144,6 @@ func AllClanStatsGET(md common.MethodData) common.CodeMessager {
|
||||||
WHERE clan = ? AND privileges > 2
|
WHERE clan = ? AND privileges > 2
|
||||||
`, rid)
|
`, rid)
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
members.Code = 200
|
members.Code = 200
|
||||||
|
|
||||||
if n == "std" {
|
if n == "std" {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user