Move #include top of file in ExploitFixes (#218)

* Move Include in ExploitFixes
* Formatting
This commit is contained in:
Maya 2022-07-05 01:39:59 +02:00 committed by GitHub
parent 5311105b5c
commit 22a1ce87fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#include "ExploitFixes_UTF8Parser.h"
#include "NSMem.h"
#include "cvar.h"
#include "gameutils.h"
ConVar* ns_exploitfixes_log;
#define SHOULD_LOG (ns_exploitfixes_log->m_Value.m_nValue > 0)
@ -271,7 +272,6 @@ INVALID_CMD:
// basically: by default r2 isn't set as a valve mod, meaning that m_bRestrictServerCommands is false
// this is HORRIBLE for security, because it means servers can run arbitrary concommands on clients
// especially since we have script commands this could theoretically be awful
#include "gameutils.h"
typedef void (*IsValveModType)();
IsValveModType IsValveMod;