"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/s_debug.c" between
bahamut-2.1.4.tar.gz and bahamut-2.1.5.tar.gz

About: Bahamut is an Internet Relay Chat Daemon (IRCd) designed for DALnet, one of the major IRC networks in the world.

s_debug.c  (bahamut-2.1.4):s_debug.c  (bahamut-2.1.5)
skipping to change at line 73 skipping to change at line 73
/* Most of this tracks draft-brocklesby-irc-isupport-03, with a /* Most of this tracks draft-brocklesby-irc-isupport-03, with a
* few differences: * few differences:
* STD is not sent since there is no RFC * STD is not sent since there is no RFC
* MAXCHANNELS and MAXBANS are sent for compatibility with old clients * MAXCHANNELS and MAXBANS are sent for compatibility with old clients
* SILENCE WATCH and ELIST are sent but not documented * SILENCE WATCH and ELIST are sent but not documented
*/ */
/* put MAXBANS and MAXCHANNELS first so better tokens override them */ /* put MAXBANS and MAXCHANNELS first so better tokens override them */
ircsprintf(scratchbuf,"NETWORK=%s SAFELIST MAXBANS=%i MAXCHANNELS=%i " ircsprintf(scratchbuf,"NETWORK=%s SAFELIST MAXBANS=%i MAXCHANNELS=%i "
"CHANNELLEN=%i KICKLEN=%i NICKLEN=%i TOPICLEN=%i MODES=%i " "CHANNELLEN=%i KICKLEN=%i NICKLEN=%i TOPICLEN=%i MODES=%i "
"CHANTYPES=# CHANLIMIT=#:%i PREFIX=(ov)@+ STATUSMSG=@+", "CHANTYPES=# CHANLIMIT=#:%i "
#ifdef USE_HALFOPS
"PREFIX=(ohv)@%%%%+ STATUSMSG=@%%%%+",
#else
"PREFIX=(ov)@+ STATUSMSG=@+",
#endif
Network_Name, MAXBANS, maxchannelsperuser, CHANNELLEN, Network_Name, MAXBANS, maxchannelsperuser, CHANNELLEN,
TOPICLEN, NICKLEN, TOPICLEN, MAXMODEPARAMSUSER, TOPICLEN, NICKLEN, TOPICLEN, MAXMODEPARAMSUSER,
maxchannelsperuser); maxchannelsperuser);
ircsprintf(rplisupport1, rpl_str(RPL_ISUPPORT), me.name, "%s", scratchbuf); ircsprintf(rplisupport1, rpl_str(RPL_ISUPPORT), me.name, "%s", scratchbuf);
ircsprintf(scratchbuf,"WATCH=65535 MAXCHANNELS=%i CHANLIMIT=#:%i", ircsprintf(scratchbuf,"WATCH=65535 MAXCHANNELS=%i CHANLIMIT=#:%i",
(maxchannelsperuser * 3), (maxchannelsperuser * 3)); (maxchannelsperuser * 3), (maxchannelsperuser * 3));
ircsprintf(rplisupportoper, rpl_str(RPL_ISUPPORT), me.name, "%s", scratchbuf ); ircsprintf(rplisupportoper, rpl_str(RPL_ISUPPORT), me.name, "%s", scratchbuf );
skipping to change at line 104 skipping to change at line 109
#ifdef EXEMPT_LISTS #ifdef EXEMPT_LISTS
*s++ = 'e'; *s++ = 'e';
#endif #endif
#ifdef INVITE_LISTS #ifdef INVITE_LISTS
*s++ = 'I'; *s++ = 'I';
#endif #endif
s += ircsprintf(s, ",k,jl,ci"); s += ircsprintf(s, ",k,jl,ci");
#ifdef USE_CHANMODE_L #ifdef USE_CHANMODE_L
*s++ = 'L'; *s++ = 'L';
#endif #endif
s += ircsprintf(s, "mMnOprRsSt MAXLIST=b:%i", MAXBANS); #ifdef SPAMFILTER
*s++ = 'P';
#endif
s += ircsprintf(s, "AmMnOprRsSt MAXLIST=b:%i", MAXBANS);
#ifdef EXEMPT_LISTS #ifdef EXEMPT_LISTS
s += ircsprintf(s, ",e:%i", MAXEXEMPTLIST); s += ircsprintf(s, ",e:%i", MAXEXEMPTLIST);
#endif #endif
#ifdef INVITE_LISTS #ifdef INVITE_LISTS
s += ircsprintf(s, ",I:%i", MAXINVITELIST); s += ircsprintf(s, ",I:%i", MAXINVITELIST);
#endif #endif
s += ircsprintf(s, " TARGMAX=DCCALLOW:,JOIN:,KICK:4,KILL:20,NOTICE:%i," s += ircsprintf(s, " TARGMAX=DCCALLOW:,JOIN:,KICK:4,KILL:20,NOTICE:%i,"
"PART:,PRIVMSG:%i,WHOIS:,WHOWAS:", MAXRECIPIENTS, "PART:,PRIVMSG:%i,WHOIS:,WHOWAS:", MAXRECIPIENTS,
MAXRECIPIENTS); MAXRECIPIENTS);
 End of changes. 2 change blocks. 
2 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)