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_del.cpp | |
| parent | d996c3aa8fccb032332aa8e2ea12d07127cae969 (diff) | |
Use consistent casing when referring to vhosts and vidents.
Diffstat (limited to 'modules/hostserv/hs_del.cpp')
| -rw-r--r-- | modules/hostserv/hs_del.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/hostserv/hs_del.cpp b/modules/hostserv/hs_del.cpp index eb60afc00..1c70e9c68 100644 --- a/modules/hostserv/hs_del.cpp +++ b/modules/hostserv/hs_del.cpp @@ -34,9 +34,9 @@ public: if (na) { Log(LOG_ADMIN, source, this) << "for user " << na->nick; - FOREACH_MOD(OnDeleteVhost, (na)); - na->RemoveVhost(); - source.Reply(_("Vhost for \002%s\002 removed."), nick.c_str()); + FOREACH_MOD(OnDeleteVHost, (na)); + na->RemoveVHost(); + source.Reply(_("VHost for \002%s\002 removed."), nick.c_str()); } else source.Reply(NICK_X_NOT_REGISTERED, nick.c_str()); @@ -74,15 +74,15 @@ public: NickAlias *na = NickAlias::Find(nick); if (na) { - FOREACH_MOD(OnDeleteVhost, (na)); + FOREACH_MOD(OnDeleteVHost, (na)); const NickCore *nc = na->nc; for (auto *alias : *nc->aliases) { na = alias; - na->RemoveVhost(); + na->RemoveVHost(); } Log(LOG_ADMIN, source, this) << "for all nicks in group " << nc->display; - source.Reply(_("vhosts for group \002%s\002 have been removed."), nc->display.c_str()); + source.Reply(_("VHosts for group \002%s\002 have been removed."), nc->display.c_str()); } else source.Reply(NICK_X_NOT_REGISTERED, nick.c_str()); |
