Added bans console command

This commit is contained in:
SChernykh
2022-02-21 19:59:57 +01:00
parent 9a09d15bea
commit 9593311332
5 changed files with 68 additions and 1 deletions
+7
View File
@@ -384,6 +384,13 @@ template<> struct log::Stream::Entry<NetworkType>
}
};
void put_rawip(const raw_ip& value, Stream* wrapper);
template<> struct log::Stream::Entry<raw_ip>
{
static FORCEINLINE void put(const raw_ip& value, Stream* wrapper) { put_rawip(value, wrapper); }
};
namespace {
template<log::Severity severity> void apply_severity(log::Stream&);