CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_11_03
Commit time: 2002-10-19 02:32:14 UTC
Modified files:
Tag: u2_10_11_03
ChangeLog doc/example.conf ircd/ircd_features.c ircd/m_kick.c
Log message:
Author: Isomer <[EMAIL PROTECTED]>
Log message:
* Made host hiding the default, upped max bans to 45 by default.
* Fixed netriding kick stupidity.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.125.2.2 ircu2.10/ChangeLog:1.290.2.125.2.3
--- ircu2.10/ChangeLog:1.290.2.125.2.2 Wed Oct 16 23:56:04 2002
+++ ircu2.10/ChangeLog Fri Oct 18 19:32:03 2002
@@ -1,3 +1,11 @@
+2002-10-19 Perry Lorier <[EMAIL PROTECTED]>
+
+ * doc/example.conf: Changed defaults for host hiding and maxbans.
+
+ * ircd/ircd_features.c: Changed defaults for host hiding and maxbans.
+
+ * ircd/m_kick: Fixed braino.
+
2002-10-17 Perry Lorier <[EMAIL PROTECTED]>
* ircd/m_kick.c (ms_kick): Don't HACK(3) when a server kicks it's own
Index: ircu2.10/doc/example.conf
diff -u ircu2.10/doc/example.conf:1.15.2.7 ircu2.10/doc/example.conf:1.15.2.7.4.1
--- ircu2.10/doc/example.conf:1.15.2.7 Sat Sep 14 13:44:31 2002
+++ ircu2.10/doc/example.conf Fri Oct 18 19:32:03 2002
@@ -471,14 +471,14 @@
# F:RANDOM_SEED:<you should set one explicitly>
# F:DEFAULT_LIST_PARAM
# F:NICKNAMEHISTORYLENGTH:800
-# F:HOST_HIDING:FALSE
+# F:HOST_HIDING:TRUE
# F:HIDDEN_HOST:users.undernet.org
# F:HIDDEN_IP:127.0.0.1
# F:CONNEXIT_NOTICES:FALSE
# F:KILLCHASETIMELIMIT:30
# F:MAXCHANNELSPERUSER:10
# F:AVBANLEN:40
-# F:MAXBANS:30
+# F:MAXBANS:45
# F:MAXSILES:15
# F:HANGONGOODLINK:300
# F:HANGONRETRYDELAY:10
Index: ircu2.10/ircd/ircd_features.c
diff -u ircu2.10/ircd/ircd_features.c:1.15.2.10
ircu2.10/ircd/ircd_features.c:1.15.2.10.2.1
--- ircu2.10/ircd/ircd_features.c:1.15.2.10 Thu Oct 10 02:13:24 2002
+++ ircu2.10/ircd/ircd_features.c Fri Oct 18 19:32:04 2002
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: ircd_features.c,v 1.15.2.10 2002/10/10 09:13:24 isomer Exp $
+ * $Id: ircd_features.c,v 1.15.2.10.2.1 2002/10/19 02:32:04 isomer Exp $
*/
#include "config.h"
@@ -251,7 +251,7 @@
F_N(RANDOM_SEED, FEAT_NODISP, random_seed_set, 0, 0, 0, 0, 0, 0),
F_S(DEFAULT_LIST_PARAM, FEAT_NULL, 0, list_set_default),
F_I(NICKNAMEHISTORYLENGTH, 0, 800, whowas_realloc),
- F_B(HOST_HIDING, 0, 0, 0),
+ F_B(HOST_HIDING, 0, 1, 0),
F_S(HIDDEN_HOST, FEAT_CASE, "users.undernet.org", 0),
F_S(HIDDEN_IP, 0, "127.0.0.1", 0),
F_B(CONNEXIT_NOTICES, 0, 0, 0),
@@ -260,7 +260,7 @@
F_I(KILLCHASETIMELIMIT, 0, 30, 0),
F_I(MAXCHANNELSPERUSER, 0, 10, 0),
F_I(AVBANLEN, 0, 40, 0),
- F_I(MAXBANS, 0, 30, 0),
+ F_I(MAXBANS, 0, 45, 0),
F_I(MAXSILES, 0, 15, 0),
F_I(HANGONGOODLINK, 0, 300, 0),
F_I(HANGONRETRYDELAY, 0, 10, 0),
Index: ircu2.10/ircd/m_kick.c
diff -u ircu2.10/ircd/m_kick.c:1.6.2.1.8.1 ircu2.10/ircd/m_kick.c:1.6.2.1.8.2
--- ircu2.10/ircd/m_kick.c:1.6.2.1.8.1 Wed Oct 16 23:56:05 2002
+++ ircu2.10/ircd/m_kick.c Fri Oct 18 19:32:04 2002
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: m_kick.c,v 1.6.2.1.8.1 2002/10/17 06:56:05 isomer Exp $
+ * $Id: m_kick.c,v 1.6.2.1.8.2 2002/10/19 02:32:04 isomer Exp $
*/
/*
@@ -190,7 +190,7 @@
/* 2002-10-17: Don't send HACK if the users local server is kicking them */
if (IsServer(sptr)
&& !IsBurstOrBurstAck(sptr)
- && !sptr=cli_from(who))
+ && sptr!=cli_from(who))
sendto_opmask_butone(0, SNO_HACK4, "HACK: %C KICK %H %C %s", sptr, chptr,
who, comment);
----------------------- End of diff -----------------------