1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 05:13:13 +02:00

Use consistent casing when referring to vhosts and vidents.

This commit is contained in:
Sadie Powell
2024-03-15 12:42:13 +00:00
parent d996c3aa8f
commit 753119c4a1
27 changed files with 225 additions and 277 deletions
+5 -5
View File
@@ -141,14 +141,14 @@ public:
Uplink::Send("ENCAP", '*', "NICKDELAY", 0, nick);
}
void SendVhost(User *u, const Anope::string &ident, const Anope::string &host) override
void SendVHost(User *u, const Anope::string &ident, const Anope::string &host) override
{
Uplink::Send("ENCAP", '*', "CHGHOST", u->GetUID(), host);
}
void SendVhostDel(User *u) override
void SendVHostDel(User *u) override
{
this->SendVhost(u, "", u->host);
this->SendVHost(u, "", u->host);
}
void SendSASLMessage(const SASL::Message &message) override
@@ -166,8 +166,8 @@ public:
Server *s = Server::Find(uid.substr(0, 3));
Uplink::Send("ENCAP", s ? s->GetName() : uid.substr(0, 3), "SVSLOGIN", uid, '*',
na && !na->GetVhostIdent().empty() ? na->GetVhostIdent() : '*',
na && !na->GetVhostHost().empty() ? na->GetVhostHost() : '*',
na && !na->GetVHostIdent().empty() ? na->GetVHostIdent() : '*',
na && !na->GetVHostHost().empty() ? na->GetVHostHost() : '*',
na ? na->nc->display : "0");
}
};