Fix clang compile error

This commit is contained in:
Michael Cook (mackal) 2014-11-30 18:32:45 -05:00
parent c0b546921e
commit 4a7984f04d

View File

@ -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;
} }