X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fdefines.h;h=dcc84c19be4af3e694078e7d096b4274b7c715e2;hp=a6da7d49976384844539d3515f579e5025d179c1;hb=6626395c88fc46eeb110942b17eb9245a1d0021b;hpb=c7f075236b5930f191e784a69c782e7a9d24bc58 diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index a6da7d49..dcc84c19 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: defines.h,v 1.39 2002/12/12 12:23:43 alex Exp $ + * $Id: defines.h,v 1.41 2002/12/26 13:17:56 alex Exp $ * * Global defines of ngIRCd. */ @@ -35,6 +35,8 @@ #define MAX_DEFCHANNELS 16 /* max. Anzahl vorkonfigurierbarerr Channels */ +#define MAX_SERVICES 8 /* maximum number of configurable services */ + #define CONNECTION_POOL 100 /* Anzahl Verbindungs-Strukturen, die blockweise alloziert werden */ #define CLIENT_ID_LEN 64 /* max. ID-Laenge; vgl. RFC 2812, 1.1 und 1.2.1 */ @@ -74,20 +76,16 @@ #define RECONNECT_DELAY 3 /* Server-Links erst nach 3 Sekunden versuchen, wieder aufzubauen */ #define USERMODES "aios" /* unterstuetzte User-Modes */ -#define CHANMODES "biImnoPtv" /* unterstuetzte Channel-Modes */ +#define CHANMODES "biklImnoPtv" /* unterstuetzte Channel-Modes */ #define CONNECTED TRUE /* fuer die irc-xxx-Module */ #define DISCONNECTED FALSE #define DEFAULT_AWAY_MSG "Away" /* Away-Meldung fuer User von anderen Servern */ -#ifdef PROTOTYPES -# define CONFIG_FILE SYSCONFDIR"/ngircd.conf" -# define MOTD_FILE SYSCONFDIR"/ngircd.motd" -#else -# define CONFIG_FILE "ngircd.conf" -# define MOTD_FILE "ngircd.motd" -#endif +#define CONFIG_FILE "/ngircd.conf" +#define MOTD_FILE "/ngircd.motd" + #define ERROR_DIR "/tmp" #define MAX_LOG_MSG_LEN 256 /* max. Laenge einer Log-Meldung */