mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 00:27:16 +00:00
Query fix for group_leaders table. This may resolve some crashes/bugs related to Mercs/Bots and Groups.
This commit is contained in:
1 parent
a83d536712
commit
3b2fbd337f
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -3303,7 +3303,7 @@ void Database::SetGroupLeaderName(uint32 gid, const char* name) {
|
||||
return;
|
||||
}
|
||||
|
||||
query = StringFormat("INSERT INTO group_leaders(gid, leadername, marknpc, leadershipaa, maintank, assist, puller, mentoree, mentor_percent) VALUES(%u, '%s', '', '', '', '', '', '', '0')",
|
||||
query = StringFormat("REPLACE INTO group_leaders(gid, leadername, marknpc, leadershipaa, maintank, assist, puller, mentoree, mentor_percent) VALUES(%u, '%s', '', '', '', '', '', '', '0')",
|
||||
gid, EscapeString(name).c_str());
|
||||
result = QueryDatabase(query);
|
||||
|
||||
|
||||
Reference in new issue
Block a user