1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 16:36:38 +02:00

Set +x on plexus when vhosts are activated, fix desync from /hs off

This commit is contained in:
Adam
2014-03-01 21:40:47 -05:00
parent fd109048dd
commit 5de4c1fc97
+2 -4
View File
@@ -86,14 +86,12 @@ class PlexusProto : public IRCDProto
if (!ident.empty())
UplinkSocket::Message(Me) << "ENCAP * CHGIDENT " << u->GetUID() << " " << ident;
UplinkSocket::Message(Me) << "ENCAP * CHGHOST " << u->GetUID() << " " << host;
u->SetMode(Config->GetClient("HostServ"), "CLOAK");
}
void SendVhostDel(User *u) anope_override
{
if (u->HasMode("CLOAK"))
u->RemoveMode(Config->GetClient("HostServ"), "CLOAK");
else
this->SendVhost(u, u->GetIdent(), u->chost);
u->RemoveMode(Config->GetClient("HostServ"), "CLOAK");
}
void SendConnect() anope_override