Store server database config in config file.

This commit is contained in:
lotodore
2010-08-28 10:50:17 +00:00
parent dfb27a0674
commit b6723e5ebf
3 changed files with 23 additions and 13 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ struct Gsasl;
class ServerLobbyThread : public Thread, public boost::enable_shared_from_this<ServerLobbyThread>
{
public:
ServerLobbyThread(GuiInterface &gui, ServerMode mode, ServerIrcBotCallback &ircBotCb, ConfigFile *playerConfig, AvatarManager &avatarManager,
ServerLobbyThread(GuiInterface &gui, ServerMode mode, ServerIrcBotCallback &ircBotCb, ConfigFile *serverConfig, AvatarManager &avatarManager,
boost::shared_ptr<boost::asio::io_service> ioService);
virtual ~ServerLobbyThread();
@@ -225,7 +225,7 @@ private:
ServerMode m_mode;
std::string m_statisticsFileName;
ConfigFile *m_playerConfig;
ConfigFile *m_serverConfig;
u_int32_t m_curGameId;
u_int32_t m_curUniquePlayerId;