summaryrefslogtreecommitdiff
path: root/modules/database
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/database
parentd996c3aa8fccb032332aa8e2ea12d07127cae969 (diff)
Use consistent casing when referring to vhosts and vidents.
Diffstat (limited to 'modules/database')
-rw-r--r--modules/database/db_atheme.cpp2
-rw-r--r--modules/database/db_old.cpp2
2 files changed, 2 insertions, 2 deletions
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;
}