summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-06-11 22:54:50 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-06-11 22:54:50 +0100
commit511e258e901e5248e1706609ba1099507fd750ae (patch)
tree4c7ee92fbe3634e7c78579657a023948a1a6bbae /structures.h
parent9db9fb396aaf601bd00f2b62face2693307a0e16 (diff)
Implement configurable auto replay modes. So far there is "none", "time" (auto replay the last X seconds), and "lastspoke" (auto replay everything since you last spoke).
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 ac68ba9..9246fa4 100644
--- a/structures.h
+++ b/structures.h
@@ -52,6 +52,7 @@ struct ircdstate {
// Structure of settings either to be read from the configuration file or set/changed at runtime
struct settings {
+ char replaymode[MAXDATASIZE];
int replayseconds;
char clientport[MAXPORTLEN];
char ircnick[MAXNICKLENGTH]; // In both settings and ircdstate as settings is from our file whereas server may change ircdstate copy