test
This commit is contained in:
parent
bfac2a94a2
commit
c9b562dcd3
@ -22,7 +22,7 @@ func clientMsgMe(userID64 int64, guildID64 int64, state string, timestamp time.T
|
|||||||
c.GuildID64 = guildID64
|
c.GuildID64 = guildID64
|
||||||
c.State = state
|
c.State = state
|
||||||
c.LastUpdate = timestamp
|
c.LastUpdate = timestamp
|
||||||
if strings.Compare(cacheObjGuild[guildID64].Name, ``) != 0 && strings.Compare(c.Role, ``) == 0 {
|
if cacheObjGuild[``] != guildID64 && strings.Compare(c.Role, ``) == 0 {
|
||||||
clientSendCWMsg(userID64, "/g_roles")
|
clientSendCWMsg(userID64, "/g_roles")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -33,7 +33,7 @@ func clientMsgMe(userID64 int64, guildID64 int64, state string, timestamp time.T
|
|||||||
LastUpdate: timestamp,
|
LastUpdate: timestamp,
|
||||||
}
|
}
|
||||||
clientsCW[userID64] = &c
|
clientsCW[userID64] = &c
|
||||||
if strings.Compare(cacheObjGuild[guildID64].Name, ``) != 0 {
|
if cacheObjGuild[``] != guildID64 {
|
||||||
clientSendCWMsg(userID64, "/g_roles")
|
clientSendCWMsg(userID64, "/g_roles")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user