Update base repositories to use int as a base to avoid atoi overflow

This commit is contained in:
Akkadius
2020-04-19 04:49:28 -05:00
parent 373fb3f0e7
commit 6409e02aed
97 changed files with 540 additions and 540 deletions
@@ -36,16 +36,16 @@ class BaseGuildRanksRepository {
public:
struct GuildRanks {
int guild_id;
int8 rank;
int rank;
std::string title;
int8 can_hear;
int8 can_speak;
int8 can_invite;
int8 can_remove;
int8 can_promote;
int8 can_demote;
int8 can_motd;
int8 can_warpeace;
int can_hear;
int can_speak;
int can_invite;
int can_remove;
int can_promote;
int can_demote;
int can_motd;
int can_warpeace;
};
static std::string PrimaryKey()