mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
[Bug Fix] Remove unnecessary log messages. (#2642)
This commit is contained in:
parent
337dc54eb9
commit
89ba1270d9
@ -1007,11 +1007,15 @@ void Client::LoadZoneFlags() {
|
|||||||
);
|
);
|
||||||
auto results = database.QueryDatabase(query);
|
auto results = database.QueryDatabase(query);
|
||||||
|
|
||||||
if (!results.Success() || !results.RowCount()) {
|
if (!results.Success()) {
|
||||||
LogError("MySQL Error while trying to load zone flags for [{}]: [{}]", GetName(), results.ErrorMessage().c_str());
|
LogError("MySQL Error while trying to load zone flags for [{}]: [{}]", GetName(), results.ErrorMessage().c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!results.RowCount()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
zone_flags.clear();
|
zone_flags.clear();
|
||||||
|
|
||||||
for (auto row : results) {
|
for (auto row : results) {
|
||||||
@ -1130,8 +1134,7 @@ void Client::LoadPEQZoneFlags() {
|
|||||||
CharacterID()
|
CharacterID()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
if (l.empty() || !l[0].id){
|
if (l.empty()) {
|
||||||
LogError("MySQL Error while trying to load PEQZone flags for [{}].", GetName());
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user