From 753119c4a16f6dafacbeb3d98fe72133badca949 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 15 Mar 2024 12:42:13 +0000 Subject: Use consistent casing when referring to vhosts and vidents. --- modules/database/db_atheme.cpp | 2 +- modules/database/db_old.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/database') diff --git a/modules/database/db_atheme.cpp b/modules/database/db_atheme.cpp index 3f62c29ca..c0a628bfd 100644 --- a/modules/database/db_atheme.cpp +++ b/modules/database/db_atheme.cpp @@ -1115,7 +1115,7 @@ private: if (nick_vhost != data->vhost_nick.end()) vhost = nick_vhost->second; if (!vhost.empty()) - na->SetVhost("", vhost, data->vhost_creator, data->vhost_ts); + na->SetVHost("", vhost, data->vhost_creator, data->vhost_ts); } return true; diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp index e95cc19ef..55252177a 100644 --- a/modules/database/db_old.cpp +++ b/modules/database/db_old.cpp @@ -690,7 +690,7 @@ static void LoadVHosts() continue; } - na->SetVhost(ident, host, creator, vtime); + na->SetVHost(ident, host, creator, vtime); Log() << "Loaded vhost for " << na->nick; } -- cgit