aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sourceconsole.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-13 20:02:28 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-13 20:02:28 +0100
commitf425377e5b15dc97ce8caa484b3e282ec5df529c (patch)
treec3d9a27cb8be758839a90ca85b045144f39b8616 /NorthstarDedicatedTest/sourceconsole.cpp
parent9a3e1ec2daf753106ee95d53719d94921d3b051f (diff)
downloadNorthstarLauncher-f425377e5b15dc97ce8caa484b3e282ec5df529c.tar.gz
NorthstarLauncher-f425377e5b15dc97ce8caa484b3e282ec5df529c.zip
add local http server for auth
Diffstat (limited to 'NorthstarDedicatedTest/sourceconsole.cpp')
-rw-r--r--NorthstarDedicatedTest/sourceconsole.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/sourceconsole.cpp b/NorthstarDedicatedTest/sourceconsole.cpp
index 88d038df..d5c7e347 100644
--- a/NorthstarDedicatedTest/sourceconsole.cpp
+++ b/NorthstarDedicatedTest/sourceconsole.cpp
@@ -16,6 +16,9 @@ void ConCommand_toggleconsole(const CCommand& arg)
void ConCommand_help(const CCommand& arg)
{
+ if (arg.ArgC() < 2)
+ return;
+
// todo: this should basically just call FindConVar once we have that working, then just print convar.GetHelpString
}