Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/murmur/Meta.h')
-rw-r--r--src/murmur/Meta.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/murmur/Meta.h b/src/murmur/Meta.h
index 470ffbdc2..9720180fb 100644
--- a/src/murmur/Meta.h
+++ b/src/murmur/Meta.h
@@ -59,6 +59,7 @@ public:
int iBanTries;
int iBanTimeframe;
int iBanTime;
+ bool bBanSuccessful;
QString qsDatabase;
int iSQLiteWAL;
@@ -192,6 +193,10 @@ class Meta : public QObject {
void bootAll();
bool boot(int);
bool banCheck(const QHostAddress &);
+
+ /// Called whenever we get a successful connection from a client.
+ /// Used to reset autoban tracking for the address.
+ void successfulConnectionFrom(const QHostAddress &);
void kill(int);
void killAll();
void getOSInfo();