summaryrefslogtreecommitdiff
path: root/src/account-server
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-12-14 00:40:25 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-12-14 00:40:25 +0100
commit168bec524f03c3a4e094aea8fb28ed60c12b1a56 (patch)
tree40d078c2cbe64c9b33e927cffa493ad2daaa68bc /src/account-server
parent3b5df00fa70c4ad4baae8eda88320960dc8efd4c (diff)
downloadmanaserv-168bec524f03c3a4e094aea8fb28ed60c12b1a56.tar.gz
manaserv-168bec524f03c3a4e094aea8fb28ed60c12b1a56.tar.bz2
manaserv-168bec524f03c3a4e094aea8fb28ed60c12b1a56.tar.xz
manaserv-168bec524f03c3a4e094aea8fb28ed60c12b1a56.zip
Removed the code preventing from being able to sync items with id < 500.
Instead, let's use the actual rule: Id > 0. Trivial fix.
Diffstat (limited to 'src/account-server')
-rw-r--r--src/account-server/storage.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/account-server/storage.cpp b/src/account-server/storage.cpp
index 1869a166..27a72f22 100644
--- a/src/account-server/storage.cpp
+++ b/src/account-server/storage.cpp
@@ -1760,10 +1760,7 @@ void Storage::syncDatabase()
{
int id = XML::getProperty(node, "id", 0);
- // This is here to """help""" us get away from *Athena items.
- // This is nonsense since the config is incompatible anyway.
- // TODO: Change this line in a specific commit to: if (id < 1)
- if (id < 500)
+ if (id < 1)
continue;
int weight = XML::getProperty(node, "weight", 0);