mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Remove Duplicative MySQL Error: Error adding character to group id: %s
This commit is contained in:
parent
f4c8eb6d88
commit
40d23ab35a
@ -3156,10 +3156,7 @@ void Database::SetGroupID(const char* name, uint32 id, uint32 charid, uint32 ism
|
|||||||
|
|
||||||
/* Add to the Group */
|
/* Add to the Group */
|
||||||
query = StringFormat("REPLACE INTO `group_id` SET `charid` = %i, `groupid` = %i, `name` = '%s', `ismerc` = '%i'", charid, id, name, ismerc);
|
query = StringFormat("REPLACE INTO `group_id` SET `charid` = %i, `groupid` = %i, `name` = '%s', `ismerc` = '%i'", charid, id, name, ismerc);
|
||||||
auto results = QueryDatabase(query);
|
QueryDatabase(query);
|
||||||
|
|
||||||
if (!results.Success())
|
|
||||||
Log.Out(Logs::General, Logs::Error, "Error adding character to group id: %s", results.ErrorMessage().c_str());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Database::ClearAllGroups(void)
|
void Database::ClearAllGroups(void)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user