mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Fix clang compile error
This commit is contained in:
parent
c0b546921e
commit
4a7984f04d
@ -9996,7 +9996,8 @@ void command_object(Client *c, const Seperator *sep)
|
|||||||
|
|
||||||
// Couldn't copy the object.
|
// Couldn't copy the object.
|
||||||
|
|
||||||
if (results.ErrorMessage().c_str() != '\0') {
|
// got an error message
|
||||||
|
if (!results.Success()) {
|
||||||
c->Message(0, "Database Error: %s", results.ErrorMessage().c_str());
|
c->Message(0, "Database Error: %s", results.ErrorMessage().c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user