Răsfoiți Sursa

* New channels get a default chanset of: flood-ctcp 5:30

svn: 2091
Bryan Drewery 21 ani în urmă
părinte
comite
3d8f789f81
2 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 1 0
      doc/UPDATES
  2. 2 2
      src/mod/channels.mod/channels.c

+ 1 - 0
doc/UPDATES

@@ -121,6 +121,7 @@ Lines prefixxed with '-' were disabled before release and are not finishsed, or
 * Rewrote cmd_stick to use less code, as all the ban/exempt/invite code was redundant.
 * Added entry to help for ban-time in chanset: ban-time requires +dynamicbans
 * Fixed a bug where a bot would stop trying to connect to servers if using ipv6.
+* New channels get a default chanset of: flood-ctcp 5:30
 
 1.2.2
 * Don't sanity check flags for users on DCC CHAT if they are on the bot via .botcmd.

+ 2 - 2
src/mod/channels.mod/channels.c

@@ -54,8 +54,8 @@ static int 			gfld_kick_thr;
 static time_t 			gfld_kick_time;
 static int 			gfld_join_thr;
 static time_t 			gfld_join_time;
-static int 			gfld_ctcp_thr;
-static time_t 			gfld_ctcp_time;
+static int 			gfld_ctcp_thr = 5;
+static time_t 			gfld_ctcp_time = 30;
 static int			gfld_nick_thr;
 static time_t 			gfld_nick_time;