Let the server irc bot reconnect once every day.

This commit is contained in:
lotodore
2008-11-02 21:25:42 +00:00
parent eff1919831
commit 9943e34d4a
5 changed files with 55 additions and 6 deletions
+5
View File
@@ -24,6 +24,7 @@
#include <game_defs.h>
#include <gui/guiinterface.h>
#include <third_party/boost/timers.hpp>
#include <string>
#include <list>
@@ -46,6 +47,9 @@ public:
// Main start function.
void RunAll();
// Let the server manager perform processing.
void Process();
void SignalTerminationAll();
bool JoinAll(bool wait);
@@ -75,6 +79,7 @@ private:
boost::shared_ptr<ServerLobbyThread> m_lobbyThread;
boost::shared_ptr<IrcThread> m_ircThread;
boost::timers::portable::microsec_timer m_ircRestartTimer;
AcceptThreadList m_acceptThreadPool;
};