summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-06-16 21:16:29 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-06-16 21:16:29 +0100
commit67fd69854489a088bc8d90702ba37cecccd6f169 (patch)
treeac0efe967e433d725cab51b6fe93aa685c928950 /structures.h
parenta31e7b13b3cef0872be5922a568633d74dd408d2 (diff)
Load all settings from configuration file at startup instead of reading it for certain settings (password/nick/nick2/nick3).
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/structures.h b/structures.h
index 9246fa4..3209b21 100644
--- a/structures.h
+++ b/structures.h
@@ -56,8 +56,11 @@ struct settings {
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
+ char ircnick2[MAXNICKLENGTH];
+ char ircnick3[MAXNICKLENGTH];
char ircusername[MAXUSERNAMELEN]; // (Is this also true for the username? Can the server change that?)
char ircrealname[MAXREALNAMELEN];
+ char password[MAXDATASIZE];
char autochannels[MAXAUTOCHANLEN];
char ircserver[HOST_NAME_MAX];
char ircserverport[MAXPORTLEN];