aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/serverauthentication.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-08-24 23:53:45 +0100
committerGitHub <noreply@github.com>2022-08-25 00:53:45 +0200
commitc3d20c8409a35772e371129d015913b7f08743fc (patch)
tree5037b60a89ca3eebb99311a38c1f6dbcdf267d1e /NorthstarDLL/serverauthentication.cpp
parentcf9743e9b874b76e56a57d56e60e03aaa8a52ad6 (diff)
downloadNorthstarLauncher-c3d20c8409a35772e371129d015913b7f08743fc.tar.gz
NorthstarLauncher-c3d20c8409a35772e371129d015913b7f08743fc.zip
Rename `IsDedicated()` to `IsDedicatedServer()` (#252)
Diffstat (limited to 'NorthstarDLL/serverauthentication.cpp')
-rw-r--r--NorthstarDLL/serverauthentication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/serverauthentication.cpp b/NorthstarDLL/serverauthentication.cpp
index e66fac3c..463bd0ba 100644
--- a/NorthstarDLL/serverauthentication.cpp
+++ b/NorthstarDLL/serverauthentication.cpp
@@ -524,7 +524,7 @@ char CGameClient__ExecuteStringCommandHook(void* self, uint32_t unknown, const c
if (command && !command->IsFlagSet(FCVAR_CLIENTCMD_CAN_EXECUTE))
{
// ensure FCVAR_GAMEDLL concommands without FCVAR_CLIENTCMD_CAN_EXECUTE can't be executed by remote clients
- if (IsDedicated())
+ if (IsDedicatedServer())
return false;
if (strcmp((char*)self + 0xF500, g_LocalPlayerUserID))