From 67fd69854489a088bc8d90702ba37cecccd6f169 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 16 Jun 2019 21:16:29 +0100 Subject: Load all settings from configuration file at startup instead of reading it for certain settings (password/nick/nick2/nick3). --- structures.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'structures.h') 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]; -- cgit v1.2.3