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

Comparing ircd-hybrid-8/src/conf.c (file contents):
Revision 1494 by michael, Sat Jul 28 19:33:23 2012 UTC vs.
Revision 1495 by michael, Sun Aug 5 09:35:42 2012 UTC

# Line 1784 | Line 1784 | set_default_conf(void)
1784  
1785    ConfigChannel.disable_fake_channels = 0;
1786    ConfigChannel.restrict_channels = 0;
1787  ConfigChannel.use_invex = 1;
1788  ConfigChannel.use_except = 1;
1789  ConfigChannel.use_knock = 1;
1787    ConfigChannel.knock_delay = 300;
1788    ConfigChannel.knock_delay_channel = 60;
1789    ConfigChannel.max_chans_per_user = 25;
# Line 2281 | Line 2278 | read_conf_files(int cold)
2278    fclose(conf_parser_ctx.conf_file);
2279  
2280    add_isupport("NETWORK", ServerInfo.network_name, -1);
2281 <  snprintf(chanmodes, sizeof(chanmodes), "b%s%s:%d",
2282 <           ConfigChannel.use_except ? "e" : "",
2286 <           ConfigChannel.use_invex ? "I" : "", ConfigChannel.max_bans);
2281 >  snprintf(chanmodes, sizeof(chanmodes), "beI:%d",
2282 >           ConfigChannel.max_bans);
2283    add_isupport("MAXLIST", chanmodes, -1);
2284    add_isupport("MAXTARGETS", NULL, ConfigFileEntry.max_targets);
2285  
# Line 2292 | Line 2288 | read_conf_files(int cold)
2288    snprintf(chanlimit, sizeof(chanlimit), "#:%d",
2289             ConfigChannel.max_chans_per_user);
2290    add_isupport("CHANLIMIT", chanlimit, -1);
2291 <  snprintf(chanmodes, sizeof(chanmodes), "%s%s%s",
2292 <           ConfigChannel.use_except ? "e" : "",
2297 <           ConfigChannel.use_invex ? "I" : "", "b,k,l,imnprstORS");
2291 >  snprintf(chanmodes, sizeof(chanmodes), "%s",
2292 >           "beI,k,l,imnprstORS");
2293    add_isupport("CHANNELLEN", NULL, LOCAL_CHANNELLEN);
2294  
2295 <  if (ConfigChannel.use_except)
2296 <    add_isupport("EXCEPTS", "e", -1);
2302 <  if (ConfigChannel.use_invex)
2303 <    add_isupport("INVEX", "I", -1);
2295 >  add_isupport("EXCEPTS", "e", -1);
2296 >  add_isupport("INVEX", "I", -1);
2297    add_isupport("CHANMODES", chanmodes, -1);
2298  
2299    /*

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)