mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
Ugh, fixify. msms?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9417 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
0ad10d75b9
commit
e8aa1caa96
@ -26,7 +26,7 @@
|
|||||||
const std::string ModuleSpanningTree::MapOperInfo(TreeServer* Current)
|
const std::string ModuleSpanningTree::MapOperInfo(TreeServer* Current)
|
||||||
{
|
{
|
||||||
time_t secs_up = ServerInstance->Time() - Current->age;
|
time_t secs_up = ServerInstance->Time() - Current->age;
|
||||||
return (" [Up: " + TimeToStr(secs_up) + " Lag: " + (Current->rtt == 0 ? "<1ms" : ConvToStr(Current->rtt)) + "ms]");
|
return (" [Up: " + TimeToStr(secs_up) + " Lag: " + (Current->rtt == 0 ? "<1" : ConvToStr(Current->rtt)) + "ms]");
|
||||||
}
|
}
|
||||||
|
|
||||||
// WARNING: NOT THREAD SAFE - DONT GET ANY SMART IDEAS.
|
// WARNING: NOT THREAD SAFE - DONT GET ANY SMART IDEAS.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user