aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/serverauthentication.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-21 20:59:57 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-21 20:59:57 +0100
commit93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d (patch)
treeee87733a5689f50a9066bf5e5979e8829547b476 /NorthstarDedicatedTest/serverauthentication.cpp
parent3f515e00d19d969fa6697a60a32e9204a05a97ee (diff)
downloadNorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.tar.gz
NorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.zip
remove unnecessary header files
Diffstat (limited to 'NorthstarDedicatedTest/serverauthentication.cpp')
-rw-r--r--NorthstarDedicatedTest/serverauthentication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/serverauthentication.cpp b/NorthstarDedicatedTest/serverauthentication.cpp
index 8190050d..a8de1a63 100644
--- a/NorthstarDedicatedTest/serverauthentication.cpp
+++ b/NorthstarDedicatedTest/serverauthentication.cpp
@@ -463,7 +463,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, R2::g_LocalPlayerUserID))