ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/conf.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/conf.c (file contents):
Revision 6935 by michael, Sun Dec 13 17:06:38 2015 UTC vs.
Revision 6955 by michael, Thu Dec 17 10:53:54 2015 UTC

# Line 842 | Line 842 | set_default_conf(void)
842    ConfigGeneral.max_nick_time = 20;
843    ConfigGeneral.max_nick_changes = 5;
844    ConfigGeneral.anti_spam_exit_message_time = 0;
845 <  ConfigGeneral.ts_warn_delta = TS_WARN_DELTA_DEFAULT;
846 <  ConfigGeneral.ts_max_delta = TS_MAX_DELTA_DEFAULT;
845 >  ConfigGeneral.ts_warn_delta = 30;
846 >  ConfigGeneral.ts_max_delta = 600;
847    ConfigGeneral.warn_no_connect_block = 1;
848    ConfigGeneral.stats_e_disabled = 0;
849    ConfigGeneral.stats_i_oper_only = 1;  /* 1 = masked */
# Line 871 | Line 871 | set_default_conf(void)
871   static void
872   validate_conf(void)
873   {
874  if (ConfigGeneral.ts_warn_delta < TS_WARN_DELTA_MIN)
875    ConfigGeneral.ts_warn_delta = TS_WARN_DELTA_DEFAULT;
876
877  if (ConfigGeneral.ts_max_delta < TS_MAX_DELTA_MIN)
878    ConfigGeneral.ts_max_delta = TS_MAX_DELTA_DEFAULT;
879
874    if (EmptyString(ConfigServerInfo.network_name))
875      ConfigServerInfo.network_name = xstrdup(NETWORK_NAME_DEFAULT);
876  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines