Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / ircd_policy.h
1 /*
2  * IRC - Internet Relay Chat, include/ircd_policy.h
3  * Copyright (C) 1990 Jarkko Oikarinen and
4  *                    University of Oulu, Computing Center
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  *
20  * $Id$
21  */
22 #ifndef INCLUDED_ircd_policy_h
23 #define INCLUDED_ircd_policy_h
24
25 /* This file contains undernet admin policy decisions, even if they are
26  * braindead and silly.  These aren't configurable as they are network
27  * policy, and should not be changed (depending on what network your 
28  * on different ones of these should be defined
29  */
30
31 /* CFV-165 - Hiding Nonessential information from non-opers
32  *
33  * 1) Removal of server notices from users
34  *
35  * This is implemented as disallowing users from setting +s
36  */
37 #define HEAD_IN_SAND_SNOTICES
38 #define SERVNOTICE_OPER_ONLY
39
40 /* CFV-165 - Hiding Nonessential information from non-opers
41  * 
42  * 2) Removal of server wallops from users
43  *
44  * This is implemented by making all server wallops DESYNC's, and removing
45  * +g from normal users.
46  */
47 #define HEAD_IN_SAND_DESYNCS
48 #define DEBUG_OPER_ONLY
49
50 /* CFV-165 - Hiding Nonessential information from non-opers
51  * 
52  * 3) Removal of operator wallops from users
53  *
54  * This is implemented as disallowing users from setting +w
55  */
56 #define HEAD_IN_SAND_WALLOPS
57 /* #define WALLOPS_OPER_ONLY */
58
59 /* CFV-165 - Hiding Nonessential information from non-opers
60  *
61  * 5) Removal of /MAP from users.
62  *
63  */
64 #define HEAD_IN_SAND_MAP
65
66 /* CFV-165 - Hiding Nonessential information from non-opers
67  * 
68  * 6) Removal of links from users
69  */
70 #define HEAD_IN_SAND_LINKS
71
72 /* CFV-165 - Hiding Nonessential information from non-opers
73  *
74  * 7) Restrict the output of LINKS to only display known leaves.
75  */
76
77 /* CFV-165 - Hiding Nonessential information from non-opers
78  *
79  * 8) Removal of /TRACE from users.
80  */
81 #define HEAD_IN_SAND_TRACE
82
83 /* CFV-165 - Hiding Nonessential information from non-opers
84  *
85  * 9-13) Removal of various stats from non users
86  */
87 #define HEAD_IN_SAND_STATS_L
88 #define HEAD_IN_SAND_STATS_C
89 #define HEAD_IN_SAND_STATS_G
90 #define HEAD_IN_SAND_STATS_H
91 #define HEAD_IN_SAND_STATS_K
92 #define HEAD_IN_SAND_STATS_F
93 #define HEAD_IN_SAND_STATS_I
94 #define HEAD_IN_SAND_STATS_M
95 #define HEAD_IN_SAND_STATS_m
96 #define HEAD_IN_SAND_STATS_O
97 #undef  HEAD_IN_SAND_STATS_P
98 #define HEAD_IN_SAND_STATS_R
99 #define HEAD_IN_SAND_STATS_D
100 #define HEAD_IN_SAND_STATS_d
101 #define HEAD_IN_SAND_STATS_E
102 #define HEAD_IN_SAND_STATS_t
103 #define HEAD_IN_SAND_STATS_T
104 #define HEAD_IN_SAND_STATS_U
105 #undef  HEAD_IN_SAND_STATS_u
106 #undef  HEAD_IN_SAND_STATS_W
107 #define HEAD_IN_SAND_STATS_X
108 #define HEAD_IN_SAND_STATS_Y
109 #define HEAD_IN_SAND_STATS_Z
110
111 /* CFV-165 - Hiding Nonessential information from non-opers
112  *
113  * 14) Removal of server names in net break sign-offs.
114  */
115
116 #define HEAD_IN_SAND_NETSPLIT
117
118 /* CFV-165 - Hiding Nonessential information from non-opers
119  * 
120  * 15) Removal of server names in replies to /WHOIS
121  */
122
123 #define HEAD_IN_SAND_WHOIS_SERVERNAME
124 #define HEAD_IN_SAND_WHO_SERVERNAME
125
126 #endif /* INCLUDED_ircd_policy_h */