mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-11 12:30:32 +00:00
Fix for guild rank sql error when using bots (thanks N0ctrnl!)
This commit is contained in:
1 parent
f07e708f22
commit
1c0192dce3
1 file changed
+1
-1
@@ -969,7 +969,7 @@ bool BaseGuildManager::GetCharInfo(uint32 char_id, CharGuildInfo &into) {
|
||||
//load up the rank info for each guild.
|
||||
std::string query;
|
||||
#ifdef BOTS
|
||||
query = StringFormat(GuildMemberBaseQuery " WHERE c.id=%d AND c.mobtype = 'C'", char_id);
|
||||
query = StringFormat(GuildMemberBaseQuery " WHERE c.id=%d AND c.mob_type = 'C'", char_id);
|
||||
#else
|
||||
query = StringFormat(GuildMemberBaseQuery " WHERE c.id=%d", char_id);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user