diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-15 12:42:13 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-15 12:42:13 +0000 |
commit | 753119c4a16f6dafacbeb3d98fe72133badca949 (patch) | |
tree | ac57504794ae2ff44a98207c77ef087d9a2a4c38 /modules/protocol/plexus.cpp | |
parent | d996c3aa8fccb032332aa8e2ea12d07127cae969 (diff) |
Use consistent casing when referring to vhosts and vidents.
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r-- | modules/protocol/plexus.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 77ab81d38..062c86e6b 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -83,7 +83,7 @@ public: Uplink::Send("ENCAP", u->server->GetName(), "SVSNICK", u->GetUID(), u->timestamp, newnick, when); } - 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 { if (!ident.empty()) Uplink::Send("ENCAP", '*', "CHGIDENT", u->GetUID(), ident); @@ -92,7 +92,7 @@ public: u->SetMode(Config->GetClient("HostServ"), "CLOAK"); } - void SendVhostDel(User *u) override + void SendVHostDel(User *u) override { u->RemoveMode(Config->GetClient("HostServ"), "CLOAK"); } @@ -186,7 +186,7 @@ public: void SendSVSLogin(const Anope::string &uid, NickAlias *na) override { Server *s = Server::Find(uid.substr(0, 3)); - Uplink::Send("ENCAP", s ? s->GetName() : uid.substr(0, 3), "SVSLOGIN", uid, '*', '*', na->GetVhostHost().empty() ? "*" : na->GetVhostHost(), na->nc->display); + Uplink::Send("ENCAP", s ? s->GetName() : uid.substr(0, 3), "SVSLOGIN", uid, '*', '*', na->GetVHostHost().empty() ? "*" : na->GetVHostHost(), na->nc->display); } void SendSVSNOOP(const Server *server, bool set) override |