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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user