00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef __OPTIONS_H
00038 #define __OPTIONS_H
00039
00040 #ifndef CFGPATH
00041 #define CFGPATH "."
00042 #endif
00043
00044 #ifndef HELP_PATH
00045 #define HELP_PATH "./help/"
00046 #endif
00047
00048
00049
00050
00051
00052
00053 #ifndef SENDMAIL
00054
00055
00056
00057 #define SENDMAIL "/usr/sbin/sendmail -t"
00058 #endif
00059
00060
00061
00062
00063 #define NICKLEN 18
00064 #define USERLEN 11
00065 #define HOSTLEN 64
00066 #define CHANLEN 33
00067 #define MEMOLEN 350
00068 #define URLLEN 91
00069 #define IRCBUF 513
00070 #define HELPTOPICBUF 25
00071 #define MAXBUF 1025
00072 #define EMAILLEN (HOSTLEN+25)
00073 #define PASSLEN 15
00074 #define AKREASON_LEN 255
00075
00076
00079
00080
00084 #define PLUSLCHAN "#sorcery"
00085
00089 #define DEF_NDELAY 60
00090
00095 #define NICKWARNINT 30
00096
00097
00104 #define WELCOME_NOTE \
00105 ( \
00106 "Hi, welcome to " NETWORK "! You might want to " \
00107 "look at registering your nick while you're here - " \
00108 " just type \"/msg NickServ HELP\" for more information. " \
00109 "Also, make sure to read the disclaimer which comes next - " \
00110 "it's not very friendly but it's legally required. " \
00111 " Enjoy your stay!" \
00112 )
00113
00115 #define DISCLAIMER \
00116 ( "NOTICE: This is a privately owned and operated IRC " \
00117 "network. It is accessible to the public, but we reserve " \
00118 "the right to deny use of services or connection for any " \
00119 "reason we see fit at any time." \
00120 )
00121
00125 #define REGLIMITYELL
00126
00130 #undef GLOBOPS_TIMED_MSGS
00131
00135 #undef GLOBOP_ON_SYNC
00136
00140 #undef GLOBOP_ON_SAVE
00141
00145 #undef FORK_EM
00146
00150 #define XORPASS
00151
00155 #undef ALLOW_GHOST_YOURSELF
00156
00164 #define DEFCLONEFLAGS 0
00165
00173 #define MS_DEF_RCV_MAX 50
00174 #define MS_RCV_MAX_HIGHEST 200
00175 #define MS_SENT_MAX 8
00176 #define MS_MAX_MBLOCK 3
00177
00178
00179
00180
00181 #define ENF_MINDELAY 10
00182 #define ENF_MAXDELAY 120
00183
00184
00185
00186
00187 #define ALLOCSTAT
00188 #define MAXFLOODLEVEL 100
00189 #define NICKDROPTIME (25*24*3600)
00190 #define CHANDROPTIME (15*24*3600)
00191 #define MEMODROPTIME (10*24*3600)
00192 #define DEFHOSTCLONETRIGGER 8
00193 #define DEFUSERCLONETRIGGER 3
00194
00195 #define SYNCTIME (15*60)
00196 #define SHOWSYNCH
00197
00198 #define NEWSHEADERLEN 25
00199 #define NEWSCONTENTLEN (MEMOLEN+1)
00200
00201 #define CHANDESCBUF 101
00202
00207 #define NICKHASHSIZE 1009
00208 #define IDHASHSIZE 1000
00209 #define CHANHASHSIZE 523
00210 #define CHANUSERHASHSIZE 53
00211 #define OPHASHSIZE 53
00212 #define NICKCHANHASHSIZE 10
00213 #define CLONEHASHSIZE 1009
00214 #define CHANTRIGHASHSIZE 25
00215 #define ENABLE_AHURT
00216 #define IRCD_HURTSET
00217 #define TRACK_GECOS
00218 #define MSG_REMSRA "delsra"
00219
00220 #define NPW_TH_SENDER_1 2
00221 #define NPW_TH_TARGET_1 10
00222
00223 #define NPW_TH_SENDER_2 1
00224 #define NPW_TH_TARGET_2 50
00225
00226 #define NPW_TH_SENDER_3 0
00227 #define NPW_TH_TARGET_3 100
00228
00229 #define CPW_TH_SENDER_1 3
00230 #define CPW_TH_TARGET_1 10
00231
00232 #define CPW_TH_SENDER_2 1
00233 #define CPW_TH_TARGET_2 20
00234
00235 #define CPW_TH_SENDER_3 0
00236 #define CPW_TH_TARGET_3 30
00237
00238 #define FLOOD_DET_HALF_PERIOD 5
00239 #define FLOOD_DET_Z_PERIOD 10
00240 #define FLOODVAL_BADPW 20
00241
00242 #ifdef __SORCERYNET__
00243 #define NETNICK "SorceryNet"
00244 #define NETNICKFOUNDERLINE "The SorceryNet Network (sorcery@sorcery.net)"
00245 #define IRCD_MLOCK
00246 #endif
00247 #endif