Move server configuration to dedicated server only. Separate error logging for client and server, in preparation of creating a log file on the dedicated server.

This commit is contained in:
lotodore
2007-11-22 00:57:03 +00:00
parent e28220a8ad
commit c5bae66142
10 changed files with 230 additions and 41 deletions
-2
View File
@@ -56,9 +56,7 @@ bool Session::init()
{
myAvatarManager.reset(new AvatarManager);
bool retVal = myAvatarManager->Init(myConfig->readConfigString("AppDataDir"), myConfig->readConfigString("CacheDir"));
#ifndef POKERTH_DEDICATED_SERVER
myAvatarManager->AddSingleAvatar(myConfig->readConfigString("MyAvatar"));
#endif
myAvatarManager->RemoveOldAvatarCacheEntries();
return retVal;
}