mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-18 11:48:21 +00:00
Fix clang compile error
This commit is contained in:
+2
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user