aboutsummaryrefslogtreecommitdiff
path: root/src/trinityrealm/Main.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-12-29 19:20:14 +0100
committerXTZGZoReX <none@none>2009-12-29 19:20:14 +0100
commitd847e1db2ab921e3bd5fad75a5f0c2805499bc30 (patch)
treef3991a322d080c5b73f9f7547ddd281f4e836deb /src/trinityrealm/Main.cpp
parent8ca7410c356ed7d30f261b43900f74245eef40fb (diff)
* Remove ConfVersion from the config files. It is considered the end-user's responsibility to check for config file changes.
--HG-- branch : trunk
Diffstat (limited to 'src/trinityrealm/Main.cpp')
-rw-r--r--src/trinityrealm/Main.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/trinityrealm/Main.cpp b/src/trinityrealm/Main.cpp
index 7e53ad15094..20892106d47 100644
--- a/src/trinityrealm/Main.cpp
+++ b/src/trinityrealm/Main.cpp
@@ -35,12 +35,6 @@
#include <openssl/opensslv.h>
#include <openssl/crypto.h>
-// Format is YYYYMMDDRR where RR is the change in the conf file
-// for that day.
-#ifndef _REALMDCONFVERSION
-# define _REALMDCONFVERSION 2009081701
-#endif
-
#ifndef _TRINITY_REALM_CONFIG
# define _TRINITY_REALM_CONFIG "TrinityRealm.conf"
#endif //_TRINITY_REALM_CONFIG
@@ -154,20 +148,6 @@ extern int main(int argc, char **argv)
sLog.outString("<Ctrl-C> to stop.\n");
sLog.outString("Using configuration file %s.", cfg_file);
- ///- Check the version of the configuration file
- uint32 confVersion = sConfig.GetIntDefault("ConfVersion", 0);
- if (confVersion < _REALMDCONFVERSION)
- {
- sLog.outError("*****************************************************************************");
- sLog.outError(" WARNING: Your trinityrealm.conf version indicates your conf file is out of date!");
- sLog.outError(" Please check for updates, as your current default values may cause");
- sLog.outError(" strange behavior.");
- sLog.outError("*****************************************************************************");
- clock_t pause = 3000 + clock();
-
- while (pause > clock()) {}
- }
-
sLog.outDetail("%s (Library: %s)", OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION));
if (SSLeay() < 0x009080bfL)
{