[sql/updates/2008_10_22_02_mangos_mangos_string.sql] Allow use in console .event/.reload/.lookup/.list (some)/.guild (some) subcommands.

This commit is contained in:
VladimirMangos 2008-10-23 03:07:22 +04:00
parent 4e889c1b41
commit b10349a737
10 changed files with 484 additions and 364 deletions

View file

@ -370,13 +370,12 @@ bool PlayerDumpReader::LoadDump(std::string file, uint32 account, std::string na
delete result;
if (charcount >= 10)
{
return false;
}
}
}
FILE *fin = fopen(file.c_str(), "r");
if(!fin) return false;
if(!fin)
return false;
QueryResult * result = NULL;
char newguid[20], chraccount[20], newpetid[20], currpetid[20], lastpetid[20];