]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
- new allocated connection structures will be initialized correctly now.
[ngircd-alex.git] / src / ngircd / defines.h
index 76f974ec61dab224abf0025abab6daf380d65b4e..7db4788a13270587c588cf4fb9322446e15aaf9c 100644 (file)
@@ -2,16 +2,15 @@
  * ngIRCd -- The Next Generation IRC Daemon
  * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
  *
- * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
- * der GNU General Public License (GPL), wie von der Free Software Foundation
- * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
- * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
- * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
- * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: defines.h,v 1.38 2002/11/29 17:38:17 alex Exp $
+ * $Id: defines.h,v 1.40 2002/12/16 23:10:56 alex Exp $
  *
- * defines.h: (globale) Konstanten
+ * Global defines of ngIRCd.
  */
 
 #ifndef __defines_h__
@@ -36,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 */
@@ -75,7 +76,7 @@
 #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