summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 92c8c63a..b7dca379 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -761,8 +761,7 @@ int Client::exec()
// Load XML databases
CharDB::load();
- if (itemDb)
- delete itemDb;
+ delete itemDb;
switch (Net::getNetworkType())
{