]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/compat.cpp
m_spanningtree Try FindServerID() first if the prefix looks like a sid in TreeSocket...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / compat.cpp
index c2ee940fccb6e2e18fb73d5ba08defa4632cfa5e..ab5ee269e98867d0fd318ed7942de74328de9998 100644 (file)
@@ -473,7 +473,7 @@ bool TreeSocket::PreProcessOldProtocolMessage(User*& who, std::string& cmd, std:
                // If the source of this SERVER message is not bursting, then new servers it introduces are bursting
                TreeServer* server = TreeServer::Get(who);
                if (!server->IsBursting())
-                       params.insert(params.begin()+2, "burst=" + ConvToStr(ServerInstance->Time()*1000));
+                       params.insert(params.begin()+2, "burst=" + ConvToStr(((uint64_t)ServerInstance->Time())*1000));
        }
        else if (cmd == "BURST")
        {