Remove Duplicative MySQL Error: Error adding friend/ignore, query was %s : %s

This commit is contained in:
Akkadius 2015-01-19 05:26:02 -06:00
parent beeba6c8be
commit 6f48d84b82

View File

@ -546,7 +546,6 @@ void Database::AddFriendOrIgnore(int charID, int type, std::string name) {
charID, type, CapitaliseName(name).c_str());
auto results = QueryDatabase(query);
if(!results.Success())
Log.Out(Logs::Detail, Logs::UCS_Server, "Error adding friend/ignore, query was %s : %s", query.c_str(), results.ErrorMessage().c_str());
else
Log.Out(Logs::Detail, Logs::UCS_Server, "Wrote Friend/Ignore entry for charid %i, type %i, name %s to database.", charID, type, name.c_str());