diff options
| author | 2007-08-15 21:43:22 +0000 | |
|---|---|---|
| committer | 2007-08-15 21:43:22 +0000 | |
| commit | 34b2a66c7283ca1b7210c98611af992ecd207b88 (patch) | |
| tree | cf4f32ad456937850521fac2f1c4f1e9b2a98c70 /src/modules/m_spanningtree/main.cpp | |
| parent | Block 7715-7716 (diff) | |
Remove a whole load of #ifdef as we can now use gettimeofday.
If we add a wrapper for getrusage, then we can remove a ton more
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7726 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index ed54be0fb..685c156da 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -174,12 +174,7 @@ std::string ModuleSpanningTree::TimeToStr(time_t secs) const std::string ModuleSpanningTree::MapOperInfo(TreeServer* Current) { time_t secs_up = ServerInstance->Time() - Current->age; - -#ifndef WIN32 return (" [Up: " + TimeToStr(secs_up) + " Lag: "+ConvToStr(Current->rtt)+"ms]"); -#else - return (" [Up: " + TimeToStr(secs_up) + " Lag: "+ConvToStr(Current->rtt)+"s]"); -#endif } // WARNING: NOT THREAD SAFE - DONT GET ANY SMART IDEAS. |
