mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16: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);
|
||||
|
||||
if (!results.Success() || !results.RowCount()) {
|
||||
if (!results.Success()) {
|
||||
LogError("MySQL Error while trying to load zone flags for [{}]: [{}]", GetName(), results.ErrorMessage().c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
if (!results.RowCount()) {
|
||||
return;
|
||||
}
|
||||
|
||||
zone_flags.clear();
|
||||
|
||||
for (auto row : results) {
|
||||
@ -1130,8 +1134,7 @@ void Client::LoadPEQZoneFlags() {
|
||||
CharacterID()
|
||||
)
|
||||
);
|
||||
if (l.empty() || !l[0].id){
|
||||
LogError("MySQL Error while trying to load PEQZone flags for [{}].", GetName());
|
||||
if (l.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user