summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-09-07 17:25:01 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-09-07 17:25:01 +0100
commit3b836818fe3626798924a56f1660ab5423998094 (patch)
tree3fe8a232fb6539ba881962d1e38a9e858fd654af /structures.h
parent6ae84b9245bfaa832f847a31952b2ae33daf2299 (diff)
Avoid more replay log NICK synchronisation issues by ignoring replay log nick changes from us if not our current nick, and by completely ignoring replaying any type of replay log line from before blabouncer was launched.
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/structures.h b/structures.h
index 66c34d0..e58c1b1 100644
--- a/structures.h
+++ b/structures.h
@@ -52,6 +52,7 @@ struct ircdstate {
char oldnick[MAXNICKLENGTH]; // Set temporarily if we end up reconnecting in case we need to tell existing clients about a nick change
int clientchangetime; // The last time a client registered or disconnected
int clientsnonetime; // The last time there were no clients registered
+ int launchtime; // The time blabouncer was launched
};
// Structure of settings either to be read from the configuration file or set/changed at runtime