mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
Replaced cout with correct logger->log call
- Use of cout breaks the flow of the console
This commit is contained in:
parent
d7294bda55
commit
8c6ef98b22
@ -28,7 +28,7 @@ void Database::Connect(const string& host, const string& database, const string&
|
|||||||
|
|
||||||
void Database::Destroy() {
|
void Database::Destroy() {
|
||||||
if (!con) return;
|
if (!con) return;
|
||||||
cout << "Destroying MySQL connection!" << endl;
|
Game::logger->Log("Database", "Destroying MySQL connection!\n");
|
||||||
con->close();
|
con->close();
|
||||||
delete con;
|
delete con;
|
||||||
} //Destroy
|
} //Destroy
|
||||||
|
Loading…
Reference in New Issue
Block a user