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_off.cpp | |
| parent | d996c3aa8fccb032332aa8e2ea12d07127cae969 (diff) | |
Use consistent casing when referring to vhosts and vidents.
Diffstat (limited to 'modules/hostserv/hs_off.cpp')
| -rw-r--r-- | modules/hostserv/hs_off.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/hostserv/hs_off.cpp b/modules/hostserv/hs_off.cpp index 8e4036726..8689ff919 100644 --- a/modules/hostserv/hs_off.cpp +++ b/modules/hostserv/hs_off.cpp @@ -26,15 +26,15 @@ public: User *u = source.GetUser(); const NickAlias *na = NickAlias::Find(u->nick); - if (!na || na->nc != u->Account() || !na->HasVhost()) + if (!na || na->nc != u->Account() || !na->HasVHost()) na = NickAlias::Find(u->Account()->display); - if (!na || !na->HasVhost()) + if (!na || !na->HasVHost()) source.Reply(HOST_NOT_ASSIGNED); else { u->vhost.clear(); - IRCD->SendVhostDel(u); + IRCD->SendVHostDel(u); u->UpdateHost(); Log(LOG_COMMAND, source, this) << "to disable their vhost"; source.Reply(_("Your vhost was removed and the normal cloaking restored.")); |
