]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blob - defaultvalues.patch
refresh patches
[irc/quakenet/snircd-patchqueue.git] / defaultvalues.patch
1 # HG changeset patch
2 # Parent ef3a29fdec12f0904e29d5c3cc87f279ab11ea8d
3
4 diff -r ef3a29fdec12 include/ircd_defs.h
5 --- a/include/ircd_defs.h Sat Jul 13 23:18:33 2013 +0100
6 +++ b/include/ircd_defs.h Sun Jul 14 13:01:14 2013 +0100
7 @@ -68,7 +68,7 @@
8 * with the ACCOUNT (AC) command. This is used for keeping track of who's
9 * logged into which account, for the benefit of irc services.
10 */
11 -#define ACCOUNTLEN 12
12 +#define ACCOUNTLEN 15
13 /** Maximum length for user supplied information about a client
14 * connection (gcos). This information is set at client/server registration
15 * time.
16 @@ -83,7 +83,7 @@
17 #define SOCKIPLEN 45
18 /** Maximum length for channel topics and kill comments.
19 */
20 -#define TOPICLEN 160
21 +#define TOPICLEN 250
22 /** Maximum length for away messages.
23 */
24 #define AWAYLEN 160
25 @@ -95,7 +95,7 @@
26 /** Maximum available targets for a user. */
27 #define MAXTARGETS 20
28 /** Starting free targets for a user. */
29 -#define STARTTARGETS 10
30 +#define STARTTARGETS 20
31 /** Target number to start assigning new targets. */
32 #define RESERVEDTARGETS 12
33
34 diff -r ef3a29fdec12 ircd/ircd_features.c
35 --- a/ircd/ircd_features.c Sat Jul 13 23:18:33 2013 +0100
36 +++ b/ircd/ircd_features.c Sun Jul 14 13:01:14 2013 +0100
37 @@ -329,7 +329,7 @@
38 /* features that probably should not be touched */
39 F_I(KILLCHASETIMELIMIT, 0, 30, 0),
40 F_I(MAXCHANNELSPERUSER, 0, 10, 0),
41 - F_I(NICKLEN, 0, 12, 0),
42 + F_I(NICKLEN, 0, 15, 0),
43 F_I(AVBANLEN, 0, 40, 0),
44 F_I(MAXBANS, 0, 50, 0),
45 F_I(MAXSILES, 0, 25, 0),