diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-30 20:35:51 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-30 20:35:51 +0200 |
commit | d9b28d9fb48e8634670850729d576eaa2051561c (patch) | |
tree | cc7ebb8b8b31773cb8df50ca863c2b465c14eadb /src/account-server/main-account.cpp | |
parent | ca5afebc85cbf769122105904b512942272c0ea3 (diff) | |
download | manaserv-d9b28d9fb48e8634670850729d576eaa2051561c.tar.gz manaserv-d9b28d9fb48e8634670850729d576eaa2051561c.tar.bz2 manaserv-d9b28d9fb48e8634670850729d576eaa2051561c.tar.xz manaserv-d9b28d9fb48e8634670850729d576eaa2051561c.zip |
Made the db version an official pre-requisite.
It was uneasy to not miss something when updating the db.
And as the db version is somewhat corresponding to a certain
protocol version, adding it in the protocol file sounds relevant
to me, and helps when updating it.
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r-- | src/account-server/main-account.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp index 5520fb8e..6d46ec49 100644 --- a/src/account-server/main-account.cpp +++ b/src/account-server/main-account.cpp @@ -364,8 +364,9 @@ int main(int argc, char *argv[]) LOG_INFO("The Mana Account+Chat Server (unknown version)"); #endif LOG_INFO("Manaserv Protocol version " << ManaServ::PROTOCOL_VERSION - << ", " << "Enet version " << ENET_VERSION_MAJOR << "." - << ENET_VERSION_MINOR << "." << ENET_VERSION_PATCH); + << ", Enet version " << ENET_VERSION_MAJOR << "." + << ENET_VERSION_MINOR << "." << ENET_VERSION_PATCH + << ", Database version " << ManaServ::SUPPORTED_DB_VERSION); if (!options.verbosityChanged) options.verbosity = static_cast<Logger::Level>( |