Remove Duplicative MySQL Error:

This commit is contained in:
Akkadius 2015-01-20 01:38:43 -06:00
parent ef312b7b48
commit c82ada6dc4
2 changed files with 0 additions and 2 deletions

View File

@ -3853,7 +3853,6 @@ void Client::KeyRingAdd(uint32 item_id)
std::string query = StringFormat("INSERT INTO keyring(char_id, item_id) VALUES(%i, %i)", character_id, item_id);
auto results = database.QueryDatabase(query);
if (!results.Success()) {
std::cerr << "Error in Doors::HandleClick query '" << query << "' " << results.ErrorMessage() << std::endl;
return;
}

View File

@ -10130,7 +10130,6 @@ void command_mysql(Client *c, const Seperator *sep)
std::replace(query.begin(), query.end(), '#', '%');
auto results = database.QueryDatabase(query);
if (!results.Success()) {
c->Message(0, "Invalid query: '%s', '%s'", sep->arg[2], results.ErrorMessage().c_str());
return;
}