summaryrefslogtreecommitdiff
path: root/modules/protocol/ngircd.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/ngircd.cpp
parentd996c3aa8fccb032332aa8e2ea12d07127cae969 (diff)
Use consistent casing when referring to vhosts and vidents.
Diffstat (limited to 'modules/protocol/ngircd.cpp')
-rw-r--r--modules/protocol/ngircd.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
index fc56d1055..a6ed1c377 100644
--- a/modules/protocol/ngircd.cpp
+++ b/modules/protocol/ngircd.cpp
@@ -125,10 +125,10 @@ public:
Uplink::Send("SERVER", server->GetName(), server->GetHops(), server->GetDescription());
}
- void SendVhost(User *u, const Anope::string &vIdent, const Anope::string &vhost) override
+ void SendVHost(User *u, const Anope::string &vident, const Anope::string &vhost) override
{
- if (!vIdent.empty())
- Uplink::Send("METADATA", u->nick, "user", vIdent);
+ if (!vident.empty())
+ Uplink::Send("METADATA", u->nick, "user", vident);
Uplink::Send("METADATA", u->nick, "cloakhost", vhost);
if (!u->HasMode("CLOAK"))
@@ -138,9 +138,9 @@ public:
}
}
- void SendVhostDel(User *u) override
+ void SendVHostDel(User *u) override
{
- this->SendVhost(u, u->GetIdent(), "");
+ this->SendVHost(u, u->GetIdent(), "");
}
bool Format(Anope::string &message, const Anope::map<Anope::string> &tags, const MessageSource &source, const Anope::string &command, const std::vector<Anope::string> &params) override