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/hostserv/hs_group.cpp | |
| parent | d996c3aa8fccb032332aa8e2ea12d07127cae969 (diff) | |
Use consistent casing when referring to vhosts and vidents.
Diffstat (limited to 'modules/hostserv/hs_group.cpp')
| -rw-r--r-- | modules/hostserv/hs_group.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/hostserv/hs_group.cpp b/modules/hostserv/hs_group.cpp index d28f00f7c..a030360b3 100644 --- a/modules/hostserv/hs_group.cpp +++ b/modules/hostserv/hs_group.cpp @@ -22,7 +22,7 @@ public: if (setting) return; - if (!na || !na->HasVhost()) + if (!na || !na->HasVHost()) return; setting = true; @@ -30,8 +30,8 @@ public: { if (nick && nick != na) { - nick->SetVhost(na->GetVhostIdent(), na->GetVhostHost(), na->GetVhostCreator()); - FOREACH_MOD(OnSetVhost, (nick)); + nick->SetVHost(na->GetVHostIdent(), na->GetVHostHost(), na->GetVHostCreator()); + FOREACH_MOD(OnSetVHost, (nick)); } } setting = false; @@ -51,11 +51,11 @@ public: } NickAlias *na = NickAlias::Find(source.GetNick()); - if (na && source.GetAccount() == na->nc && na->HasVhost()) + if (na && source.GetAccount() == na->nc && na->HasVHost()) { this->Sync(na); source.Reply(_("All vhosts in the group \002%s\002 have been set to \002%s\002."), - source.nc->display.c_str(), na->GetVhostMask().c_str()); + source.nc->display.c_str(), na->GetVHostMask().c_str()); } else source.Reply(HOST_NOT_ASSIGNED); @@ -89,7 +89,7 @@ public: throw ModuleException("Your IRCd does not support vhosts"); } - void OnSetVhost(NickAlias *na) override + void OnSetVHost(NickAlias *na) override { if (!synconset) return; |
