summaryrefslogtreecommitdiff
path: root/modules/protocol/solanum.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-15 12:42:13 +0000
committerSadie Powell <sadie@witchery.services>2024-03-15 12:42:13 +0000
commit753119c4a16f6dafacbeb3d98fe72133badca949 (patch)
treeac57504794ae2ff44a98207c77ef087d9a2a4c38 /modules/protocol/solanum.cpp
parentd996c3aa8fccb032332aa8e2ea12d07127cae969 (diff)
Use consistent casing when referring to vhosts and vidents.
Diffstat (limited to 'modules/protocol/solanum.cpp')
-rw-r--r--modules/protocol/solanum.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/protocol/solanum.cpp b/modules/protocol/solanum.cpp
index d0ce08d79..3b2e22f85 100644
--- a/modules/protocol/solanum.cpp
+++ b/modules/protocol/solanum.cpp
@@ -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");
}
};