/***********************************************************************
X3 ChangeLog
+2006-12-12 Alex Schumann <rubin@afternet.org>
+
+ * configure.in: making google core lib optional
+
+ * configure: regenerated
+
+ * src/proto-p10.c: added support for sending nefarious marks
+
+ * src/proto.h: prototype for irc_mark
+
+ * src/opserv.help: documented new mark support. Also documented the
+ svsjoin and svspart commands as they were missing.
+
+ * src/hash.h: added MARKLEN define
+
+ * src/opserv.c: added mark command as well as mark support in trace
+ and addalert.
+
+2006-12-12 Neil Spierling <sirvulcan@gmail.com>
+
+ * configure: Regenerated.
+
+ * configure.in: Add support for google core dumper. Plus updated
+ tre to 0.7.5.
+
+ * Makefile.in: Regenerated.
+
+ * rx/Makefile.in: Regenerated.
+
+ * src/config.h.in: Regenerated.
+
+ * src/Makefile.in: Regenerated.
+
+ * tools/core_install.sh: Just like tre_install.sh. This installs
+ the core dumper.
+
+ * tools/coredumper.tar.gz: Google core dumper 0.2.
+ http://sourceforge.net/projects/goog-coredumper/
+
+ * tools/tre_install.sh: Updated version to 0.7.5
+
+ * tools/tre.tar.gz: Updated tre to 0.7.5.
+
+2006-12-10 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: fix debug message left at wrong level ("checking
+ reroute()")
+
+2006-12-09 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: bugfixes to autorouting timer code
+ improved stats routing to clean up & take an argument
+
+ * src/opserv.h: bugfixes to autorouting timer code
+
+ * src/opserv.help: document new stats routing syntax
+
+ * src/timeq.c: added some usefull (commented out) debugging code for
+ figuring out timer problems.
+
+ * src/timerq.h: added some usefull (commented out) debugging code for
+ figuring out timer problems.
+
+ * src/proto-p10.c: cleanup/improve eob autorouting init
+
+2006-12-08 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: Moving some version reply housekeeping to proto-p10.c
+
+ * src/proto-p10.c: moving version reply storage here, adding webTV
+ no_notice support (automatiaclly dont send notices if version reply
+ says its a webtv user since they cant SEE notices. (other clients to
+ add?)) note, this needs a version query alert to get the version from
+ them.
+
+ * src/helpfile.c: honor the no_notices user bit
+
+ * src/hash.h: add no_notices user bit
+
+2006-12-07 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: Add filter ability to stats alerts + fixup
+
+ * src/opserv.help: document filter feature of stats alerts + fixup
+
+2006-12-02 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: fix to levels command (- were missing)
+
+ * src/tools.c: fix warning
+
+ * src/common.h: fix warning
+
+ * src/chanserv.help: update online help url, changed help general to
+ use new $! command char replacement code.
+
+ * src/hash.c: fix warning when geoip is off
+
+ * src/helpfile.c: add new '$!' code for chanserv's current trigger
+ char in help files
+
+2006-12-01 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: Raisk pointed out that mdelop and friends dont work
+ on users of non-standard access level such as 201. Fixed this by
+ changing mdelop and friends to work on the range of access levels.
+ Added a LEVELS command.
+
+ * src/chanserv.h: corrected PEON access defines such that 1-150 is
+ peon instead of 100-150 with 1-99 being undefined.
+
+ * src/chanserv.help: help for new LEVELS command
+
+ * src/helpfile.c: Improved table functions so that it automatically
+ right-justifies numerical columns.
+
+ * src/tools.c: Added helper functions str_is_number and msnprintf (an
+ auto-mallocing printf function)
+
+ * src/common.h: defines and defines for msnprintf and str_is_number
+
+
+2006-11-30 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: Modified .myaccess such that if you give it your own
+ account when you are not a helper, it still works. (Requested by
+ Jigsy)
+
+ * src/nickserv.help: Corrected the help file to feed oregister based
+ on email_required instead of email_enabled
+
+ * src/nickserv.c: Fix & close sf bug 1584057 (hidden_host with no dots
+ causes crash in set if no title) thanks xanjunior
+
+2006-10-18 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/opserv.c: Minor cosmetic error noticed by Raisk. If doing an
+ opserv WHOIS from another service (when bound), the channels reply
+ would come from o3 instead of that service.
+
+2006-10-18 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/opserv.c: Added in SVSPART alert/traces.
+
+ * src/opserv.help: Added in bits for SVSJOIN, SVSPART, and VERSION.
+
+ * src/proto.h: Added in decleration for svspart.
+
+ * src/proto-p10.c: Extend current SVSPART functionality so that we
+ can send them with traces etc.
+
+2006-10-14 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: fix crash Buttaknife noticed if you forget chantarget
+ in svsjoin alerts. Cleanup old silent code fragments left over. Check
+ for missing chantarget in alerts also.
+
+2006-10-12 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: Added VERSION alert/trace reaction, so you can now
+ setup x3 to version only users matching a criteria, and then another
+ alert to do someting based on the version reply. This should be
+ usefull for finding bots etc. Or, for example, you can make all xchat
+ people join #xchat, or all mirc join #mirc etc.
+ Also, there is a fix in here for SVSJOIN which i hadn't gotten
+ everything working with.
+
+ * src/proto-p10.c: added privmsg_user and version_user functions
+
+ * src/proto.h: added privmsg_user and version_user function
+ declerations
+
+ * src/hash.h: added version_reply variable to users
+
+
+
+2006-10-12 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: Added SVSJOIN command, to push a user into a channel,
+ and a TRACE REACTION of SVSJOIN for trace and alerts. Now you can do
+ something like 'trace SVSJOIN chantarget #dronebots nick bot[*'
+ or send all level3 users to a perticular channel on connection, etc.
+
+2006-10-12 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: Make lamers not affect users on the userlist above
+ inviteme level in the channel. (why kb users who can .uba and
+ .inviteme back in?)
+
+2006-10-10 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/spamserv.c: Ignore those with access (if the options are
+ disabled- scanchanops, scanhalfops, scanvoiced.
+
+2006-10-08 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: undid 9/16/06 change of 5 second delay before
+ autojoin. Not really a great solution. Instead, move auth_handler
+ funcs to be called after stamping etc. thx to Buttaknife for this
+ solution.
+
+ * src/nickserv.c: move auth_func calls to after stamping, and
+ commented up the cmd_auth source to make it more managable.
+
+2006-10-04 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: remove redundant 'none' from empty llists
+
+2006-10-04 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/nickserv.c: Fix for bug 1555621. Cookie data will be copied
+ over with odelcookie now.
+
+2006-10-04 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/chanserv.c: Fix for bug 1551717. If automode is set to 0
+ in a channel and a user auths in the channel, the user will not
+ receive autoop etc if they have it enabled in uset.
+
+2006-10-03 Alex Schumann <rubin@afternet.org>
+
+ * src/opserv.c: Check for connect timer entries before adding new
+ ones, hopefully will fix bug 1570408 (pLaYa, let us know)
+
+2006-09-25 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/modcmd.c: Shortened ThiefMaster to just his nick as per request
+ by him.
+
+2006-09-16 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/chanserv.c: Do autojoin 5 seconds after handle_auth. Seems its
+ happening before autohide. Let me know if its still happening before
+ autohide.
+
+ * src/chanserv.help: Updated the AUTOJOIN bit.
+
+2006-09-13 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.help: improved the help listing for the info command,
+ and information help category.
+
+2006-09-10 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/mod-memoserv.c: Fixed crash bug.
+
+ * src/spamserv.c: Ignore opers.
+
+2006-08-28 Neil Spierling <sirvulcan@gmail.com>
+
+ * README: tweaks.
+
+2006-08-27 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/chanserv.help: Tweaked a , to .
+
+2006-08-27 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/opserv.help: Removed privs menu so we can release a tarball.
+
+2006-08-25 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: fix uset reply for halfops
+
+ * src/nickserv.help: document the 'b' account flag
+
+2006-08-26 Neil Spierling <sirvulcan@gmail.com>
+
+ * x3.conf.example: Added hidden host style option and key options
+ for style 2.
+
+ * src/hosthiding.h: Remove KEY #defines.
+
+ * src/hosthiding.c: Set the keys only once using the conf values.
+
+ * src/nickserv.c: Generate hidden hosts off crypt hosts instead
+ of standard hidden hosts if style is 2.
+
+ * src/proto-common.c: Generate hidden hosts off crypt hosts instead
+ of standard hidden hosts if style is 2.
+
+ * src/proto-p10.c: Set crypt host to the crypt IP if there is no
+ hostname (unresolved). This is how Nefarious works.
+
+ * src/tools.c: Generate hidden hosts off crypt hosts instead
+ of standard hidden hosts if style is 2.
+
+2006-08-24 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/chanserv.c: Added autojoin USET option, which uses SVSJOIN.
+
+ * src/chanserv.h: Added autojoin USET option, which uses SVSJOIN.
+
+ * src/proto.h: irc_svsjoin decelerations.
+
+ * src/proto-p10.c: Wrote irc_svsjoin plus added the nessecary bits
+ for SVSJOIN. Also wrote cmd_svsjoin for if X3 should ever recieve
+ an SJ it will be handled properly as a JOIN. Did the same for
+ SVSPART.
+
+2006-08-24 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/spamserv.c: Fixed the +k issue with spamserv.
+
+2006-08-24 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/opserv.c: Added PRIVSET Command.
+
+ * src/opserv.help: Added PRIVSET Command. Plus contents for the
+ privs section.
+
+ * src/proto.h: irc_privs deceleration.
+
+ * src/proto-p10.c: Fixed a compile issue plus added functions for
+ setting and checking privs.
+
+2006-08-23 Neil Spierling <sirvulcan@gmail.com>
+
+ * x3.conf.example: Add a new ircd type 6 for trunk nefarious.
+
+ * src/hash.h: Priv declerations.
+
+ * src/opserv.c: Show privs in WHOIS output.
+
+ * src/proto.h: client_report_privs decleration.
+
+ * src/proto-p10.c: Handle PRIV only for type 6 servers.
+
+2006-08-19 Alex Schumann <rubin@afternet.org>
+
+ * src/authserv.c: document the oset flag +b in help (hide from staff
+ command.)
+
+2006-08-19 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: added reply command, which responds similar to calc,
+ but with any message. (for use with bindings)
+
+ * src/modcmd.c: enabled the ability to use $a $n and $m in BIND, which
+ are replaced with the target command's calling user's account, nick,
+ and numnick respectively. This and the above allows things like:
+ BIND x3 account x3.reply your account is $a or
+ BIND x3 kickme x3.kick $n $1-
+ more to come, maybe, later.
+
+2006-08-01 Alex Schumann <rubin@afternet.org>
+
+ * src/modcmd.c: Added OSI certification message to VERSION command
+
+2006-08-09 Neil Spierling <sirvulcan@gmail.com>
+
+ * x3.conf.example: Redid part of the geoip summary.
+
+2006-08-09 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/opserv.c: If we have a city, latitude and longitude returned
+ then show a map url. Some results have no city but a latitude and
+ a longitude. The coordinates are useless in this case and most
+ people would know where the country is around abouts.
+
+2006-08-08 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/hash.c: Speed up city and country lookups significantly.
+ Just slow for the first read but once thats done the rest is fast.
+
+2006-08-08 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/spamserv.c: Fix a crash in spamserv (Tracker# 1535968).
+ I dont know if this will work for sure as i cant reproduce it. But
+ my theory is that once the user is kicked the mode node is dropped.
+ Users without modes should still return a valid mode node.
+
+2006-08-08 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/chanserv.c: Fixed a crash with giveownership. X3 would crash
+ if a giveownership command was issued in a channel with no owners.
+
+2006-08-07 Neil Spierling <sirvulcan@gmail.com>
+
+ * configure: Regenerated.
+
+ * configure.in: Added checks for GeoIP headers and libs.
+
+ * x3.conf.example: Add in 2 options for the dat filenames of the
+ city and country files. If not specified then no geoip data
+ will be checked.
+
+ * src/config.h.in: Regenerated.
+
+ * src/hash.c: Created a function to check the geoip info from the
+ dat files.
+
+ * src/hash.h: Decelerations plus added entries to the userNode
+ struct.
+
+ * src/opserv.c: Display the GeoIP information in WHOIS.
+
+ * src/proto-p10.c: Call the new geoip data collection function
+ towards the end of AddUser.
+
+2006-08-06 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/global.c: Fixed a bug, wasnt message_del'ing some messages.
+
+2006-08-01 Alex Schumann <rubin@afternet.org>
+
+ * src/chanserv.c: Add automode 6, to just voice everyone with access.
+ Idea by daniel (thx)
+
+2006-08-01 Neil Spierling <sirvulcan@gmail.com>
+
+ * This message is apart of the below one, its just seperate so
+ it doesnt get lost amongst the below messages.
+
+ * src/global.c: Fixed a warning.
+
+2006-08-01 Neil Spierling <sirvulcan@gmail.com>
+
+ * configure: Removed bahamut support, didnt even work.
+
+ * configure.in: Removed bahamut support, didnt even work.
+
+ * INSTALL: Removed bahamut support, didnt even work.
+
+ * x3.conf.example: Removed bahamut support, didnt even work.
+
+ * patches/log-pgsql.diff: Removed bahamut support, didnt even work.
+
+ * patches/helpserv-pgsql.diff: Removed bahamut support, didnt even
+ work.
+
+ * src/config.h.in: Removed bahamut support, didnt even work.
+
+ * src/gline.c: Removed bahamut support, didnt even work.
+
+ * src/hash.h: Removed bahamut support, didnt even work.
+
+ * src/nickserv.c: Removed bahamut support, didnt even work.
+
+ * src/nickserv.h: Removed bahamut support, didnt even work.
+
+ * src/Makefile.am: Removed bahamut support, didnt even work.
+
+ * src/Makefile.in: Removed bahamut support, didnt even work.
+
+ * src/proto-bahamut.c: Removed bahamut support, didnt even work.
+
+ * src/shun.c: Removed bahamut support, didnt even work.
+
+2006-08-01 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/global.c: Added language strings for mod-helpserv.c, opserv.c,
+ spamserv.c, nickserv.c.
+
+ * src/mod-helpserv.c: Changed global_message uses to global_message_arg's.
+
+ * src/nickserv.c: Changed global_message uses to global_message_arg's.
+
+ * src/opserv.c: Changed global_message uses to global_message_arg's.
+
+ * src/spamserv.c: Changed global_message uses to global_message_arg's.
+
+2006-08-01 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/chanserv.c: Changed global_message uses to global_message_arg's.
+
+ * src/global.c: Added language strings for chanserv.c
+
+2006-08-01 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/global.c: Make sure we arnt sending duplicate messages in
+ some cases.
+
+2006-08-01 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/x3.conf.example: Removed the targets option.
+
+ * src/global.c: Wrote new function that will global message users
+ and/or opers and/or helpers messages in their own langauge. The
+ strings are set either in language files or in the global.c message
+ struct. This allows us to send defcon notices to people and they
+ will get them in their own language if they have it set.
+
+ * src/global.h: global_message_args decleration.
+
+ * src/opserv.c: Removed targets option for defcon as its too hard
+ to send messages to people in channels if the people have different
+ language settings.
+
+2006-07-31 Neil Spierling <sirvulcan@gmail.com>
+
+ * src/opserv.c: TODO stuff.
+
+2006-07-31 Neil Spierling <sirvulcan@gmail.com>
+
+ * x3.conf.example: Added SHUN setting for DEFCON.
+
+ * doc/DEFCON: Added SHUN setting for DEFCON.
+
+ * src/opserv.c: Moved the gline check to here. Also added a SHUN
+ check.
+
+ * src/opserv.h: Added SHUN setting for DEFCON.
+
+ * src/proto-p10.c: Moved the DEFCON gline check to opserv.c
+
+2006-07-31 Neil Spierling <sirvulcan@gmail.com>
+
+ * x3.conf.example: Added new Defcon system settings
+
+ * doc/DEFCON: Anope's Defcon doc adapted for X3.
+
+ * src/chanserv.c: Block mode changes and channel registrations if
+ required.
+
+ * src/mod-memoserv.c: Block new memos if required.
+
+ * src/nickserv.c: Block nick registrations if required.
+
+ * src/opserv.c: Added in defcon system, uses some of the anope code.
+ Most tho is from scratch.
+
+ * src/opserv.h: Defcon declerations.
+
+ * src/opserv.help: Added DEFCON entry.
+
+ * src/proto-p10.c: If required gline new clients, also if required
+ kill new clients.
+
+2006-07-29 Alex Schumann <rubin@afternet.org>
+
+ * configure.in, Makefile.in, src/Makefile.in, tools/tre_install.sh,
+ src/opserv.c, src/config.h.in, src/nickserv.c, src/Makefile.am: I am
+ not comfortable running 'make install' on libtre from ./configure.
+ This violates what the user expects in a way that can harm the system.
+ Changed how the libtre checks work and provided easy-to-use install
+ script. -fix link stage
+
+ * rx/Makefile.in: fix autotools warning(s)
+
2006-07-28 Alex Schumann <rubin@afternet.org>
* src/nickserv.help: add odelcookie to help oper
+ * x3.conf.example: update & improve x3.conf.example description of
+ extended_accounts setting.
+
2006-07-26 Alex Schumann <rubin@afternet.org>
* src/opserv.c: Fix crash when doing reroute if routing isnt