diff options
Diffstat (limited to 'NorthstarDedicatedTest/bansystem.cpp')
-rw-r--r-- | NorthstarDedicatedTest/bansystem.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/NorthstarDedicatedTest/bansystem.cpp b/NorthstarDedicatedTest/bansystem.cpp index b9e3fd33..0a4e9124 100644 --- a/NorthstarDedicatedTest/bansystem.cpp +++ b/NorthstarDedicatedTest/bansystem.cpp @@ -23,7 +23,7 @@ void ServerBanSystem::OpenBanlist() m_vBannedUids.push_back(strtoll(line.c_str(), nullptr, 10)); enabledModsStream.close(); - } + } // open write stream for banlist m_sBanlistStream.open(GetNorthstarPrefix() + "/banlist.txt", std::ofstream::out | std::ofstream::binary | std::ofstream::app); @@ -90,10 +90,7 @@ void UnbanPlayerCommand(const CCommand& args) g_ServerBanSystem->UnbanUID(strtoll(args.Arg(1), nullptr, 10)); } -void ClearBanlistCommand(const CCommand& args) -{ - g_ServerBanSystem->ClearBanlist(); -} +void ClearBanlistCommand(const CCommand& args) { g_ServerBanSystem->ClearBanlist(); } void InitialiseBanSystem(HMODULE baseAddress) { |