diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-19 17:43:50 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-19 17:43:50 +0000 |
commit | a17174ec0aeeffc1236d0ddbcf6a63f56205acea (patch) | |
tree | be61dc2a7ef2650f0276b0085bc14cb4b453807e /src/modules/m_spanningtree/timesynctimer.cpp | |
parent | 5e0830de3d8e99bbf391f23c359febe429d604ba (diff) |
Split this up even more, much smaller files that are easier for gcc to digest
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6395 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/timesynctimer.cpp')
-rw-r--r-- | src/modules/m_spanningtree/timesynctimer.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/timesynctimer.cpp b/src/modules/m_spanningtree/timesynctimer.cpp new file mode 100644 index 000000000..09cf638e0 --- /dev/null +++ b/src/modules/m_spanningtree/timesynctimer.cpp @@ -0,0 +1,28 @@ +#include "configreader.h" +#include "users.h" +#include "channels.h" +#include "modules.h" +#include "commands/cmd_whois.h" +#include "commands/cmd_stats.h" +#include "socket.h" +#include "inspircd.h" +#include "wildcard.h" +#include "xline.h" +#include "transport.h" + +#include "m_spanningtree/timesynctimer.h" +#include "m_spanningtree/main.h" +#include "m_spanningtree/utils.h" +#include "m_spanningtree/treeserver.h" +#include "m_spanningtree/link.h" +#include "m_spanningtree/treesocket.h" + +TimeSyncTimer::TimeSyncTimer(InspIRCd *Inst, ModuleSpanningTree *Mod) : InspTimer(43200, Inst->Time(), true), Instance(Inst), Module(Mod) +{ +} + +void TimeSyncTimer::Tick(time_t TIME) +{ + Module->BroadcastTimeSync(); +} + |