X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spanningtree.cpp;h=7e7e91382e44cad7cc3e2c6d0e31bf60e65cbf8c;hb=8144a16f89b75f527e4d860e7176c9c1a8b14eca;hp=fc5d824dec6272cf80f28e47dd41edb6d69566ae;hpb=990c308a959a376335e91014bcaeb0081693947b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index fc5d824de..7e7e91382 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -728,7 +728,7 @@ class TreeSocket : public InspSocket { if (x->Name == this->myhost) { - this->Instance->SNO->WriteToSnoMask('l',"Connection to \2"+myhost+"\2["+(x->HiddenFromStats ? "" : this->GetIP())+"] established."); + this->Instance->SNO->WriteToSnoMask('l',"Connection to \2"+myhost+"\2["+(x->HiddenFromStats ? "" : this->GetIP())+"] started."); this->SendCapabilities(); if (x->EncryptionKey != "") { @@ -1553,7 +1553,7 @@ class TreeSocket : public InspSocket * Note that this causes the losing server to send out confirming * FMODE lines. */ - if ((ourTS > TS) || (this->Instance->ULine(who->server))) + if ((ourTS > TS) || (this->Instance->ULine(source.c_str()))) { Instance->Log(DEBUG,"FJOIN detected, our TS=%lu, their TS=%lu",ourTS,TS); std::deque param_list; @@ -4504,7 +4504,7 @@ class ModuleSpanningTree : public Module params.clear(); params.push_back(channel->name); params.push_back(ConvToStr(channel->age)); - params.push_back(c->GetAllPrefixChars(i->second)+","+std::string(user->nick)); + params.push_back(std::string(channel->GetAllPrefixChars(user))+","+std::string(user->nick)); DoOneToMany(ServerInstance->Config->ServerName,"FJOIN",params); } }