Fix bugs in rehashing pseudo commands and in kill handling.
[ircu2.10.12-pk.git] / ChangeLog
index a468cb27cc047bab31f6960a686008aefae3fc7e..fd931fd70805d80dd08674cc1ef1feaf03fe5be9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,197 @@
+2005-08-21  Michael Poole <mdpoole@troilus.org>
+
+       * include/s_conf.h (free_mapping): Declare new function.
+
+       * ircd/ircd_parser.y (pseudoblock): Use it.
+
+       * ircd/s_conf.c (free_mapping): Define it.
+       (close_mappings): New function.
+       (rehash): Call close_mappings() before reading file.
+
+       * ircd/m_kill.c (do_kill): Revert 2005-08-18 change.
+
+2005-08-19  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/parse.c (tok_tree): Re-add token tree structure.
+       (initmsgtree): Populate it.
+       (parse_server): Prefer it to full message tree.
+
+2005-08-18  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_kill.c (do_kill): When FEAT_HIS_KILLWHO, change apparent
+       source of KILLs to &his instead of &me.
+
+2005-08-16  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (mode_parse_ban): Avoid overwriting part of
+       newban->banstr[] when the source is a server.  (Spotted by jcq.)
+
+2005-08-16  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (joinbuf_join): Switch to &his instead of &me for
+       announcements to local users in a channel.
+
+       * ircd/m_burst.c (ms_burst): Likewise.
+
+       * ircd/m_invite.c (m_invite): Likewise.
+       (ms_invite): Likewise.
+
+       * ircd/m_kick.c (ms_kick): Likewise.
+
+       * ircd/m_topic.c (do_settopic): Another &me -> &his change for
+       HIS, and use that apparent source for the channel localcast.
+
+2005-08-16  Jukka Ollila <jaollila@niksula.hut.fi>
+
+       * ircd/s_user.c (hide_hostmask): Use HIS_SERVERNAME instead of the
+       real thing for the post-mode-x rejoin.
+
+2005-08-15  Michael Poole <mdpoole@troilus.org>
+
+       * include/supported.h (FEATURESVALUES2): Add +d channel mode.
+
+       * ircd/IPcheck.c (ip_registry_new_entry): Clarify that this is not
+       a varadic function.  (Suggested by Ian Kumlien.)
+
+       * ircd/convert-conf.c (finish_operators): Likewise.
+
+       * ircd/listener.c (close_listeners): Likewise.
+
+       * ircd/channel.c (CheckDelayedJoins): Use HIS server name to
+       remove channel mode +d.
+
+2005-08-12  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (pretty_mask): Recognize ':' as unique to the
+       host part of a ban mask.
+
+2005-08-03  Jan Krueger <jast@heapsort.de>
+
+       * ircd/m_kick.c (m_kick): Send JOIN prior to confirming KICK on
+       invisible member.
+
+2005-08-08  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (find_ban): For non-IPmask bans, match the ban
+       string against the string form of the client's IP address.
+
+2005-07-16  Michael Poole <mdpoole@troilus.org>
+
+       * configure.in: Apply a test for socklen_t that Reed found.
+
+       * configure: Regenerate.
+
+2005-07-16  Michael Poole <mdpoole@troilus.org>
+
+       * RELEASE.NOTES: Mention that 2.10.11 does not support oplevels.
+
+       * README.FreeBSD: Remove (merged into README).
+
+       * README.Solaris: Remove (merged into README).
+
+       * README: Merge in the above; also update for 2.10.12.
+
+       * doc/example.conf: Change mention of K-lines to say Kill blocks
+       instead.
+
+       * doc/iauth.txt: Remove (out of date).
+
+       * doc/readme.features: Update to reflect that 2.10.11 is not the
+       current release.  Change mention of various config lines to use
+       the equivalent config entries or blocks instead.
+
+       * doc/readme.log: Likewise.
+
+       * doc/api/features.txt: Change F-line mentions to say Feature
+       entry instead.
+
+       * doc/api/modebuf.txt: Change U-line mention to say Uworld entry.
+
+       * doc/api/motd.txt: Change T-line mentions to say Motd entry.
+
+2005-07-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_features.c (feature_init): Always call
+       feature_notify_server*() so that 'his' is initialized.
+
+       * ircd/m_whois.c (do_whois): Unswap sense of comparison to choose
+       between user->server and &his.
+
+2005-07-14  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (mode_parse_apass): Update oplevels when setting
+       or removing the +A password.  Partial credit goes to Reed Loden.
+
+2005-07-14  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_features.h: Declare new "his" pseudo-server to hold
+       FEAT_HIS_SERVERNAME and FEAT_HIS_SERVERINFO in a convenient place.
+
+       * ircd/ircd_features.c: Initialize and update it.
+
+       * ircd/channel.c (modebuf_flush_int): Use it as the apparent
+       source for opmodes and server mode changes (also when the source
+       is me).
+
+       * ircd/m_burst.c (ms_burst): Use it as the apparent source for net
+       rider kicks.
+
+       * ircd/m_whois.c (do_whois): Use it to simplify code here.
+
+       * ircd/s_misc.c (exit_client): Use it as the apparent killer.
+
+2005-07-14  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf (General): Update comment about vhost to match
+       the code change below.
+
+       * ircd/ircd_parser.y (generalvhost): Accept vhost="*"; as a
+       synonym for the default behavior (for backwards compatibility).
+       Spotted by Kev.
+
+       * ircd/channel.c (sub1_from_channel): Remove stale code and
+       comment, replacing with an up-to-date comment.  Spotted by skx.
+
+2005-07-11  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/engine_select.c: Remove outdated comment about USE_POLL.
+
+       * ircd/parse.c (msgtab): #if out CAP handler until we have caps.
+
+       * RELEASE.NOTES: Remove mention of capabilities for now.
+
+2005-07-11  Stephan Peijnik <speijnik@gmail.com>
+
+       * ircd/gline.c (gline_add): It's only a protocol violation when a
+       server issues a "whacky" gline.  If it's an oper, only tell opers
+       with SNO_GLINE.
+
+       * ircd/ircd_auth.c (iauth_protocol_violation): Likewise, the whole
+       network is not likely to care about IAuth PVs, so only tell opers
+       with SNO_CONNEXIT.
+
+2005-07-11  Michael Poole <mdpoole@troilus.org>
+
+       * doc/readme.features: Document FEAT_CHANNELLEN.
+
+       * doc/example.conf: Give an example of it.
+
+       * ircd/m_join.c (ms_join): Do not clean channel names from remote
+       servers, to avoid desynchs.
+
+       * ircd/m_names.c (ms_names): Likewise.
+
+2005-07-11  Stephan Peijnik <speijnik@gmail.com>
+
+       * include/ircd_features.h: Declare new FEAT_CHANNELLEN.
+
+       * include/supported.h: Add it to the ISUPPORT display.
+
+       * ircd/channel.c (clean_channelname): Impose the lower limit
+       between FEAT_CHANNELLEN and CHANNELLEN.
+
+       * ircd/ircd_features.c: Define FEAT_CHANNELLEN.
+
 2005-07-11  Reed Loden <reed@reedloden.com>
 
        * include/sys.h: Move FD_SETSIZE redefinition to engine_select.c.