mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-27 07:12:24 +00:00
SetAgreementFlag converted to StringFormat
This commit is contained in:
parent
c1b69594e5
commit
3cf9c71c27
@ -1824,10 +1824,8 @@ uint8 Database::GetAgreementFlag(uint32 acctid)
|
|||||||
|
|
||||||
void Database::SetAgreementFlag(uint32 acctid)
|
void Database::SetAgreementFlag(uint32 acctid)
|
||||||
{
|
{
|
||||||
char *query = nullptr;
|
std::string query = StringFormat("UPDATE account SET rulesflag=1 where id=%i", acctid);
|
||||||
|
QueryDatabase(query);
|
||||||
QueryDatabase(query, MakeAnyLenString(&query, "UPDATE account SET rulesflag=1 where id=%i", acctid));
|
|
||||||
safe_delete_array(query);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Database::ClearRaid(uint32 rid) {
|
void Database::ClearRaid(uint32 rid) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user