summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-23 16:59:56 -0500
committerAdam <Adam@anope.org>2010-12-23 16:59:56 -0500
commit12b0ff0593cc5f2c0f61ca575f9e0af8b0084994 (patch)
tree3edf1b1b9045e389ba0e957589c1017a22deeba5 /include/services.h
parent13688c595bd11c3a4a093bc82a7d5f2733640abb (diff)
Bug #1079 - Prevent /cs ban, akick, unban, etc, from matching against users real hostname and IPs in an attempt to prevent unauthorized users from gaining other users IPs via brute force attacks.
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/services.h b/include/services.h
index 53b6ea6d2..814aff0c5 100644
--- a/include/services.h
+++ b/include/services.h
@@ -324,7 +324,12 @@ struct ircdvars_ {
int admin; /* Has Admin */
int chansqline; /* Supports Channel Sqlines */
int quitonkill; /* IRCD sends QUIT when kill */
- int svsmode_unban; /* svsmode can be used to unban */
+ int svsmode_unban; /* svsmode can be used to unban
+ * Note the core no longer uses
+ * this because it can lead to
+ * users gaining other users IPs.
+ * It is kept for API compatability.
+ */
int protect; /* Has protect modes */
int reversekickcheck; /* Can reverse ban check */
int chanreg; /* channel mode +r for register */