aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/bansystem.h
diff options
context:
space:
mode:
authorScureX <47725553+ScureX@users.noreply.github.com>2022-08-14 11:37:18 +0200
committerGitHub <noreply@github.com>2022-08-14 11:37:18 +0200
commit49263dd2a004868c1e9b9e9cf495893b27df0631 (patch)
tree0d816598f4f0b352e6016889aa83cc6afa73289f /NorthstarDedicatedTest/bansystem.h
parentdf056e7df3a23eab2ff1b7821ac22ae88e211859 (diff)
downloadNorthstarLauncher-49263dd2a004868c1e9b9e9cf495893b27df0631.tar.gz
NorthstarLauncher-49263dd2a004868c1e9b9e9cf495893b27df0631.zip
Hot reload banlist on player join (#233)
* added banlist hotreload * fix formatting * didnt append, cleared whole file oopsie * unfuckedunban not rewriting file * fixed not checking for new line
Diffstat (limited to 'NorthstarDedicatedTest/bansystem.h')
-rw-r--r--NorthstarDedicatedTest/bansystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/bansystem.h b/NorthstarDedicatedTest/bansystem.h
index 0f618843..e78094bf 100644
--- a/NorthstarDedicatedTest/bansystem.h
+++ b/NorthstarDedicatedTest/bansystem.h
@@ -9,6 +9,7 @@ class ServerBanSystem
public:
void OpenBanlist();
+ void ReloadBanlist();
void ClearBanlist();
void BanUID(uint64_t uid);
void UnbanUID(uint64_t uid);