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/trunk/src/conf.c (file contents):
Revision 6831 by michael, Fri Nov 20 20:25:28 2015 UTC vs.
Revision 6842 by michael, Tue Nov 24 17:46:18 2015 UTC

# Line 1288 | Line 1288 | read_conf_files(int cold)
1288    isupport_add("NICKLEN", NULL, ConfigServerInfo.max_nick_length);
1289    isupport_add("NETWORK", ConfigServerInfo.network_name, -1);
1290  
1291 <  snprintf(chanmodes, sizeof(chanmodes), "beI:%d", ConfigChannel.max_bans);
1291 >  snprintf(chanmodes, sizeof(chanmodes), "beI:%u", ConfigChannel.max_bans);
1292    isupport_add("MAXLIST", chanmodes, -1);
1293    isupport_add("MAXTARGETS", NULL, ConfigGeneral.max_targets);
1294    isupport_add("CHANTYPES", "#", -1);
1295  
1296 <  snprintf(chanlimit, sizeof(chanlimit), "#:%d",
1296 >  snprintf(chanlimit, sizeof(chanlimit), "#:%u",
1297             ConfigChannel.max_channels);
1298    isupport_add("CHANLIMIT", chanlimit, -1);
1299    snprintf(chanmodes, sizeof(chanmodes), "%s", "beI,k,l,cimnprstCMORS");

Diff Legend

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