2000-03-28 Kevin L. Mitchell * include/channel.h: added MODE_SAVE for the bounds checking stuff in modebuf_flush * ircd/channel.c: make modebuf_flush into modebuf_flush_int and make it do bounds checking on the buffer; all modes are sent only if the all parameter is 1; modebuf_flush is the exported wrapper * include/channel.h: add BOUNCE, renumber flags to get a little more space * ircd/channel.c (modebuf_flush): don't overload HACK2, add BOUNCE; send DESYNCH message 2000-03-27 Kevin L. Mitchell * ircd/m_clearmode.c (do_clearmode): only mark the modes the channel actually has in effect for deletion * ircd/channel.c: added explanatory comments to all added functions; made flushing take place at the correct place even if the MODEBUF_DEST_DEOP flag is set; rewrote build_string() helper to bash some stupid bugs; made modebuf_flush() return if ModeBuf is empty, fixed the apparent source, removed some bogus string termination code, properly terminate the mode strings, add support for HACK2 and HACK3, made limit strings not be sent if the limit is being removed, changed where '+' and '-' come from in sent strings, added support for DEOP flag, set up bouncing code for HACK2 * ircd/Makefile.in: ran make depend * include/channel.h: added new defines for future functionality, made modebuf_flush() return int so I can use tail recursion * ircd/m_clearmode.c: add msg.h to includes; other misc cleanups to make it all compile * ircd/m_opmode.c: add msg.h to includes... * ircd/m_clearmode.c: implemented mo_clearchan()/ms_clearchan() * ircd/channel.c (modebuf_flush): realized I forgot to nul-terminate addbuf/rembuf properly... * ircd/m_clearmode.c (do_clearmode): wrote do_clearmode()... * ircd/channel.c (modebuf_flush): correct sendto_server_butone to sendto_serv_butone--blah^2 * ircd/send.c (sendto_serv_butone): stupid comments confused me * ircd/channel.c (modebuf_flush): if there are no mode changes to propagate, we're done... * ircd/channel.c (modebuf_flush): duh; it's sendto_server_butone, not sendto_all_butone * ircd/m_clearmode.c: define skeleton for m{o,s}_clearmode * ircd/m_opmode.c: define skeleton for m{o,s}_opmode * ircd/Makefile.in (SRC): added m_opmode() and m_clearmode() to the list * ircd/parse.c: added messages for opmode and clearmode * include/handlers.h: added declarations for mo_opmode(), ms_opmode(), mo_clearmode(), and ms_clearmode() * include/msg.h: define MSG_OPMODE, TOK_OPMODE, MSG_CLEARMODE, and TOK_CLEARMODE * include/channel.h (MODEBUF_DEST_OPMODE): Define the MODEBUF_DEST_OPMODE flag * ircd/channel.c (modebuf_flush): added new flag, MODEBUF_DEST_OPMODE; causes channel MODE/HACK(4) notice to appear to originate from source's server (or source itself, if IsServer(source)); also causes a server-level MODE to be sent as OPMODE instead * include/channel.h: defined MODEBUF_DEST_SERVER, MODEBUF_DEST_HACK4 * ircd/channel.c: Add another argument to build_string() to handle numeric nicks; implemented MODEBUF_DEST_SERVER to send MODEs to servers; implemented MODEBUF_DEST_HACK4 to cause HACK(4) notices to be sent out 2000-03-27 Perry Lorier * ircd/s_bsd.c: fixed missing 'u' typo. 2000-03-26 Kevin L. Mitchell * ircd/channel.c: implement modebuf_init(), _mode(), _mode_uint(), _mode_string(), _mode_client(), _flush(); also implemented a simple build_string() * include/channel.h: added definition of ModeBuf, modebuf_* manipulation functions, and a couple of helper macros 2000-03-24 Thomas Helvey * numicks.c: convert extended numerics to use original mask version * numnicks.h: "" * s_user.c: 2000-03-23 Thomas Helvey * Merge in changes from production 2000-03-22 Thomas Helvey * numicks.c: Tweak to numnick generator to reduce possibility of duplicates. * rfc1459.unet: Add Maniac's documentation for /names 0 * Fix misc. jupe bugs that somehow made it into the tree * Escape /names 0 to mean /names --Maniac * Don't core when server asks for info --Maniac * Add Kev's jupe patch --Bleep * Add Maniacs squit patch --Bleep * Merge in u2_10_10_beta07 changes --Bleep * Merge in u2_10_10_beta06 changes --Bleep * Start ircu2.10.11 development, beta branch u2_10_10 --Bleep #----------------------------------------------------------------------------- # # ChangeLog for ircu2.10.11 # # $Id: ChangeLog,v 1.36 2000-03-28 07:11:20 kev Exp $ # # Insert new changes at beginning of the change list. #