1
0
mirror of https://github.com/anope/anope.git synced 2026-06-15 10:14:48 +02:00

Compare commits

..

2679 Commits

Author SHA1 Message Date
Adam- 883d22d4da Bump for 1.9.2 Release
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3007 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-18 07:40:17 +00:00
cyberbotx b766b3a597 Minor edits to fix compile errors/warnings with clang and a small compile warning under Windows (gotta work on the other 450+ Windows warnings sometime).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3006 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-16 23:50:33 +00:00
Adam- 834f4d1bf0 Cleaned up some of the cloaked host tracking on Unreal
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3004 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-15 17:04:27 +00:00
Adam- ab4533e58a Made db-convert change old disabled levels to newer ACCESS_QOP, keeps people from being locked out of controlling their own XOP channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3002 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-12 22:28:56 +00:00
Adam- 4ba8c2ba74 Tell users to identify when they connect on InspIRCd
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3001 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-12 22:28:52 +00:00
Adam- 2cc4cd0165 Only enable vhosts automatically if the user doesn't already have the vhost set
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2998 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-04 02:17:58 +00:00
Adam- 9abdb4e2e9 Added inspircd2.0 protocol module, moved usermode +r unsetting on nick change to the protocol modules to fix inspircd1.2s weird usermode +r behavior
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2997 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 19:01:28 +00:00
Adam- f43f6c3864 Keep track of what IRCds set -r on nick change and dont inform us to keep the modemanager/modestacker in sync
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2996 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:59:59 +00:00
Adam- 6d87e0eb72 Use pongs to determine when servers are done syncing in Unreal, fixes a problem with Unreals endburst system where we have clients introduced to us from a "synced" server when they really arent
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2995 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:15:44 +00:00
Adam- 1c89004245 Removed ircd->b_delay_auth, have User::CheckAuthenticationToken validate users. Fixes us telling people to identify after netmerge then silently identifying them once we process svid.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2994 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:15:39 +00:00
Adam- 8cc71ee794 Fixed a crash from r2990
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2992 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-30 03:21:10 +00:00
Adam- e4189822bc Rewrote some of the user nick changing code, enable vhosts for users on nick change, and dont update last seen/last realname when users are identified to an account which doesn't own the nick they are using
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2990 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-28 21:57:15 +00:00
Adam- a5ddbb0217 Fixed some compiler warnings found on 64bit systems
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2989 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-27 01:51:14 +00:00
Adam- 3d396f245b Fixed tracking of users with the +a channel mode on unrealircd during SJOINs
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2988 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-26 19:48:12 +00:00
Adam- 0018f790ed Fixed some windows problems with db_mysql_execute
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2987 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-26 19:48:08 +00:00
Adam- 6674797c7d Fixed some windows problems with db_mysql_execute
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2986 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-26 19:48:04 +00:00
Adam- 1e2e80bf75 Changed User::AutoID to always log in the user to the core, and to set usermode +r on users that should be. Fixes everyone being identified but not usermode +r on inspircd 1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2985 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-25 20:21:59 +00:00
Adam- dc3744a71c Check if a module file exists before making runtime copy of it, keeps 0 byte sized unused modules out of the runtime/ directory
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2984 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-25 20:21:54 +00:00
Adam- a36e536a4d Fixed a crash if /ns ghost is used without a password
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2983 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-25 18:23:33 +00:00
Adam- 7f4afc22fa Truncate memo table before sqlsync and actually add sglines
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2982 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-24 06:17:25 +00:00
Adam- 6e7479170e Fixed bug #1167 - Fixed rsquitting juped servers on InspIRCd1.2+
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2980 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-23 20:46:29 +00:00
Adam- 543e0d770a Fixed bug #1165, fixed soem missing tables in /os sqlsync. Also added support for saving cs_levels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2979 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-23 20:46:23 +00:00
Adam- d5f0360175 Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs on IRCds without svsnick and/or svshold
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-22 07:40:22 +00:00
Adam- fae2710ba7 Fixed saving capsmin in the database, fixes the bug also fixed by the last commit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2974 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 23:05:38 +00:00
cyberbotx 8e39d5f219 Fix crash bug when there is a caps kicker in a channel but no alphabetic characters on a line.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2973 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 22:36:06 +00:00
Adam- 0a91d582c9 Fixed a crash when a users realname changes when they are on a registered nick but not identified, and made my last commit about case insensitive oper names really work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2972 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 20:30:26 +00:00
Adam- 9b06dc5046 Made the oper:name config option case insensitive
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2971 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 06:46:52 +00:00
Adam- 6fb5ca2315 Fixed db-convert to properly convert mlocked mode names for the new databases
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2970 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-20 19:36:17 +00:00
Adam- 3860856dd2 Moved opertype access checking to NickAlises constructor, cleans up some code and fixes bug #1163
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2968 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-19 06:17:55 +00:00
Adam- 2b4d834f8c Fixed a potential crash in os_szline because of a bad pointer passed to an event
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2967 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-19 06:17:48 +00:00
Adam- 79c3a70ed7 Made is possible to change levels back to founder only and made founder only levels only apply to the real founder. Changed the defaults for things such as autoowner to ACCESS_QOP
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2965 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-17 18:12:40 +00:00
Adam- f9c4baf8fc Free access and badwords list when channels are deleted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2964 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-17 18:12:26 +00:00
Adam- a0ff4cfed5 You dont see this
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2961 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 20:56:40 +00:00
Adam- 5993a65b87 Fixed many windows problems in the debug build
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2960 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 20:52:17 +00:00
Adam- 116a4b2bea Removed ns_noop_convert. The ns_noop module is for stable and almost 4 years old
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2959 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 16:51:28 +00:00
Adam- 29619eb206 Finished r2957
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2958 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 16:01:54 +00:00
DukePyrolator 78240c5790 Reversed the autoop flag to make it more logical. In 1.8, we set this flag to DISABLE autoop. Now we set this flag to ENABLE autoop. Also updated the database converter.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2957 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 06:16:25 +00:00
Adam- da277ad2c9 Fixed all of the bugs related to bug #1162 and fixed mlock params to be saved correctly in the mysql database
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2956 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 20:25:31 +00:00
DukePyrolator b88b98e627 fixed crashbugs in db_mysql_write when unsetting url, email and greet
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2955 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 19:30:56 +00:00
DukePyrolator 0ab5111bda fixed crashbug in db_mysql_write on updating an empty greet message
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2954 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 19:04:19 +00:00
Adam- 6c56c23837 Update core bot client names if the config is changed
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2953 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 06:27:16 +00:00
Adam- bd2fda42cf Fixed a potential crash caused from accessing a uninitialized pointer when enforcing mlock
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2951 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-12 01:53:29 +00:00
Adam- baa119f2e2 Changed the names of modes in the databases to be exactly the same way they are used internally. This will become very important in 1.9.3 later
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2949 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 22:05:01 +00:00
Adam- 5351fb4e4a Save & load nick requests from db_plain
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2948 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 19:26:18 +00:00
Adam- 2f3da52c3c Fixed tracking of InspIRCd channel mode R
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2945 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 06:41:16 +00:00
Adam- 80969ad89a Fixed tracking of channel mode +L on InspIRCd 1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2944 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 06:30:17 +00:00
Adam- 7b6d1e1b52 Removed channel passwords from the CHAN_HELP_REGISTER and CHAN_HELP_DROP language strings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2942 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-08 20:58:11 +00:00
Adam- 0a371aec7b Removed an unneeded static_cast in enc_none
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2941 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-07 20:57:29 +00:00
Adam- 011e426845 Removed the chanserv/aop/list command perm and switched it with chanserv/access/list. Fixed a bug so users on the access list can request the vop and hop list.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2940 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-07 20:16:09 +00:00
Adam- 75f39dec7a Fixed bug #1159 and made the SQL fields holding timestamps more consistant
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2939 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 17:08:55 +00:00
Adam- 3ebaa46c99 Revert "sql file should work fine on import now (exported via phpmyadmin, which puts constraints at the end)"
Revert "added DROP TABLE statements and english comments"
Revert "* SQL schema switched to InnoDB engine and UTF-8 encoding"

This reverts commit 196567ce68
This reverts commit 2e03670256
This reverts commit 7ffaa93865

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2938 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 16:45:34 +00:00
pimpmylinux 196567ce68 sql file should work fine on import now (exported via phpmyadmin, which puts constraints at the end)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2937 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 06:55:00 +00:00
DukePyrolator 2e03670256 added DROP TABLE statements and english comments
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2936 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 05:25:23 +00:00
Adam- 845cca2722 Fixed a compile error in r2933
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2934 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-05 23:39:41 +00:00
pimpmylinux 1b7749f108 SVN Id keyword to .h/.c/.cpp files
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2933 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-05 23:09:14 +00:00
pimpmylinux 7ffaa93865 * SQL schema switched to InnoDB engine and UTF-8 encoding
* Defined several foreign keys and added some missing indexes

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2932 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-05 22:55:18 +00:00
Adam- 6bd04bc936 db_mysql_read now loads the full database
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2928 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-04 18:43:13 +00:00
Adam- 8c1afc307a Fixed a crash because of a bad SQL query when changing your password
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2927 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-03 20:38:27 +00:00
Adam- d002ea1952 Moved CODING, TODO, and Changes* to docs/. Removed unused empty file install-sh.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2926 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-02 04:37:17 +00:00
Adam- 05eb3fd2d6 Added support for InspIRCd 2.0
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2925 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-01 22:49:41 +00:00
Adam- 9fc99cdfbb Fixed ms_rsend reply when sending a memo to a nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2924 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 18:04:25 +00:00
Adam- 0f45f286eb Made ms_rsend work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2923 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 17:09:09 +00:00
Adam- f07adb2b25 Do not join ChanServ to hold channels if the channel is syncing
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2922 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 00:08:36 +00:00
Adam- ab7e430170 Don't use botserv bots to hold channels open, becomes too much of a problem if people unassign/reassign bots etc
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2921 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 00:08:33 +00:00
Adam- 8aa7fbe0ea Properly track users who join channels using an exception
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2920 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-29 23:05:09 +00:00
Adam- 7fc9b4f943 Forward port of r2918
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2919 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-29 00:23:18 +00:00
Adam- 3d367e9bde Fixed a typo in Changes and added an entry about new ipv6 support
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2917 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-28 21:32:28 +00:00
Adam- 582212b361 Allow superadmins and ulines to join channels always
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2916 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-25 23:12:27 +00:00
Adam- 1528727cc8 Fixed a crash when shutdown when not connected
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2915 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-25 01:23:23 +00:00
Adam- 492b543c7e Fixed the /nickserv help info output to services opers and the reply from /chanserv help info to be correct
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2914 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:48:58 +00:00
Adam- 0bfe09ba5d Fixed loading negatively mlocked modes from the DB and fixed loading access creators
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2913 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:20:14 +00:00
Adam- 76534583db Fix a potential crash when removing SQLines
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2912 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:20:10 +00:00
Adam- b8674ee3fb Logout the SQLUser & any fake users after using commands
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2911 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:20:00 +00:00
Adam- 9f47e2b137 Fixed typo in CHAN_SET_PERSIST_SYNTAX lang string
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2910 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 20:41:00 +00:00
Adam- aff1d04bab Updated TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2909 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 20:40:52 +00:00
Adam- 01b0ad461a Fixed crash when shutting down when db_mysql_execute is loaded and logusers is enabled
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2908 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 06:51:23 +00:00
Adam- 80c9c4903e Fixed dropping nicks registered through MySQL
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2907 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 06:51:19 +00:00
Adam- 757c7ad973 Fixed some typos in log messages, found by Lethality
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2906 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 06:51:14 +00:00
Adam- 531cba9251 Actually use readtimeout from the config & fixed many valgrind errors
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2905 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-22 19:40:58 +00:00
Adam- 752e87a9f0 Fixed two log message typos, patch from Lethality
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2904 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-22 00:32:18 +00:00
Adam- 508996215f Fixed cs_clear ops to not deop users twice on Unreal and made it always use svsmode_ucmode if it can
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2902 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-21 02:15:48 +00:00
Adam- f87398b532 Correctly handle recieving messages over 65.5 thousand bytes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2901 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-20 23:33:09 +00:00
Adam- a6cc0a305e Reply with the correct idle times for the core service bots
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2898 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-17 15:48:30 +00:00
DukePyrolator bf84e48549 fixed missing SID before FJOIN in the inspircd12 protocol module
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2897 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-17 14:22:16 +00:00
Adam- 99559d1acd Fixed loading botserv bots time created & number of channels from the database, and only readd the core bots if none exist, not just if nickserv doesn't exist
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2892 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-15 02:23:41 +00:00
Adam- 12a4aa4dba Fixed crash on /ns release and made release actually work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2891 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-13 18:37:35 +00:00
Adam- a53719d91e Remove +r from nonregistered channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2890 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-13 02:45:33 +00:00
Adam- 5a6ec7cf86 Fixed +q and +a channel modes on inspircd 1.2 if they have no prefixes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2889 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 20:09:11 +00:00
Adam- e84db77a2c Correctly identify a user when they get autoidentified and made db_plain not crash if it gets a founderless channel
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2888 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 20:09:06 +00:00
Adam- 34f10d78fc Don't backup the database and not rewrite a new one (oops?)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2887 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 07:29:51 +00:00
Adam- 5d3491e72f Dont allow the first user in registered syncing channel to retain their access if they arent allowed to have it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2886 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 07:29:46 +00:00
Adam- 1e9de0c7f1 Return MOD_STOP in various places where the user executing the command had been killed, fixes a crash if a user gets killed for too many invalid passwords
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2885 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 00:29:07 +00:00
Adam- 626afff37d Dont backup the database unless there is a database to backup
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2884 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 00:28:59 +00:00
Adam- aa677072e0 Fixed cs_modes to add commands after the modes requiring them are introduced
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2883 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 22:58:46 +00:00
Adam- c424dce517 Made db_plain backup its databases
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2882 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 22:58:42 +00:00
Adam- 91f6b2e29d Made MySQL log errors when executing queries instead of crashing
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2881 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 19:16:55 +00:00
dukepyrolator 7d3138a4cc changed all mysqlpp::String::empty() calls to mysqlpp::String::size() to make it compile with older versions of the mysql++ library
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2880 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 17:15:08 +00:00
Adam- c4f40ed3a7 Fixed tracking of InspIRCd mode +J and fixed mode manager and stacker to handle parameter modes correctly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2879 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 22:50:48 +00:00
Adam- a1c49c827f Fixed a problem with binding to certian IPs
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2878 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 19:41:44 +00:00
Adam- 1f738f0ad4 Fixed a potential crash when a user does not pass connection checks (akill/session)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2877 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 18:51:05 +00:00
Adam- af45426be5 Fixed a crash when linking servers
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2876 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 18:11:00 +00:00
dukepyrolator 278314f8be fixed a small typo in the language files
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2875 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 16:10:46 +00:00
dukepyrolator 4e594d3acd fixed the database converter (streams dont like null pointers)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2874 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 14:27:54 +00:00
Adam- 89120afeba Fixed cs_ban, os_jupe, and os_restart
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2873 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 06:26:08 +00:00
Adam- 1a3a4b275f Removed the OnFind events, they are not necessary anymore and just waste CPU
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2872 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 06:04:52 +00:00
dukepyrolator a840ef8ae8 added a new event OnFinishSync, that allows modules to send additional data to the IRCd before we send the EOB
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2871 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:28:46 +00:00
dukepyrolator 2c79273205 changed the way how the IV is stored with the password and renamed some variables to make the code more understandable
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2870 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:22:25 +00:00
Adam- ac19ba79d1 Process the socket engine one last time before Anope disconnects to send everything through to the uplink
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2869 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:21 +00:00
Adam- a40c22a729 Made the mode stacker never send a mode change for something that is already (un)set, and set -r when dropping channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2868 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:17 +00:00
Adam- 911eeea867 Fixed enc_none OnDecrypt to work correctly on Windows
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2867 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:09 +00:00
Adam- 1ec931a93a Fix a typo in Changes.conf
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2866 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:04 +00:00
Adam- 93949b8b96 Fixed windows compile on new sockets
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2865 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:03:57 +00:00
Adam- 6a70b5385b Fixed ns_getpass and ns_sendpass to not load when there is no supported encryption loaded
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2864 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 01:09:55 +00:00
Adam- f483ab87c6 Updated Change log
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2863 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08 21:00:28 +00:00
Adam- 973ecb7058 Rewrote sockets. This adds support for IPv6 and makes Anope capable of reconnecting if it loses connection to the uplink.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08 20:23:00 +00:00
Adam- e1ff14e0c4 Fixed make install
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2857 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-04 00:54:00 +00:00
Adam- b2380300ff Added a small example webpage that can be used to register nicknames online via SQL
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2852 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 20:53:08 +00:00
Adam- 2404bb74c5 Fixed windows build
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2850 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 06:21:16 +00:00
Adam- b1c34faf49 Fixed cs_xop to not add its commands until after it knows what modes as supported by the IRCd
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2849 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:42:00 +00:00
Adam- b55ac06019 Added akicks into SQL
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2848 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:56 +00:00
Adam- eaf211d59c Burned db-merger & docs, it will eventually need a complete rewrite
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2847 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:49 +00:00
Adam- 94822c99c0 Added last used time to akick view
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2846 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:44 +00:00
Adam- a3347b59a1 Marked mysql modules as a database module and fixed os_modlist to show database modules
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2845 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:35 +00:00
Adam- 3c4b3f0407 Fixed --with-mysqlpp configure option on some systems
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2844 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-30 19:17:50 +00:00
Adam- f4bcf833ec Finish rest of BotServ SQL stuff
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2839 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-28 07:57:05 +00:00
Adam- aa90411f3a Track BotServ settings in SQL
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2838 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-28 04:40:13 +00:00
Adam- 7e8e6e849b Removed some unused externs from extern.h
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2835 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-24 01:17:43 +00:00
Adam- 3ffd917926 Rewrote arg parsing system, changed lots of std::string*s to std::string&, made --config arg, and made Anope print out a few lines of information when starting
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2833 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-24 00:46:53 +00:00
Adam- 14fc57d24b Replaced old update/expire timers with newer timers
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2832 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:25 +00:00
Adam- 9302af51a3 Added options:passlen
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2831 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:22 +00:00
Adam- 287169d6e8 Made the database file name configurable
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2830 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:14 +00:00
Adam- fc05827621 Made usermax and hostmax configurable
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2829 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:08 +00:00
DukePyrolator 04bf65525a fixed typo in mysql query
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2828 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 11:28:42 +00:00
DukePyrolator 872a00242e assigned botserv bots will now join permanent channels when syncing with our uplink
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2827 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 08:43:12 +00:00
DukePyrolator d70948d81e fixed bad mysql query
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2826 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 06:01:31 +00:00
DukePyrolator 3e77eaa218 fixed sending CHGIDENT without parameter
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2825 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 22:27:11 +00:00
Adam- 28ccf79adf Fixed /ms list reply header to include the users nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2824 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 04:59:50 +00:00
Adam- 6ebc85b900 Fix loading akills/sxlines from plaintext database
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2823 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 04:59:43 +00:00
Adam- 51351aac2b Added in support for OperServ and MemoServ into SQL
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2822 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 04:59:38 +00:00
Adam- ba4c7d8138 Made the exception list really work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2820 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-18 19:03:35 +00:00
Adam- 2871c4701b Fixed bug #1141, reodered some access checks in cs_kick and cs_modes to hide who is on the channel
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2817 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-16 20:21:40 +00:00
Adam- f62eb16176 Removed old parts for 1.7.x from mydbgen and fixed db_mysql_write query for /nickserv set
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2814 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-15 23:35:47 +00:00
Adam- b7477fc4d0 Foward port of r2809
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2812 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-13 20:46:34 +00:00
Adam- faed18f6e8 Fixed loading memo messages from the flatfile databases
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2806 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-09 05:26:10 +00:00
Adam- ce79b5023f Made guestnick generation really work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2805 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-09 01:25:09 +00:00
Adam- 27364ac890 Added the --with-mysqlpp option to configure to tell it where mysql++ is installed at
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2804 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-08 03:08:37 +00:00
dukepyrolator dd7d2d4cf0 added a check for null pointers
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2803 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-06 10:33:28 +00:00
Adam- 023c2188f8 Added help for sqlsync and fixed installing mydbgen into the wrong directory when using configure
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2802 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-06 07:34:19 +00:00
Adam- ab1f8e01fa Made it so you can register empty nonregistered channels to make registering channels through SQL a bit more effective, fixed a some small bugs found on the testnet, added some missing modes into InspIRCd1.2 support, and updated TODO and Changes.lang
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2799 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28 22:12:09 +00:00
Adam- 3f80e1cad0 Added in support for live updating MySQL databases and the ability to execute commands to Anope through MySQL. Currently database support only applies to NickServ, ChanServ and BotServ but will be expanded soon.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2798 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28 17:33:31 +00:00
Adam- 393b5ab26e Marked mode +f on inspircd1.2 as minusnoarg
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2797 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28 05:39:50 +00:00
Adam- 9edede4f3a Removed OnBotPreLoad event, this is a much better way to prevent multiple of the same bots being loaded
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2796 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25 07:12:17 +00:00
Adam- 235c4ae95c Rewrote part of the Timer and CallBack code for modules to be sane
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25 06:20:00 +00:00
Adam- 54a60add71 Actually use the cmdTable pointer in bot structures, it now points to the bots command hash
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2794 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-23 01:33:17 +00:00
cyberbotx a06e674305 Correctly identify CMake 2.8.x as being CMake 2.6 or better.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2793 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-20 04:21:15 +00:00
Adam- 84ecd1866c Added generic support for unknown modes told to Anope at runtime by the IRCd
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2790 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-12 19:51:16 +00:00
Adam- 2eb2cb7650 Changed up a small part of the mode API for preparation for dynamic mode support at runtime
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2789 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-10 23:40:54 +00:00
Adam- fcc08f61bc Updated docs to reflect CAPAB change
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2788 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-10 00:32:19 +00:00
Adam- 512b5bdaf3 Rewrote & fixed CAPAB support
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2786 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-08 03:09:19 +00:00
DukePyrolator f4db8c5360 fixed some uninitialized pointers
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2785 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-07 00:03:10 +00:00
Adam- 6b2f9e25cd Fix typo in inspircd11 that would cause people not to get status from FJOINs
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2784 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 20:16:30 +00:00
Adam- 4099944013 Recieve the max number of modes we can set at once from the IRCd and use it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2783 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 19:27:32 +00:00
Adam- 87b62c433d Remove protectbotserv option from modes, just use options:botmodes instead
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2782 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 19:27:10 +00:00
Adam- de99f89894 Parse CAPAB from the server to determin what modes we know about
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2781 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 19:26:42 +00:00
Adam- 308070e019 We now store a list of users using a NickCore in the NickCore, this prevents having to loop every user all the time to find them
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-04 23:49:27 +00:00
Adam- 3d4cf39940 Only set necessary modes on people, eg dont set +qaohv.. unnecessary
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2779 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-02 03:21:03 +00:00
Adam- 122dcd082a Added options:botmodes to configure what modes BotServ bots should use in channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2778 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-02 03:20:58 +00:00
DukePyrolator aa4b3e2563 replaced the alog() command with a new type-safe and stream-based Alog()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31 06:15:29 +00:00
Adam- 47504c9de5 Fixed db-convert and enc_old to work when converting databases using enc_old
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2776 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-24 23:15:08 +00:00
Adam- 0ed0fa4af6 Rewrote how Anope stores channel status modes on users.
This allows 3rd party modules to add and track their own status mode.
Additionally we now store a users status in both the UserContainer and ChannelContainer.
This also fixes the ModeStacker to not send any mode strings unnecessarially and shuffles some code
around so we don't have to manually remove channels from users lists everywhere.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2775 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-21 06:31:17 +00:00
DukePyrolator 15817208aa fixed a compile error on windows
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2765 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 20:15:14 +00:00
Adam- ff13d00eb5 Removed c_userlist and u_chanlist, replaced with std::list
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2764 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 06:57:14 +00:00
Adam- aaf1cefd1c Added channels.h and moved channel stuff from services.h to it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2763 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 06:56:57 +00:00
Adam- c4c1242ac7 Fixed bug #1135 - Don't kick or ban ulined clients
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2762 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-15 19:30:11 +00:00
DukePyrolator f432789853 some code cleanup in enc_sha256
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2760 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-15 18:07:41 +00:00
DukePyrolator 1cf1f044fb burned helpserv from README
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2759 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-15 05:40:26 +00:00
Adam- 525dfe12e6 Added param arg to ChannelModeSet/Unset events, and fixed it to not ignore status and list modes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2758 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:30:38 +00:00
Adam- 0d6fa568ec Use commasepstream in do_join and do_topic, much cleaner
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2757 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:30:15 +00:00
Adam- fadc61f89e Fixed crash caused by r2732 caused by adding someone to the exception list
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2756 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:29:39 +00:00
Adam- 711787b54d Burned do_sjoin and rewrote it to be sane. This changes how Anope handles new channel creations drasitcally as we now truely track it all instead of hack around it by not initially tracking user joins to new channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2755 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:29:08 +00:00
sjaz f2c44c67b5 Update copyright for CBX
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2754 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 20:28:59 +00:00
pimpmylinux 0a61c06860 updated copyright info for 2010
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 19:36:24 +00:00
pimpmylinux ef442c3dc8 some language fixes ported from stable
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2751 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 19:06:21 +00:00
Adam- 420b11a235 Rewrote the os_staff command to work properly with the account system. This also fixing displaying users on opered nicks when not on their main nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2749 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 18:36:04 +00:00
Adam- 5ad60b70ee Forward port of r2747
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2748 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 14:28:48 +00:00
Adam- b73210e538 Rewrote the code that handles and sends kicks
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2746 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-10 22:56:03 +00:00
DukePyrolator 01d43e7db5 changed enc_sha256 to use random salts instead of a hardcoded salt
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2745 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-10 19:58:32 +00:00
DukePyrolator 20b5056315 changed the source argument of enc_decrypt to const
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2744 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-10 19:56:16 +00:00
DukePyrolator d66e928529 services will now send the correct message on /cs invite <nick>
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2742 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 19:35:01 +00:00
DukePyrolator 4ae43c7dd2 added a salted sha256 encryption module
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2741 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 08:56:58 +00:00
DukePyrolator 5e62e8f22e changed all password fields to std::string and reworked the way how the enc modules handle the passwords
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2740 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 08:49:00 +00:00
DukePyrolator a4b015b39d fixed a crashbug in os_ignore on db saving and cleaned up the db code in hs_request
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2739 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 06:54:11 +00:00
Adam- 0761d4f74b Fix crash caused by trying to add an akick to a channel when certain types of exceptions are set, this also fixes entry_match to match with case insensitivity, as bans/excepts/invexs arent case sensitive
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2738 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06 22:55:21 +00:00
Adam- e34448092e Messaging service@server.name works again as it should
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2737 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06 21:30:22 +00:00
Adam- 9124a3be53 Fixed windows build and cleaned up a few small things
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2736 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06 20:09:48 +00:00
cyberbotx b462814760 Changed 'char *' fields in BotInfo to 'std::string', cleanup of bots.cpp, changed many other functions to use 'const std::string &' arguments as a chain reaction.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2733 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04 06:40:24 +00:00
Adam- 2708eea5d1 Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with std::string
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04 05:45:58 +00:00
cyberbotx f58026749b Fixed base64 functions to be const safe until I can convert them to use std::string instead, also a little cleanup while I was in there.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2729 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-03 07:42:49 +00:00
Adam- ed568f4750 Fixed db-convert to really convert vhosts
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2728 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-03 04:36:36 +00:00
Adam- de824a599a Fixed bug #1121 - Fixes a potential crash when a user changes hosts
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2725 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02 08:21:12 +00:00
Adam- a819cb0cc0 Rewrote the vhost code, and moved it to be part of nickalias instead of in its own list. This also fixes being able to steal other users vhosts with /hs on
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2724 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02 08:20:59 +00:00
cyberbotx 3617d79788 Convert 'const char *' and 'char *' function arguments to 'const std::string &' instead, done in actions.c along with chain reactions in other files.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2723 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02 04:55:43 +00:00
Adam- 657e1deb59 Added in new plaintext databases. Note: This currently has no automatic backup feature. Big thanks to Phil on this for mass scale testing
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-31 01:25:10 +00:00
Adam- c595e6755d Fixed not being able to restart if anope was started from outside of the directory it is in
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2721 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-30 23:18:16 +00:00
Adam- 4fd169b184 Added in support for permanet channel modes on non-registered channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2720 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-30 02:07:17 +00:00
Adam- 7665af27cd Chnaged ChannelModeSet/Unset events to be able to block checks such as secureops and mlock, and made it so you can't set a mode already set or unset a mode already unset so the modestacker doesn't send modes it doesn't need to
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2719 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-29 23:16:10 +00:00
sjaz df107dac1f Fix small typo in services.conf - thanks Phil.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2718 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-27 19:20:26 +00:00
Adam- bfd252b517 Send only the newly formatted users string to do_sjoin when using inspircd12, not the old one and the new one, as this implies the old users are parameters for modes, which makes mode manager unhappy
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2717 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-25 20:42:02 +00:00
DukePyrolator 90a500ffd6 fixed a small bug in the extensible class
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2716 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-25 19:11:04 +00:00
Adam- 80cbac3769 Replaced some static_casts related to modes with dynamic_cast - its a bit safer
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2715 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-23 08:41:22 +00:00
Adam- f82640af7c Fixed bug #1119 - Fixed a few help replies to respect the nickserv msg option when sending blank lines
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2714 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-22 23:59:06 +00:00
cyberbotx 77f0cd0c46 Change OperType's name to be ci::string instead of std::string, should hopefully make it so it doesn't matter what case is used in the oper blocks compared to the opertype blocks.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2713 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-21 02:30:14 +00:00
Adam- 7a7f1f8390 Rewrote part of extensible, it will now automatically unallocate memory for us so we don't have to manually delete it everywhere anymore
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2711 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-20 18:39:52 +00:00
Adam- 861fe9e7b3 Added BotInfo* sender arg to all of the User mode functions, changed IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-17 02:10:35 +00:00
Adam- 453963eeae Moved /chanserv unban to its own module and added support for unbanning a nickname, this readds !unban nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2709 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16 23:50:33 +00:00
Adam- aad1a4ca8d Hopefully this fixes detecting if Unreal sends a TS at the end of the mode string and removing it, which keeps it from being passed to mode handler
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2708 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16 23:50:19 +00:00
Adam- c6e3324b30 Made many of the functions in IRCDProto accept the relative object pointers instea of char* everywhere, and updated TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16 02:25:38 +00:00
robbeh 98aa38d800 Added !K trigger to kick people and updated Changes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2705 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-15 21:31:53 +00:00
robbeh f1c975c89f Added a KB alias to ban to allow the !kb fantasy trigger
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2704 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-15 21:29:48 +00:00
Adam- 3beac16030 More work on db-convert, almost done. This also moves the bot section of the db above the chan section, so we can check if channel bot names are valid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2703 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 23:52:59 +00:00
Adam- 511c4b73d2 Updated docs/IRCD to reflect recent changes in the ircdvar struct, and made botinfo constructors set created time not bs_bot, db loaders will change it later if needed
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2702 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 21:58:33 +00:00
Adam- 6f5bc22584 Did some more work on db-convert
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2701 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 03:50:27 +00:00
Adam- 744d6d4030 Set the created time for BotServ bots correctly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2700 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 03:50:23 +00:00
Adam- d4af97a7a7 Ripped out old databases
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2699 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 00:56:58 +00:00
Adam- 710355fd2c Don't allow mlocking/defconing modes such as beIohv
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2698 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13 23:14:20 +00:00
Adam- 46c0d40009 Moved hostserv/set priv to commands, only check for HasCommand() when trying to execute commands and not HasPriv(), as Privs should never be necessary to execute any command
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2697 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13 19:57:22 +00:00
Adam- a7ac6a0ac7 Added in a modestacker and rewrote almost all of the remaining old mode code
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13 19:32:19 +00:00
DukePyrolator 3a956c51be do not show the NICK_INFO_FOR_MORE message when the user has no permission to do it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2695 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-11 21:17:08 +00:00
Adam- 280dcc7597 Only show the user as online in /nickserv info if they are identified for the group of that nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2693 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-08 02:33:39 +00:00
DukePyrolator 37de1286fa added a function to convert some mlock modes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2692 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-07 22:30:43 +00:00
Adam- 4630ae454a Added options:mlock in the config so you can set what modes should be locked on new channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2690 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 22:12:48 +00:00
Adam- 42b8cfe404 Got rid of some now unnecessary code in config.c and moved Config.Opers.clear() to InitOpers where it belongs
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2689 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 21:04:15 +00:00
cyberbotx 935c1974e8 Fix crontab script to correctly find services.pid, it's not in ~/anope/bin, it's in ~/anope/data.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2687 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 16:27:35 +00:00
Adam- f913188991 Added ci::string to run-cc.pl message filters, and fixed irc::string to display properly aswell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2686 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 06:11:23 +00:00
Adam- eadf52caf2 Added ns_resetpass which can be used to reset user passwords by email, very useful if you're using encryption
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2685 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 05:44:02 +00:00
Adam- 661755a199 Fixed crash when using smartjoin and assigning a bot to an +i channel, reported by Platzii
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2684 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-04 23:11:08 +00:00
DukePyrolator 17a4789c1c some code cleanup
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2682 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-04 06:32:17 +00:00
Adam- 180ac9e4d2 Changed Extensible::Extend to not unnecessarially cast every pointer it recieves to char* and then to void*, but to just change it to void*. This allows storing of various things that the char* cast messed up, such as time_t etc
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2681 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-03 01:17:08 +00:00
DukePyrolator d4b595fdb8 the database converter can now convert the operserv database
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2678 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 20:55:41 +00:00
DukePyrolator f9cd8c200c the database converter can now handle a broken bot.db from 1.9.0
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2677 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 09:32:32 +00:00
DukePyrolator 0557f090fb fixed some bugs in the database converter
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2676 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 08:31:44 +00:00
DukePyrolator 23b3382347 updated database converter
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2675 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 07:56:35 +00:00
Adam- a08b3ec592 Massive move of all of the Config variables out of global scope to the Config class
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-28 23:02:07 +00:00
Adam- f6b823ade8 Set all of the default channel flags on new channels. Thix fixes persistant not being set on newly registered channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2673 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-27 07:41:21 +00:00
Adam- 4fac8d6a91 Foward port of part of r2668
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2669 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-25 21:38:50 +00:00
DukePyrolator 4f550d29aa fixed a crash when a user connects without a vhost
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2666 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 06:19:32 +00:00
Adam- 68ef593292 Properly remove users on access lists that are below voice status when converting to XOP
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2664 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 03:05:38 +00:00
Adam- 24f7ffcf18 Remove the permanent channel mode from channels that are dropped/expired/etc
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2663 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 01:19:12 +00:00
Adam- c3529b6129 Marked +l and +L on InspIRCd 1.2 as minus no arg
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2662 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 01:18:59 +00:00
DukePyrolator c7893e471f updated french lang file. patch provided by nemosphere
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2661 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-21 20:51:01 +00:00
Adam- e514a3793d Changed the mode param handling code to be more into the general mode handling code, this cleans up and fixes some small problems with mlocking params. This also helps clarify that the ChannelInfo mode functions are for mlock only. Also, this adds the OnMLock and OnUnMLock events which can be used to control if something can be (un)mlocked
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2660 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-19 01:53:03 +00:00
Adam- 68381e69d9 Fix compile errors on some compilers that did not like our overloaded operators << on std::ostream
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2659 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-19 01:52:52 +00:00
cyberbotx aa421772e0 Make the correct folder be chmod'd on a *nix install of the tools directory (we got rid of installing the tools to a tools directory a long while back, now they go in the bin directory instead)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2658 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18 13:02:22 +00:00
Adam- 5179a0a40f Delete the correct entries from akick and badwords list when given a numlist
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2657 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18 02:51:46 +00:00
cyberbotx da8a1c7b60 Remove some CoreExports and add them in other places, fixed a few minor warnings under Windows build, made Windows build create a static library out of win32_memory.cpp and use that with everything instead of relying on it being compiled into everything (saves compiling time).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2656 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18 01:05:12 +00:00
cyberbotx e10fe1cd76 Removed some unnecessary casts, used C++-style casts over C-style casts, fixed a few warnings (one possibly fatal one).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17 04:04:24 +00:00
Adam- 88330c07ad Cleand up alot of the code in bs_badwords, made it much more C++-ish
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2654 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17 03:15:31 +00:00
cyberbotx 88c0edc8f8 Fix the EXTRA_CONFIG_ARGS part of Config so it actually gets used, and doesn't get clobbered on no input.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2653 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-16 12:59:31 +00:00
Adam- d82771900e Made the 'Module compiled against current version of Anope' message debug only
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2652 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-16 02:38:46 +00:00
cyberbotx 7eadde9911 Possible fix for header dependency calculation causing CMake to freeze due to recursive including, fixed by removing my code to do that and letting CMake figure this out on it's own. Seems to work here, but might need testing still.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2651 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-15 21:14:11 +00:00
Adam- 8e8a1d96e4 Fixed potential segfault when deleting users from the access list by number, reported by Cronus
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2650 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-14 05:10:34 +00:00
Adam- 842b5609dc Updated docs dir, specifically the IRCD and EVENTS file to be up to date with 1.9s new systems
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2648 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-13 23:52:37 +00:00
Adam- 960968b8cd Made /nickserv group work properly with the new account system
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2647 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-13 02:56:47 +00:00
Adam- 9c6576f78e Fix bug introduced in r2574 that would set passwords incorrectly when using enc_none
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2646 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12 02:52:27 +00:00
Adam- 65628dfdec Fix default OnSyntaxError subcommand to be the last param if its size is less than the minimum required for the command
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2645 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12 00:28:09 +00:00
Adam- 848c0aaa21 Made Command::Execute's params const
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12 00:28:05 +00:00
Adam- d16f4930f4 Made Command::OnSyntaxError accept a subcommand parameter, we now give syntax error messages for subcommands (eg, cs_set) instead of giving the general syntax error for the main command
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2643 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 23:43:02 +00:00
Adam- 30b7e50a43 Replaced all of the char* params in cs_set with ci::string so we dont use stricmp all over, and updated coding style
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2642 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 07:57:03 +00:00
Adam- 0264072b53 Made disabling chanserv levels *really* disable them so noone can use them (even founder), and have the ability to set it to 10000 for founders.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2641 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 07:20:44 +00:00
Adam- 0bd3141407 Made DefCon not use a ChannelInfo structure for saving its modes & params, it was ugly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2640 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 06:03:40 +00:00
Adam- b9190ebc16 Moved alot of stuff to constructors and destructors, instead of having functions everywhere to create and destroy objects
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2639 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 06:03:25 +00:00
Adam- 86e43f1f14 Added support for permanent channels. This supports both permanent channel modes and the ability to have BotServ bots stay in the channel to keep it open.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2638 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 02:47:05 +00:00
Adam- 9d37cf1d5a Made the Module::ServHelp() functions part of the event system
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 23:43:51 +00:00
Adam- 458be36a32 Rewrote all of the old C style flag systems into a new Flag class which everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 20:06:21 +00:00
Adam- 38ad96c57c Fixed /chanserv help forbid to allow you to forbid unregistered channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2634 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 19:53:05 +00:00
Adam- 1c1312624d Rewrote BuildStringList to use std::list instead of char**
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2632 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 18:00:54 +00:00
cyberbotx 608b63d979 Make CMake ignore the CMakeFiles directory, really only applies to Win32 build since it still allows in-source builds (unlike the *nix build).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2631 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 15:42:38 +00:00
Adam- 9047b0347d Made mlock_on, mlock_off, access, and akick private in ChannelInfo
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2630 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-07 21:46:58 +00:00
Adam- 029f39964b Rewrote all of the akick code to be much cleaner
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2613 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-07 18:09:09 +00:00
Adam- 2ec83162d6 Added src/regchannel.cpp and moved the code from include/regchannel.h there
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2612 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-06 02:46:29 +00:00
Adam- 3317f406d2 Added /chanserv access view, which shows the access creator and last time used
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2611 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-06 02:08:15 +00:00
Adam- 95a017db9f Dont allow sending empty mode strings in check_modes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2610 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-05 13:35:09 +00:00
Adam- 187868def9 Removed trailing -'s on mode strings sent in check_modes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2609 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-05 03:32:33 +00:00
Adam- 154b0ded37 Rewrote part of check_modes to keep it from sending empty mode strings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2608 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-04 23:28:40 +00:00
Adam- 3125c632b5 Made the -nothird optopn work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2607 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-04 00:34:57 +00:00
Adam- 921ddbd517 Added OnPreNickExpire and OnPreChanExpire events, which can keep nicks and channels from expiring
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2605 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-03 02:05:45 +00:00
Adam- 65deeaf1e6 Moved some of the news variables out of the news module so other modules etc can access them, if needed
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2604 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-03 02:05:38 +00:00
DukePyrolator a1fe864c7f check for umode +r before sending svsmode -r
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2603 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02 06:04:27 +00:00
DukePyrolator 9a0b1efc24 added a way to load multiple encryption modules at the same and to switch between encryption methods
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02 05:22:35 +00:00
Adam- d2362719b2 Made do_nick return the user if I_OnPreUserConnect halts it if the user still exists, and removed unused defcon language string
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2600 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 17:13:50 +00:00
Adam- 987f371c0b Removed channel passwords and added /chanserv QOP command to add additional channel founders, aswell as access level 10000
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2599 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 02:38:06 +00:00
Adam- 6a9fa9f4d2 Rewrote all of the defcon code, and moved most of it to os_defcon. This fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 01:04:13 +00:00
Adam- 5fc268b750 Added I_OnPreUserConnect, I_OnUserModeAdd, and I_OnUserModeAdd events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2596 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 01:03:54 +00:00
Adam- 5b62682223 Changed the "nickserv/confirm" opertype command to a permission, and added "nickserv/drop" permission used to drop other users nicks
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2595 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-29 00:44:26 +00:00
DukePyrolator 0b64cbc1d2 renaming to guestnick was not working properly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2594 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-28 22:12:36 +00:00
Adam- fa622b4e9f Remove NickServ timers from TimerManager if we need to delete them, not just from NickServs timers - Fixes segfault reported by phantomal
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2593 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-28 15:12:47 +00:00
Adam- 52593ef71b Cleaned up some of the code in my last commit and made it a bit more consistant.. probably should have done this before but owell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2592 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27 13:19:01 +00:00
cyberbotx 9e48e683e7 Fix bug #1111, BS KICK should properly handle the CAPS, FLOOD, and REPEAT options now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2591 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27 11:52:51 +00:00
Adam- c64c2b6fd0 Rewrote part of chan_set_correct_modes and set Mode::ModeChar correctly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2590 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27 01:42:10 +00:00
Adam- a491eed3ff Added MinusNoArg to insp modes Ffj and unreal mode j
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2589 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 14:32:38 +00:00
Adam- a43424dbb9 Added internal tracking of InspIRCd1.2 channel modes BFfjMPT and user modes BcdGHIkQRSW, also added tracking of Unreal3.2s channel mode j
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2588 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 06:32:47 +00:00
Adam- 13f92e03be Document /ns confirm nick in /ns help confirm for services operators
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2587 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:13:07 +00:00
Adam- 6e3aa36876 Fixed passing invalid channel pointer to OnPartChannel if the last user in a channel parted, now we use NULL and just give it the channel name
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2586 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:54 +00:00
Adam- 7a429517af added options:enablelogchannel config file option, which turns on the logchannel on startup. yay!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2585 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:47 +00:00
Adam- 0e8de37778 Rewrote part of news system and moved it all to os_news.c. Removed src/news.c
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2584 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:34 +00:00
Adam- 338cb38ee8 Added 4 new events for (un)setting modes on channels and users
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2583 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:21 +00:00
Adam- 8330009373 Actually use the I_OnRestart event
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2582 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:13 +00:00
Adam- 5ab705b6fe Fixed memos so identified users not on the nick's access list can send them
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2581 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:08 +00:00
cyberbotx a6c5207859 Move 1.9.1 TODO to Changes (as 1.9.1 was released), update Changes.conf, Changes.lang, and remove Changes.mysql (probably should've been done before 1.9,1's release, but better late than never).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2580 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-24 03:49:49 +00:00
sjaz 2361cb8d40 Couple of typos in hs_request. Thanks Fudge.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2579 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-23 10:04:53 +00:00
sjaz d08461907c Couple more typo's from Fudge, cheers!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2578 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-22 11:10:16 +00:00
sjaz fb997c5057 Fixed typo in example.conf. Thanks Fudge.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2577 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-22 09:12:07 +00:00
Adam- 6de7cb6eed Added SUFFIXES .c .cpp .so to makefiles to clean up some of the code
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2576 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20 21:39:13 +00:00
Adam- 624c5ba5b6 Fixed makesfiles to work on both bsd make and gnu make
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2575 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20 21:05:51 +00:00
cyberbotx 0b3824c86a Apply some changes based on possible "flaws" found with flawfinder.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2574 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20 04:34:03 +00:00
cyberbotx 0d3ec454de Fix a few things that bugged me when I was working on one of my own modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2573 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-18 21:10:39 +00:00
jantje_85 12ac162d9e Fixed small typo in dutch translation.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2572 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-18 18:45:18 +00:00
Adam- d935d3d1b8 Call I_OnUserConnect and display news before checking if the user should be killed by sessions, sessions checking can delete the user if the IRCd doesn't send QUITs on KILL which could cause a segfault
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2570 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 20:24:10 +00:00
Adam- b705f7eda6 Fix crash when trying to parse a USERHOST reply for a nonexistant user on Unreal
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2569 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 18:33:25 +00:00
cyberbotx 00494c9020 dos2unix on files.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2568 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 15:45:19 +00:00
Adam- bbea1b5679 Give the proper error messages when trying to load/unload already loaded/unloaded modules, instead of just returning syntax error
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2567 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:17:19 +00:00
Adam- 72fed4d9bb Renamed OnServerConnect(Server*) event to OnNewServer, we have two OnServerConnect's which is slightly confusing...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2566 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:17:06 +00:00
Adam- 63f55fa78b Made MOD_STOP returned from commands really halt processing (stops OnPostCommand event being called)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2565 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:17:00 +00:00
Adam- 11709eade6 Use the most recent NickServ collide/release timer for a nick instead of using the old and rejecting new ones
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2564 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:16:55 +00:00
Adam- 3806cd8440 Fixed bug #1110 - Fixed tracking of NickServ collide/release timers to only attempt to delete real ones
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2563 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-16 17:38:21 +00:00
Adam- f6510291aa Fixed inspircd12.cpp to actually work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2562 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-14 17:39:25 +00:00
cyberbotx de917994f8 Fix CMake build generation, it was getting into an infinite loop due to the include of services.h inside of regchannel.h, will not happen now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2561 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 23:58:56 +00:00
Adam- d3d64c27b1 Complete rewrite of everything associated with modes, this breaks saving and reading mlocked modes from the databases until the new databases are implemented
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2560 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 21:26:38 +00:00
sjaz 1fd6685132 Bump for SVN Version 1.9.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2559 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 17:06:06 +00:00
DukePyrolator 5a1bc6abb4 NICK_REG_PLEASE_WAIT and NICK_GROUP_PLASE_WAIT now show the seconds until you can register/group again
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2556 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 05:01:24 +00:00
cyberbotx 0d88137738 Code style cleanup, replace static_cast<std::string>() with std::string(), slight updates to config reader from InspIRCd.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2555 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 01:17:30 +00:00
Adam- 5bcb780c6d Changed /ns confirm to not assume the user you are confirming owns the nick (have it ask the user for the password now), added nickserv/confirm opertype command value, and changed OnNickRegister event param to be NickAlias* not User*
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2554 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-12 20:56:23 +00:00
DukePyrolator c79d189e89 fixed some bugs in ns_register.c
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2553 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-12 05:19:03 +00:00
Adam- 777c6cf073 Added OnPostDatabaseLoad event, which triggers after the cores databases have been loaded AND immediatly after a module is loaded *if* the core has already been loaded
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2552 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 15:31:34 +00:00
Adam- f06eed9809 Fixed restarting Anope on Windows
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2551 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 15:21:55 +00:00
sjaz 5bfc23a07e Removed proxy server from ulined servers in example config as more people use a client proxy scanner and this should reduce occurences of user servers being listed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2549 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 12:39:07 +00:00
DukePyrolator 2896b388d7 on inspircd12, we now check for m_servprotect and give +k to our pseudo clients
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2548 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 04:15:32 +00:00
Adam- ba62e7be62 Reset errno before calling strtol in bs_kick, it would sometimes not allow valid kick settings to work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2547 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-10 16:21:50 +00:00
cyberbotx 193ab9605b Disable Visual Studio warning 4100 (unreferenced formal parameter) during Windows build, otherwise we get thousands of completely harmless warnings which slow down the build process because they all have to be displayed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2541 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-08 22:16:40 +00:00
Adam- 5d25bf4ac3 Removed OLDCHANGES from CMakes list of files to install, it doesn't exist anymore
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2540 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-07 22:42:02 +00:00
DukePyrolator dd3cce64c3 added a new event OnUserQuit, changed OnPartChannel and OnUserKicked to send the part/kick message and fixed OnUserNickChange
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2539 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-07 10:33:28 +00:00
Adam- fb5356ccbc Destroyed Command::help_param* and rewrote the help part of os_news to be much better
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2538 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-06 21:54:55 +00:00
Adam- 6ac61a1852 Fixed '/chanserv help set secure' responce
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2532 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-05 21:06:12 +00:00
Adam- 70918d2a01 Reset +r on registered channels after a netmerge when our creation time is newer than what we recieved (TS reop)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2531 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-04 21:54:35 +00:00
jantje_85 f553583f36 Fix bug #1109. Anopes now replies with proper PONGs to rfc compliant PINGs .
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2529 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 15:34:52 +00:00
jantje_85 b22091e8fa Fixed TIME on InspIRCd 1.2.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2528 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 13:47:15 +00:00
Adam- 651aacd3e9 Fixed a typo introduced in r2523 causing NickServ kill to not work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2527 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 03:39:12 +00:00
jantje_85 d02f03a7a8 Forward port of bugfix #1097. CS FORBID now clears excepts & invites before banning everyone to avoid rejoin floods.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2526 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 00:54:51 +00:00
Adam- dc4b9afebb Properly remove old callbacks from modules internal list of callbacks list, and cleaned up some of the timers code
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2524 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-02 22:19:19 +00:00
Adam- 85b409df85 Removed NS_IDENTIFIED/NS_RECOGNIZED/NS_ON_ACCESS from na->status, it doesnt belong there anymore and doesnt work. Replaced nick_recognized() with User::IsRecognized() which returns if youre recognized for the nick you are on, not necessarially the account youre logged in for.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2523 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-30 21:50:32 +00:00
Adam- 383629d718 Fixed "make clean" to really clean up all the modules
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2522 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-29 00:41:56 +00:00
Adam- f572827157 Removed old mod_version system for detecting module versions and replaced with the Module::GetVersion() function
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27 21:20:56 +00:00
Adam- 9d87b0f923 Fixed the remaining commands to always show all users help and to appear in the command list
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2520 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27 07:50:32 +00:00
Adam- 5695a8b595 Fixed bug #1108. nickserv status now replies correctly and has been changed to reply with a 3rd parameter which is for the account name the user is logged in as
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2519 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 16:12:22 +00:00
Adam- 897f11e517 Clean up inspircd12.cpp from last commit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2518 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 16:12:08 +00:00
jantje_85 f17c36c031 We no longer use authentication tokens with InspIRCd 1.2.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2517 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 14:49:06 +00:00
jantje_85 39960787de Fixed +r not being removed on netmerge from previously ID'd users who now using an unregged nick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2516 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 14:39:16 +00:00
jantje_85 43f85bf4f2 Fixed users not being validated if metadata is received, even though it s for a different nickgroup.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2515 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 14:07:37 +00:00
jantje_85 8011cd4f0b Added missing part of #1107 patch. The last user to be introduced is now also validated.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2514 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 12:52:08 +00:00
Adam- d8bd3afd76 Fixed bug #1107. We now have support for IRCds that send auth after the initial NICK/UID command, and automatically reidentifying users from their account name on InspIRCd1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2513 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 04:53:59 +00:00
Adam- 927d2717a9 Made User::CheckAuthenticationToken work properly when using any nick in a group
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2512 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 04:53:48 +00:00
Adam- de7b668ad1 Removed the file name arg from MODULE_INIT
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2510 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-20 00:40:14 +00:00
DukePyrolator 396cee7d0d partly fixed chanserv invite (it still sends the wrong message when inviting another user)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2509 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-17 05:35:43 +00:00
Adam- fcf104f0ca Really not send unknown command messages on non-fantasy commands
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2508 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-16 23:31:43 +00:00
Adam- 09b92517d0 Removed MOD_HEAD, MOD_TAIL, and MOD_UNIQUE constants
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2507 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-16 23:27:34 +00:00
DukePyrolator e16a512699 don't send any error messages on unknown fantasy commands
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2506 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-16 17:26:33 +00:00
Adam- 68592b0445 Removed command position from Module::AddCommand(), it is no longer used because of OnPreCommand/OnPostCommand
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-15 21:00:51 +00:00
DukePyrolator 2ee049d7d8 fixed a small issue in inspircd12 support, introduced with the last commit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2504 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-14 17:48:13 +00:00
DukePyrolator b88a12f8e5 fixed inspircd12 support - now we send a TS6SID on BURST
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2503 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-14 17:40:47 +00:00
Adam- f4cc123f16 Removed super admin requirement for operserv/umode operserv/oline and operserv/svsnick, and replaced with opertype command strings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2502 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-13 03:58:37 +00:00
DukePyrolator e3486a3e4b fixed a crashbug on /ns set kill. thanks to Phantomal for reporting.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2501 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 18:39:07 +00:00
Adam- 5971c272be Made elist_match_user match against users cloaked hosts
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2500 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 16:44:01 +00:00
cyberbotx cc64a00216 Fix problem with CMake's auto-library search when being run on a subdirectory of src/modules, spotted with help from DukePyrolator.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2499 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 05:49:15 +00:00
Adam- 7ea66a37d5 Fixes bugs #1105 and #1106
Now properly track users host changes and keep users cloaked hosts saved in memory


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2498 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 03:32:47 +00:00
adam- 46030bbc7e Correctly send modes string when introducing psuedo clients on InspIRCd
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2497 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 03:14:08 +00:00
Adam- 887c18a6bf Foward port of Vipers os_oline fix in r2495
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2496 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-10 01:46:40 +00:00
Adam- 2f93b4225f Added the OnBotPreLoad event to fix introducing StatServ
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2494 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-07 17:03:55 +00:00
Adam- 004d9c7b18 Fixed Makefiles to only suppress building when using run-cc.pl
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2493 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-06 04:02:36 +00:00
Adam- 1f6eff371d Fixed the reply when an oper tries to view an unregistered nicks alist to be correct
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2492 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-05 20:05:47 +00:00
Adam- a63502ff55 Change quit on kill value in inspircd1.2 protocol module to 0
This is actually an inspircd bug - only the uplink confirms KILLs with a QUIT, the other servers will not.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2490 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-01 00:32:36 +00:00
jantje_85 1f2206159e Fixed segfault bug & check_modes() going insane over uninitialized variable.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2489 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 21:40:46 +00:00
cyberbotx 9900f83d94 Fix chanserv.c to compile after DEFCON changes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2488 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 20:54:30 +00:00
Adam- 1b4aec7bda Add messages at the bottom of HELP telling you if you can/cant use the command and why, and what permission is required if there is one
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2487 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 20:46:07 +00:00
jantje_85 586c8a70f4 Forward port of several DEFCON fixes:
- Fixed defcon not setting modes on newly created unregged channels and failing to force remove defcon-locked modes. 
 - Fixed MLOCK locked mode removal getting priority over DEFCON locked mode setting.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2486 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 20:29:57 +00:00
Adam- 0a6d617073 Fixed problem introduced in last commit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2484 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 07:00:37 +00:00
Adam- 1348ef100e Properly keep track of services enforcer clients internally, they should now quit when theyre supposed to!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2483 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 05:20:09 +00:00
Adam- bcffb94eaa Fixed an uninitialized variable in Timers that could make NickServCollide fail
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2482 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 03:09:08 +00:00
adam- 7161edab00 Replaced all references in the lang files of services admins and roots to services oper
Removed all of the "Limited to X" messages, and more unused language strings


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2481 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-29 04:13:26 +00:00
adam- 03d3216cfe Removed OPER_HELP_OPER and OPER_HELP_ADMIN help entries, they are no longer used
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2478 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-28 22:15:23 +00:00
adam- 56a6cea0d5 Fixed idle time and signon time when whoising services clients on inspircd1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2470 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 22:40:49 +00:00
pimpmylinux 3b7174319a fixed typo. i apologize for being an idiot, i promise i will test even oneliners next time...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2469 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 19:41:37 +00:00
pimpmylinux 1242eb5dc9 oops, sorry :(
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2466 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 19:27:57 +00:00
pimpmylinux b0caa94985 fixed trying to delete sessions when a ulined server quits
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2465 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 19:22:32 +00:00
cyberbotx 4a91b12221 Really fix running Anope from another directory besides bin, and also fix running it from bin (apparently gdb makes the 0 argument in main() the full path, but outside gdb it's not the full path).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2463 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-23 21:50:55 +00:00
cyberbotx c15707a018 Fix bug with User::SetRealname crashing when a user with a custom GECOS connects.
Fix handling of Anope's current directory, binary name, binary directory, and data directory. This also fixes using /os restart if run from outside the bin directory.
(The second fix above is a little hackish, should look into cleaning it up later.)

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2462 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-23 18:58:13 +00:00
DukePyrolator 4bf22fa2e6 added more events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2461 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-22 04:39:22 +00:00
adam- bcf9852eec Fixed bug #1095, do not resend client introduction when using /botserv bot add and initialized chancount in BotInfo constructor
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2460 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-21 20:55:20 +00:00
cyberbotx a17d3dc27e Partial revert of r2449, my_memo_lang shouldn't have a char * parameter, const char * works just fine.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2459 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-21 19:38:10 +00:00
cyberbotx 0f3110e271 Fix build under Windows.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2458 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-20 02:49:09 +00:00
cyberbotx 6ce5c90619 Add a few items to outstanding issues in TODO, clean up a lot of warnings (not all, some require more widespread changes than this), and fix a few potential bugs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2457 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 23:13:30 +00:00
DukePyrolator 6c62e39680 fixed a possible crashbug on botserv help set
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2455 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 19:54:10 +00:00
pimpmylinux 7916c7f393 updated italian nickserv and chanserv strings, more to come
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2454 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 14:12:51 +00:00
adam- 8d247130d4 Fixed a crash when using commands if HostServ is disabled
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2453 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 01:54:13 +00:00
adam- 89e05fb880 Changed /nickserv id to allow you to switch accounts without logging out first and /nickserv logout to log you out of your account and not check the nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2452 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-15 01:15:21 +00:00
adam- ece55718e7 Set -r on nick change if appropriate and make nick tracking work correctly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2451 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-15 01:05:52 +00:00
adam- b9bf72c457 Set the correct opertypes on newly registered users
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2450 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-12 23:52:25 +00:00
DukePyrolator 577870bb45 fixed a crashbug on /hostserv activate
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2449 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-12 03:56:44 +00:00
rburchell 6b8728428b Make this really work now. Promise. serv_uplink double setting needs to go away in the future.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2447 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-09 11:19:45 +00:00
rburchell 4d52274432 Introduce clients when we first see the uplink (i.e. successfully connected), not when the uplink has finished synchronising.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2446 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-09 11:03:41 +00:00
rburchell 9464b59137 Merge do_restart_services and services_restart().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2445 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 17:18:21 +00:00
rburchell d5cf78e6f7 Remove fatal_sockerror(), as nothing actually uses it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2444 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 17:18:02 +00:00
rburchell eeb7c9c36d Also make use of synched state to introduce pseudoclients instead of blindly introducing them on connect.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2443 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:39:51 +00:00
rburchell 862011a3ee Actually, make use of it now. Pseudoclients are introduced automatically if synched with uplink.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2442 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:39:36 +00:00
rburchell 4e76d13428 Remove SSYNC_UNKNOWN. All IRCds can report sync state, and for those that _really_ can't, we can find out via PING/PONG exchange anyway. We will be making use of sync state more shortly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2441 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:39:14 +00:00
rburchell 51d869db57 ENDBURST support for inspircd(11|12).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2440 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:38:39 +00:00
DukePyrolator 64132f67c0 fixed a crashbug when adding a new botserv bot
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2439 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 12:45:20 +00:00
adam- 43d72713c5 Fixed some problems with sepstream when parsing one char tokens
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2436 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 04:06:03 +00:00
adam- 8df2076024 Clean up some of inspircds autoid code and make it not resend account name on nick change
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2435 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 22:04:47 +00:00
sjaz ec398f6a55 Split off troubleshooting into its own file from FAQ and linked to the wiki for updates. (Thanks again Amanda)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2433 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 19:00:42 +00:00
sjaz b6deabc55a Updated FAQ to point to wiki for easy ongoing maintenance.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2432 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 19:00:10 +00:00
sjaz dc261d9291 Missed pt.l in (Fixed wording in short description of CHANKILL from OS HELP)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2431 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:55:08 +00:00
sjaz 712b4a16be Fixed wording in short description of CHANKILL from OS HELP except in ru.l because it's scary. (Thanks Taros!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2429 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:49:48 +00:00
sjaz c31e267403 Remove legacy windows installer scripts not used on 1.9 & obsolete epona2anope converter.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2427 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:15:55 +00:00
sjaz 0abb809226 Fix Makefile/CMakeLists.txt with the removal of mydbgen
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2426 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:09:06 +00:00
sjaz 3d2621349c Removed unused MySQL files and am.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2425 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:58:06 +00:00
sjaz 8d621a71c9 dos2unix a couple more files.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2424 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:55:33 +00:00
sjaz 761d90e1d7 unix2dos docs/README to appease Windows.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2423 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:52:57 +00:00
sjaz c72a70ffaf dos2unix'd src/wildcard.cpp - Time to check for others!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2422 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:45:21 +00:00
sjaz 05942ff9bc dos/mac2unix'd docs/README and FAQ.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2421 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:41:17 +00:00
sjaz 20b3c6437b Truncated version.log to remove 1.7/1.8 stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2420 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:37:35 +00:00
sjaz 24a5bdf0e7 Updated FAQ to point to real URL. Thanks Amanda. <3
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2419 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:33:06 +00:00
sjaz f28fa07f3b Updated docs/README removing unsupported IRCDs on 1.9
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2418 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:31:40 +00:00
sjaz 1cc976960b Updated docs/NEWS removing old 1.7/1.8 stuff for 1.9
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2417 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:29:56 +00:00
sjaz a4bbe9908d Removed docs/OLDCHANGES because it refers to 1.6/1.7 stuff not relevant to 1.9.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2416 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:27:06 +00:00
sjaz 1fc8b1dd60 Updated docs/MYSQL with 1.9 MySQL state of play.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2415 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:23:43 +00:00
sjaz 85515696e3 Removed nicktracking from example config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2414 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:08:07 +00:00
sjaz 0b92ee8d30 Updated Changes.* to remove legacy branch/irrelevant stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2413 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:07:34 +00:00
sjaz 0fef23470c Fix path to anope binary in example.chk
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2412 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 15:43:10 +00:00
sjaz 03f03a91ae Minor typo fixes in example.conf
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2411 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 15:40:06 +00:00
DukePyrolator 1c33521c69 do not set mode +d on identify on inspircd
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2410 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 04:49:06 +00:00
adam- 52f55ef9a0 Reset +r on change to grouped nick
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2409 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-05 22:18:39 +00:00
adam- 06c26d468c Remove unneeded escapes on characters in lang files
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2408 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-05 22:14:03 +00:00
adam- 45a35e61eb Fix for bug #1091, HELP can crash without optional services clients
enabled


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2407 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04 19:31:47 +00:00
adam- 9801065683 Fixed two typos in bots.cpp that could cause crashes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2405 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04 16:37:02 +00:00
adam- ce664a160b Fixed autoid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2404 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04 01:56:14 +00:00
adam- 0d7e0274a4 Fix a crash in the ratbox protocol module when Numeric is not defined in the conf
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2403 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-03 23:42:20 +00:00
adam- b8b891cc25 Fixed some memory leaks when setting vhosts on users
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2399 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-01 08:16:27 +00:00
adam- bec179c197 Removed some now unneeded and unused language strings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2396 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-31 08:02:37 +00:00
adam- 10be3e9bb5 Fixed multiple problems with session tracking, read comments in users.c and sessions.c for more info
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2393 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-26 22:29:37 +00:00
cyberbotx b2a57b0974 Changed params parameter of Command's Execute() from std::vector<std::string> to std::vector<ci::string>, seems to have no ill effects but may require some testing to be sure.
Also a few minor cleanups here and there.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-25 00:37:43 +00:00
cyberbotx 443654f15b Changed subcommand parameter of Command's OnHelp() from std::string to ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-24 01:47:47 +00:00
cyberbotx 99fe46de55 Implement case-insensitive versions of std::string, irc::string for RFC-style case-insensitivity and ci::string for ASCII-style case-insensitivity, code from InspIRCd. Not yet used, but adding it in to use with the help system initially.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2390 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-24 01:11:49 +00:00
adam- 6a975740b3 Fixed multiple issues with os_info, including changing the /cs oinfo syntax to work with the new fantasy system
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2389 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-21 20:54:17 +00:00
adam- f8efdbf822 Added a new event for channels being deleted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2388 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-21 20:52:29 +00:00
DukePyrolator 55d4d6084e added 9 new events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2387 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-21 03:32:49 +00:00
cyberbotx cbec05c428 Fix for potentially undefined behavior in the Windows build, make the overloaded delete and delete[] operators check if the pointer is NULL before trying to use HeapFree(), thanks to Adam for pointing this out.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2385 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-19 07:24:57 +00:00
adam- 906580a463 Fixes a crash when renaming NickServ
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2384 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-18 19:32:24 +00:00
adam- e0828bf69b Fix a bug when trying to set BotServ bots as private
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2383 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-17 20:23:59 +00:00
adam- 49f1b9bc49 Fixed core clients to rejoin their assigned channels if killed
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2382 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-16 09:12:23 +00:00
adam- 81d05eb8a7 Initialize botinfo->flags on bot creation to fix some database problems
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2381 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-16 09:01:01 +00:00
adam- 17a09abb6d Fixed crashes when an unidentified users nickcore gets deleted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2380 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-16 03:51:00 +00:00
adam- 57e66618e7 Fixed ns_info to show opertype line when hidestatus is off
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2379 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-15 19:53:14 +00:00
adam- 23c654519c Fixed elist_match_user to check against vhosts, patch from sergio
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2377 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-12 19:53:26 +00:00
adam- e669382cab Updated Polish language file, thanks to Szymek
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2375 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-11 18:54:05 +00:00
sjaz 4c244b5e06 Updated README
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2373 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-11 13:15:37 +00:00
adam- 9a9d93e9f0 Added ChanServ HELP CLEAR INVITES to documentation
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2366 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-10 05:33:34 +00:00
adam- 1d53afee3f Remove channel founder status from users who logout
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2363 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-06 17:43:30 +00:00
adam- d75238496b Made pre-command channel sanity checks only apply to ChanServ and BotServ. Its not needed elsewhere and just causes issues
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2361 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-06 07:27:16 +00:00
adam- 4d19a783bd Really fix bug #1088
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2355 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-02 19:02:35 +00:00
DukePyrolator bd6a593b6c reverted last commit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2354 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-02 19:00:54 +00:00
DukePyrolator d68b3c3b6d fix for bug #1088 (missing check for null pointer). thanks to Obi_Wan for reporting
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2353 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-02 16:36:26 +00:00
adam- e8c63b5f43 Fixed some spelling errors in Config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2352 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-01 19:37:22 +00:00
DukePyrolator da8ccdad19 fixed segfault on /nickserv logout <nick>
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2351 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-01 17:59:42 +00:00
DukePyrolator d81068abc4 fix for bug #1087. thanks to Obi_Wan for reporting and testing.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2350 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-01 17:36:48 +00:00
rburchell 5a9dd79ae8 Shuffle TODO, move a number of items from planned to 'future' stage to be a little more realistic. This scales down .1 and .2 to achievable chunks.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2349 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:41:33 +00:00
rburchell 6609f829f4 Example configuration for opertypes and oper blocks, initial version written by DukePyrolator with a little refinement and addition by me.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2348 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:32:54 +00:00
rburchell 8dc849d8de No real need for another constant
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2347 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:32:16 +00:00
adam- 8c82d30112 Rename chanserv/access/change to chanserv/access/modify
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2346 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:25:57 +00:00
cyberbotx 77ad2c101c Possible fix for issue with RequiredLibraries comment check in CMake generation.
Also include extra question in Config to ask for extra arguments to the build tool used.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2345 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 20:04:09 +00:00
adam- 7cf236ef51 Made globaloncycleup message and OnServerConnect use the correct server
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2344 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 06:18:30 +00:00
DukePyrolator 670f87a22a removed include/encrypt.h from the Makefiles
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2343 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 05:20:00 +00:00
DukePyrolator 15687a7c9e changed encryption modules to use the new module API
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2342 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 04:47:00 +00:00
adam- 712cbb540c Add ability for fantasy to be disabled for some commands and strip the channel name from them
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2341 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-28 18:49:07 +00:00
cyberbotx 108cf5e60d Possible bugfix for bug #1086, specifically the issue with the inspircd12 sending ADDKILL from the servername instead of a SID or UID and with a negative expire time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2340 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-27 18:28:26 +00:00
adam- 6b9c0fe4d9 Fixed cs_getkey to not require services oper
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2339 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-27 02:11:33 +00:00
adam- 6b5786aa37 Changed module callbacks to use new Timer API
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2338 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-26 20:01:26 +00:00
adam- dc8f7923f4 Adds check for using commands on non-registered channels before the
commands are called


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2336 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-23 16:56:38 +00:00
adam- 59c1a509b4 Fix for bahamut protocol module to get the users IP when new users are introduced
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2335 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-23 08:22:06 +00:00
cyberbotx dc65eca3d8 Update TODO to show timers having been redone thanks to Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2334 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-21 19:10:36 +00:00
sjaz 01b831c4c6 Fixes broken langfiles for NS HELP REGISTER (Cheers Adam-the-Awesome!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2333 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:28:24 +00:00
sjaz 28d77b7ebe Fixes multiple issues with HELP with non-identified nicks. (Thanks Adam!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2332 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:27:44 +00:00
sjaz b81d902a2e Fixes issue with /NS INFO with non-identified users. (Thanks Adam!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2331 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:27:06 +00:00
sjaz 9eea1444fa Fixes issue with /NS CONFIRM with non-registered nicks. (Thanks Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2330 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:26:30 +00:00
cyberbotx 1ee6c20e1e Initialize the Bot flags value inside of BS BOT, fixes problem with BotServ bots on database load, patch by DukePyrolator.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2328 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 04:58:58 +00:00
cyberbotx 157dfbd5c6 Fix memory leak in NS SUSPEND, patch by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2326 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-15 20:25:08 +00:00
cyberbotx 2cc4ace60b Forward port of bugfix for bug #1082 from SVN r2322, remove check for NSModeOnID from NS UPDATE, it's not logical to check for NSModeOnID since you must be identified to use NS UPDATE anyways.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2323 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-12 03:11:29 +00:00
cyberbotx fc78e51452 Make stristr() const-safe, replace post-increment on iterators with pre-increment, remove now unused variables, made my_memo_lang() in hs_request.c const-safe.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2320 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11 20:28:06 +00:00
rburchell 8fa6752858 Cleanup of internals of new opertype stuff by Adam. Removes OS OPER and OS ADMIN, changes OS STAFF to be more helpful in their place.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2319 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11 10:16:35 +00:00
cyberbotx a68b5efe27 Added missing timers.h and timers.cpp from Adam, removed timeout.h and timeout.c.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2318 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11 00:01:08 +00:00
rburchell 695644d0c4 New timer infrastructure, can be used inside modules. Replaces old ENFORCE/COLLIDE/inhabit timers, too. Patch by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2317 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-10 22:29:59 +00:00
cyberbotx c8c89c7af0 Remove events.h, should have been deleted in earlier patch to replace events system with the new one.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2315 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-09 03:15:38 +00:00
rburchell 9ff6ed2430 New events stuff, patch totally by Adam (aka Awesome).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2313 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-06 23:33:23 +00:00
sjaz 2eae738083 Patch to fix issue with /CS INFO (Thanks Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2312 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-05 16:06:48 +00:00
cyberbotx 6bed75b41f Fix issue with using static_cast instead of reinterpret_cast for Extensible, allows for more than just char pointers to be used for Extensible.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2311 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-03 22:14:19 +00:00
cyberbotx 426f72117b Fix bug #1080, changing core pseudo-client nicks in the config should register the change when the bots are brought back online, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2310 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-03 20:29:33 +00:00
sjaz affc29aca5 Typo fix in ./Config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2309 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-03 15:51:46 +00:00
cyberbotx 3bd357725a Add SendSWhois() to inspircd12.cpp, patch by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2306 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-31 03:01:07 +00:00
cyberbotx 08b3ef7d4e Remove now unneeded checks for identified nick, patch by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2305 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-30 00:44:21 +00:00
cyberbotx deeec4fbf1 Typo fixing, spotted by DukePyrolator.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2304 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-26 04:33:44 +00:00
cyberbotx 7e8a7fc598 Make sure the .svn folder is removed when checking src/modules for subdirectories, spotted by DukePyrolator.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2303 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-26 04:26:35 +00:00
cyberbotx c1bc7cbafc Added ability for CMake to build a module from a subdirectory of src/modules.
Added calculate_libraries() CMake macro to condense library checking in CMakeLists.txt in src/modules.
Fixed slight problem with strip_string() macro call in root CMakeLists.txt.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2302 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-25 18:58:51 +00:00
sjaz 3fa978c958 Fix from Adam for a segfault in /NS ALIST
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2300 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-16 09:35:39 +00:00
sjaz 1f48897042 Patch to allow jupe on all bar uplink and self. Thanks Adam. (Bug #1076)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2298 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-08 15:10:52 +00:00
cyberbotx feab2cb854 Move where command permission checking is done, patch by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2296 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-07 23:59:11 +00:00
sjaz 2d050edb4e Fix link to Link Block Generator on our site. Good find whoever it was :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2295 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-07 17:35:41 +00:00
cyberbotx dc102049b0 Adds check for opertype permissions to mod_run_cmd() in commands.c, and adds optional parameter to Command class constructor that takes the opertype permissions for the command.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2292 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-05 22:26:41 +00:00
sjaz 845b15ddd9 Fix segfault in /os chankill (Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2291 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-26 16:40:36 +00:00
sjaz b9d2e9c092 To document the use of /ms set notify mail and nomail. (Backported to 1.8 in r2289) (Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2290 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-26 16:40:06 +00:00
sjaz 49512f902c Patch to rectify Syntax output from langfiles. (Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2288 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-22 18:12:36 +00:00
cyberbotx 3a6a3330ac Fix crash if NS SET <anything> was used without a parameter, spotted and patched by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2286 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-19 22:36:08 +00:00
jantje_85 086ae2c6ce Forward Port of r2284: Don't enfoce akick/forbidden/etc.. settings on clients on ulined servers.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2285 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-17 22:48:13 +00:00
rburchell 3e9bd7583c Check Command::permission in command handler.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2283 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:29:21 +00:00
rburchell fc4f89e079 Add Command::SetPermission member to centralise access checking. Remove duplicated comments at the same time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2282 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:28:52 +00:00
rburchell 723e3f2ce0 PERMISSION_DENIED -> ACCESS_DENIED string.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2281 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:28:21 +00:00
rburchell 89883ac325 Remove finished extra
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2280 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:26:43 +00:00
rburchell 89850c85a9 Remove unused modules_unload_all fini param
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2279 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:26:24 +00:00
cyberbotx d8e1f104a4 Show proper syntax errors on CS BAN and CS KICK, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2278 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 02:18:07 +00:00
cyberbotx 76e83f613b Remove 2 unneeded ternary operators, the result is the same with or without them, patch from Sergio.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2275 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-13 19:07:49 +00:00
cyberbotx 22b53ec9cd Correct help for CS INFO and add syntax errors for cs_modes, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2274 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-13 00:35:55 +00:00
cyberbotx dccb56a496 Copy Extensible::GetExtList() from InspIRCd, patch from DukePyrolator, plus 2 small cosmetic tweaks.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2273 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-12 05:08:59 +00:00
cyberbotx 1787a8ac27 Remove files from the modules runtime directory on startup, just in case files were left behind during a previous run. Suggested by DukePyrolator and Namegduf.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2271 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-11 06:55:40 +00:00
cyberbotx a2b1284aac Fix more problems with help, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2270 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10 02:16:07 +00:00
cyberbotx 7b6a109100 Added missing help to BS ACT, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2269 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10 01:52:09 +00:00
cyberbotx 56464bbdd8 Fix crash in mod_help_cmd when a non-existing command is looked up, spotted by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2268 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10 00:10:27 +00:00
cyberbotx 87ecbec79d Remove all remaining uses of (My)SQL from the code.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2267 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-07 05:31:14 +00:00
cyberbotx 578da38d30 Replace Set*Help() functions with virtual *ServHelp() functions that can be overriden in a module's Module class. Patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 21:25:56 +00:00
sjaz fbb1ab9246 Patch to make changing bots not send multiple QUIT commands (Thanks Adam).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2265 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 16:40:07 +00:00
sjaz cd034d6935 Patch to allow NS CONFIRM and NS RESEND to be used by non identified users. (Thanks Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2264 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 16:37:02 +00:00
sjaz af85de47c7 [#1039] Patch to update documentation on CS RESTRICTED to reflect historical behaviour. FORWARD PORT from 1.8. (Thanks Adam for both!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2263 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 16:32:40 +00:00
cyberbotx 178def8291 Remove is_services_admin() check from cs_enforce to allow build to succeed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2261 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 02:38:38 +00:00
cyberbotx 9f20b2f7dd Removed is_host_setter() and is_host_remover() from code and replaced them with opertype priv "hostserv/set", removed <hostserv:hostsetters> from configuration.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2260 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 01:27:18 +00:00
rburchell df627065ac Marking these volatile isn't a lot of use, and it is confusing.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2259 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 01:15:13 +00:00
rburchell ad77b5ee2d Remove various uneeded priv checks.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2258 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 01:09:07 +00:00
rburchell 146ecc2fbb Remove is_services_* methods.. this forces us to actually remove uses of them.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2257 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 00:52:25 +00:00
rburchell 36f523249a Fix access checking in core
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2256 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 00:49:50 +00:00
rburchell b0b8e70442 Fix access checking on ns_*
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2255 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 00:49:11 +00:00
cyberbotx 2dba060c6a Patch from DukePyrolator to include an OnUserNickChange() event to replace EVENT_CHANGE_NICK, also patch from me to have the ratbox protocol module send account data on login and logout.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2254 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 21:16:33 +00:00
cyberbotx a7316c1770 Fix ratbox protocol to use TS6SID for sending (UN)RESV, and fix m_privmsg to correctly find the core pseudo-clients if the IRCd sends a UID instead of a nick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2252 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 18:36:10 +00:00
rburchell a6f0b5e8d4 Don't generate UID twice in ratbox protocol module. This is a leftover from before the core generated UIDs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2248 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 17:37:15 +00:00
cyberbotx 821c6ac90b Reintroduce sending login/logout account messages, they were added back in SVN r1944 but went poof with the command API change.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2247 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 06:53:40 +00:00
cyberbotx aab6dad14f Fix compile error in ru.l due to lack of tabs in an earlier commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2246 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 06:01:56 +00:00
cyberbotx 6280432bc7 Fix bug #1047, patch from Adam, fixes documentation of CS CLEAR OPS.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2244 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 02:50:14 +00:00
cyberbotx 6d97b7f8f9 Fix bug #1045, patch from Adam, suspended channels can no longer be administered, and control over checking forbidden and suspended channels has been moved out of the modules and into the core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2243 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 02:42:06 +00:00
cyberbotx c6ef1e0390 Added service argument to OnPreCommand, added OnPostCommand event, changed the following modules to use On[Pre|Post]Command instead of hooking into existing commands: hs_request, ns_maxemail, and os_info.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2242 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 00:16:15 +00:00
rburchell 48ef6617ac Remove capability for commands to hook existing commands, add an OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code.
NOTE: This will break some stuff.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 22:59:27 +00:00
rburchell ef400fa6dc Remove restrictgetpass option from the conf
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2239 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:35:44 +00:00
rburchell 93baed333f Remove rootmodeonid, opermodeonid, adminmodeonid - unused, and utterly useless/bad.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2238 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:33:28 +00:00
rburchell e9e5ccc891 Remove NSRestrictGetPass, and replace it with opertype usage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2237 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:27:47 +00:00
rburchell d37f569188 More miscellaneous bits.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2236 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:24:08 +00:00
rburchell a39137e271 Fix up a bunch of access checking to be a bit more modern and so on
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2235 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:21:43 +00:00
rburchell 25050df434 Apparantly I forgot to update some language files.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2234 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:18:22 +00:00
rburchell b79c68d829 Change some stuff to use NC::IsServicesOper instead of is_services_*.
Remove some unused language strings also.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2233 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 23:32:06 +00:00
rburchell 6712748378 Boink.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2232 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 20:07:47 +00:00
rburchell 3cdca9e47a Replace nick_is_* checking of static userlevels with NickCore::IsServicesOper, which just confirms they have *an* opertype.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2231 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 19:56:40 +00:00
cyberbotx e57feb4ef6 Removed NICK_INFO_SERVICES_[OPER|ADMIN|ROOT] from the language files and added NICK_INFO_SERVICES_OPERTYPE to them. NOTE: This will break compiling until the removed language strings are replaced in ns_info.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2230 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 19:55:01 +00:00
cyberbotx 4ef30a4de9 Fix compile error in servers.c.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2229 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 17:03:50 +00:00
rburchell 76755725e5 These are (now) horribly out of date. When we're ready to implement what ones we need, we can grab them back out of SVN (or more likely just do them from scratch..)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2228 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 14:51:27 +00:00
rburchell 8a01e21a48 Send snotice after connecting to the network. Also change OnServerConnect to take Server*, not a name.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2227 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 14:44:33 +00:00
rburchell ab9c1e4651 Fix ss_main's client introduction.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2226 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 14:43:04 +00:00
cyberbotx fdfc12f398 Detach all module hooks when a module is unloaded, patch from DukePyrolator, thanks for spotting this!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2225 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 18:27:01 +00:00
rburchell ba8f609eb0 Yet *neither* send HOST_OFF here..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2224 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 10:08:36 +00:00
rburchell 114b2d4989 Needed to apply this to 1.2 too, oops.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2223 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 10:07:50 +00:00
rburchell 2d270cd0bf Forward-port Szymek's vhost patch.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2222 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 10:00:58 +00:00
cyberbotx 89c2c02904 Fix bug #1073, fantasy commands in CTCP ACTIONs will now be ignored instead of processed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2217 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 06:15:58 +00:00
sjaz 6245821dfe #1042 Fix for CS SUSPEND/FORBID so that it doesn't act upon opers on rejoin. Thanks Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2216 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-29 21:15:15 +00:00
sjaz 0430fbf861 #1058 Patch to fix HS REQUEST memo to include ident. Thanks Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2215 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-29 21:12:09 +00:00
cyberbotx 007b73e5a9 Fix bug #1036, patch from Adam, correct the kick reason used when a channel is forbidden or suspended without a reason.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2214 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-28 16:22:49 +00:00
cyberbotx 7ec6b68e84 Fix bug #1032, patch from Adam, the help for CS GETKEY has been condensed and the return result of the command is a human-readable string.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2213 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-28 15:42:14 +00:00
rburchell 7a92feb474 Regenerate UID on BOT CHANGE, don't try reuse an existing one.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2212 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 23:03:21 +00:00
rburchell 601c546957 Fix protocol violation error.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2211 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 22:53:16 +00:00
sjaz 3f57c91613 Bug #1061 - Fixed minor typo in English Langfile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2210 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 20:16:56 +00:00
cyberbotx 3d4fb90353 Fix potential crash problem with use of free() instead of delete[] from earlier bugfix of bug #1054, also remove item for * help set from TODO as it's been fixed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2209 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 15:56:16 +00:00
cyberbotx 5c325b5d12 Slight cleanup on TODO, move item about oper flags into 1.9.1 and move the ?'s inside the brackets for consistency.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2208 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-26 03:48:50 +00:00
cyberbotx 60b18508e0 Fix problem with CMake under Windows, spotted by therock247uk on the forums, CMake now checks for the environment variable VCINSTALLDIR (only set in the Visual Studio command prompt) and also fixes the check for #ifndef.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2207 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25 17:36:47 +00:00
cyberbotx 8fc031fb84 Fix bug #1009, patch inspired by DukePyrolator, add a TS6 SID generator from DukePyrolator, as well as change SendServer() to take a Server struct and use the result of new_server() in the SendServer() call instead.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2206 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25 16:12:24 +00:00
cyberbotx d8c4e705a2 Fix bug #1066, language strings for NICK_SET_HIDE_SYNTAX, NICK_SASET_HIDE_SYNTAX, NICK_HELP_SET_HIDE, and NICK_HELP_SASET_HIDE all show STATUS as a choice now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2205 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-24 01:38:27 +00:00
cyberbotx 3495e8a575 Fix parameters of NS SET within ns_maxemail so it doesn't break ns_set's version of it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2204 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-24 01:24:04 +00:00
cyberbotx b7a995c1f1 Allow a core Service's ident, host, and real name to be changed, but disallow changing their nicks. Fixes the BS BOT CHANGE part of bug #1070.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2203 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 21:59:11 +00:00
cyberbotx 807770c40a Patch from Adam, fixes logging and notices regarding recent channel access list change.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2202 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 21:07:30 +00:00
cyberbotx b3eeb815b6 Replace manually allocated array for NickCore's access list with an std::vector, cleans up the code and provides a more sane interface, also fixes bug #1023 in the process.
Also add missing help for NS ACCESS.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2201 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 21:05:29 +00:00
cyberbotx da43e02228 Partial fix for NS REGISTER not displaying syntax error if only 1 argument is given, not completely fixed due to how OnSyntaxError is called, problem spotted by DukePyrolator, thanks!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2200 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 18:30:30 +00:00
cyberbotx ca28b7c1b3 Patch from DukePyrolator, allow unregistered users to use NS GROUP.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2198 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 05:07:52 +00:00
cyberbotx da4ce1788f Patch from DukePyrolator, only show the message about using NS INFO ALL if the user hasn't used NS INFO ALL.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2197 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 05:07:43 +00:00
cyberbotx 190a3de3b9 Fix bug #1044, CS SET MLOCK no longer requires a parameter, and leaving out the parameter renders the mlock to +r as it should be.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2195 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 04:54:30 +00:00
cyberbotx ce09914e1d Fix part #2 of bug #1010, patched partially by Adam and cleaned up / finished by me, the help commands should work as expected now, including "help set ..." and similar help entries.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2194 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 04:29:25 +00:00
cyberbotx 656cc9973e Fix bug #1065, patch from DukePyrolator, force a user off a nick when it is suspended.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2192 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 02:51:05 +00:00
cyberbotx a9ced70eed Add opertype access checks to OS QUIT, OS RESTART, and OS SHUTDOWN, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2191 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:55:22 +00:00
cyberbotx 5b988a5e17 Fix bug #1033, patch from Adam, fixes the documentation of CS BAN.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2190 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:50:32 +00:00
cyberbotx 5fe4d0f43d Fix bug #1064, patch from DukePyrolator, fixes NS RECOVER so it doesn't display "(null)" in some places.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2188 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:40:32 +00:00
cyberbotx 96f98ebbb6 Really fix bug #1062, patch from Adam, BS ACT and BS SAY should no longer send revealing error messages to users without access.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2186 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:30:16 +00:00
cyberbotx d6522b5220 Fix bug #1062, patch from Adam, BS ASSIGN should no longer show revealing error messages to users without access.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2185 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:16:04 +00:00
cyberbotx 3ff8e96e14 Replace manual array for ChannelInfo's access list to use an std::vector instead, cleans up the code by a huge portion and fixes bug #1024 in the process.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2184 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:06:40 +00:00
cyberbotx 5d56ed0158 Fix bug #1030 for 1.9.x, patch by Adam, plus cosmetic tweaks, deleting from the channel access list now logs a message about the deleted items.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2179 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:22:12 +00:00
cyberbotx 497aa0c012 Fix bug #1043, patch from Adam, CS LIST will no longer show suspended channels to normal users.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2178 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:21:58 +00:00
cyberbotx a7189482f5 Show access denied if you do not have access to CS SUSPEND, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2177 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:21:32 +00:00
cyberbotx 26e09b3b7f Partial fix for bug #1038, patch from Adam, NS OINFO and CS OINFO now properly set a new oinfo line.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2176 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:21:02 +00:00
cyberbotx e78066213a Fix bug #1041, patch by Adam (with coding style tweaks by me), CS LOGOUT should work as expected now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2174 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17 02:56:05 +00:00
cyberbotx 610dbf5c92 Fix bug #1054 for 1.9.x, patch from Adam, Anope no longer shows the entire message that was ignored, now it only shows the command that was used.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2173 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17 02:55:53 +00:00
cyberbotx 0892ef1361 Fix bug #1040, patch from Adam, CS INVITE not displays messages for successful invites and failed invite due to being in the channel already.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2172 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17 02:55:46 +00:00
cyberbotx adca908bce Remove variable shadowing in os_oline, patch from Phenoix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2171 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-16 15:37:02 +00:00
cyberbotx d93c79358e Remove variable shadowing in ms_rsend, patch from Phenoix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2170 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:44 +00:00
cyberbotx 7d0b69b94b Correct a set of potential security holes in varags usage in ns_sendpass, patch from Phenoix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2169 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:34 +00:00
cyberbotx 8cc5b194d4 Correct a set of potential security holes in varags usage in ns_register, patch from Phenoix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2168 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:23 +00:00
cyberbotx 89e63ed395 Remove variable shadowing in ms_send, patch from Phenoix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2167 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:10 +00:00
cyberbotx c01cd051c3 Patch from Phenoix to correct a set of potential security holes in varargs usage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2165 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 00:39:59 +00:00
cyberbotx b6c2d8b52e Fix but #1050, MS STAFF's syntax shows correctly, required adding a language string as well, currently they are all English until they can be properly translated.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2164 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 00:12:59 +00:00
cyberbotx 68ff62f6e3 Fix bug #1056, patch from Adam, BotServ kickers should now ban for like it should.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2163 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 23:23:52 +00:00
sjaz 4f4b42562a Fixed typo on operserv which was stopping opersonly working. Good find Adam. (You do pick up the weirdest of things ....)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2162 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 19:06:23 +00:00
sjaz 0a2b6b9573 Amended error message from "server numeric" to "server id" as per discussion on
forum to avoid confusion. (We might want to think about this in the long term but 
for now, this will help reduce confusion).


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2161 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 18:24:48 +00:00
sjaz 6ac077e2cb Updated langfiles for /CS HELP INVITE to show that you can only invite yourself. ALL done in English until we can establish a means of maintaining the langfiles reliably and properly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2160 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 18:20:21 +00:00
sjaz d2fd84d41f Fix for bs badwords deletion. Good find Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2159 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 17:50:39 +00:00
cyberbotx ea5245f416 Fix bug #1055, keetopic != keeptopic.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2158 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 12:55:00 +00:00
cyberbotx 40005c5029 Fix bug #1035, patch by Adam, now bans set through CS ENFORCE can be removed through CS UNBAN or CS CLEAR BANS.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2157 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 01:17:55 +00:00
cyberbotx 8974008304 Really corrected CMake version checking.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2156 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-11 23:05:21 +00:00
cyberbotx 29b9577bd2 Fix the CMake generation to work with older versions of CMake 2.4.x, cleaning up some of the macros and also correcting the code to detect what version of CMake is in use.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2155 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-11 20:10:00 +00:00
cyberbotx 174bb94648 Fix bug #1020, +f and +L parameters are read from and written to the database regardless of what the IRCd says it can handle, as the databases are loaded prior to Anope connecting to the IRCd and the InspIRCd protocol modules default to saying +f is a mode they don't support until after Anope connects to InspIRCd.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2150 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 03:21:33 +00:00
cyberbotx 3b634c3770 Fix /cs set mlock to not use strtok, which wasn't working due to the change in the command API to not use strtok at all, indirectly found because of bug #1020 (which was for 1.9.0 where /cs set mlock functions properly).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2149 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 03:14:27 +00:00
cyberbotx 4184b7df44 Fix bug #1025, the message for "no such entry" should show whatever was number passed in to the command, not -1 every time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2148 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 02:41:13 +00:00
cyberbotx 4ddc1cebd1 Fix bug #1028, the *_getpass and *_sendpass modules will now refuse to load if the given encryption module is unable to do decryption.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2147 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 02:35:59 +00:00
cyberbotx 54762245b8 Fix bug #1027, properly send a Globop on CS DROP, patch provided by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2146 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-08 03:10:21 +00:00
cyberbotx 63e8a8f6c2 Fix slight warning that comes up with gcc 3.4.x but not 4.2.x, this should be done anyways.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2144 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-07 03:06:05 +00:00
cyberbotx 16bd616604 Fix bug #1026, Anope shouldn't crash on /ns set greet now, was just a small but fatal typo.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2143 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-06 23:26:20 +00:00
cyberbotx 9a97a0b3cf Fix bug #1022, the problem was inspircd12 specific and the pseudo-clients will now respawn.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2142 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-03 15:30:36 +00:00
cyberbotx 7a1217e97c Fix typo in inspircd11 module preventing it from connecting even if m_hidechans is loaded on InspIRCd.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2141 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-03 15:13:51 +00:00
cyberbotx efcd7636dc Force locale to C so messages from gcc don't get translated, thanks to DukePyrolator for spotting this.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2140 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02 21:05:05 +00:00
cyberbotx c6f4b95131 Added a strip_string function to Anope.cmake, cleaned up other parts of Anope.cmake, added better find function for #include lines, added functionality for CMake to auto-detect includes in non-standard locations.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2139 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02 01:33:47 +00:00
rburchell 6794273f7d Oper restrictions on memoserv commands.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2138 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 17:32:44 +00:00
rburchell e8ce6e0b10 Missed converting this to opertypes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2137 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 17:31:16 +00:00
rburchell a07fd592cb Remove CSRestrictGetPass, it is unneeded with the introduction of opertypes. [Adam]
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2136 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 00:50:04 +00:00
rburchell bd7f4f8c49 Patch from Adam, reducing duplication in cs_modes. Untested.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2135 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 00:49:37 +00:00
rburchell 090107db5f Add access checking to cs_* modules. Also change number of arguments for cs_modes commands.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2134 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 00:48:36 +00:00
pimpmylinux f2fb7ef53f fix inspircd sending broken UID message when introducing its clients
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2133 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-25 15:26:57 +00:00
cyberbotx 36de15de5e Fix SendAkill() in inspircd* modules, they were sending the wrong timestamp (instead of sending the current time, they were sending the time of the akill's creation).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2131 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 03:18:38 +00:00
cyberbotx ab6ee16aa2 Updated inspircd11 module to look for m_hidechans.so module and updated inspircd12 module to also look for that module as well as error if m_globops.so isn't loaded.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2130 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 02:49:54 +00:00
cyberbotx 48560524a3 Fix slight CMake issue where it wasn't including win32_memory.cpp with protocol modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2129 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 02:21:07 +00:00
cyberbotx a5206c33b9 Fix slight linking error in Visual Studio, spotted by Brandan.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2128 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 02:01:46 +00:00
cyberbotx 419b4c8002 Fix odd crash bug in the inspircd* modules by replacing use of myStrGetToken with spacesepstraem, also fix a problem on Windows with not having FD_ZERO in the sgets() function before FD_SET is called, both spotted thanks to Brandan.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2126 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 00:58:46 +00:00
cyberbotx 9123489c32 Added Anope.cmake, moving all my CMake macros into it.
Fixed CMake error when CMake older than 2.4.8 is used, there is no 'touch' command in cmake -E, spotted by Adam.
Fixed Config to auto-detect CMake and revert to configure if CMake isn't found.
Fixed install.js on Windows to show errors in running CMake and detect if there were errors.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2125 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-22 22:25:15 +00:00
rburchell fa0d664063 Forward port of patch by DukePyrolator fixing memory leak on +beI modes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2124 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-22 17:20:30 +00:00
rburchell c3f28223f8 Also allow RECOVER/RELEASE, reported by Adam and Raff7.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2123 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21 22:19:40 +00:00
rburchell 8d05e8510f Allow NS GHOST from an unregistered sender, reported by Raff7.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2122 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21 22:16:44 +00:00
cyberbotx 1707cf3dd3 Fix cs_access not displaying syntax errors and having a signed vs unsigned bug, spotted by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2121 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21 01:25:37 +00:00
rburchell bb666ab902 Fix missing variable.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2120 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 21:59:56 +00:00
rburchell 7723437a81 Fix a few warnings. Also move split_usermask into cs_akick, as this is the only place it is used.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 21:59:31 +00:00
cyberbotx 805253de36 Preliminary support for a module source file (within src/modules) to include a comment saying it requires certain external libraries and having CMake search for the library automatically.
Note: This sorta works for both *nix and Windows, probably *nix more-so than Windows, but this needs some cleaning up. It does work as is, though.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2118 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 04:03:13 +00:00
rburchell 40680e2535 Fix ns_update, thanks DP. Fix two compile errors.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2117 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 00:23:50 +00:00
rburchell c917ca5a34 Remove (and neuter) old event system. Not used by anything in core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2116 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 00:23:14 +00:00
rburchell 23f5e9de79 Move last of events that are in the core distro over to newevents.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2115 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 00:22:46 +00:00
rburchell 6c1d764c4f Fix problems with registration being denied, thanks Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2114 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:54:17 +00:00
rburchell 2b0914ae36 Add OnUserConnect event, mark OnSaveDatabase deprecated pending db redesign.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2113 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:48:46 +00:00
rburchell d20e4eb6ee Seems Changes entry didn't get committed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2112 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:34:56 +00:00
rburchell e11b5b5ace Patch from DP, converting all match calls and removing old match method.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2111 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:34:32 +00:00
rburchell 12cc633457 Add nickalias to build. Also stop sstrdup on args that seem to be NULL, it's getting ripped out anyway.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2109 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:01:43 +00:00
rburchell bcb857f118 Move EVENT_DB_SAVING to newevent.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2108 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:00:41 +00:00
rburchell 187c45059a Move assign and unassign to new events, allow for halting too should modules desire that.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2107 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 22:59:16 +00:00
cyberbotx 3fe5aa037a Fix numerous errors in Win32 building under Visual Studio due to the many changes to trunk. Trunk now builds under Windows like it should.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17 02:02:20 +00:00
rburchell 7af9e42d21 Hook events correctly in constructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2105 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17 00:31:42 +00:00
rburchell abd083b1e3 Oops.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2104 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 23:49:38 +00:00
rburchell d07de70fc3 Move EVENT_RELOAD to OnReload.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2103 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 23:48:03 +00:00
rburchell c1c9e17d79 Move OnUserKicked to a module event.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2102 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 23:47:28 +00:00
rburchell ce3a04f0a8 Modevents, ported from insp. Typesafe (unlike the current ones), no double hashing overhead (faster), no useless memory allocations (copies of the args)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2101 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 22:59:59 +00:00
rburchell f756f2b394 Fix compile warning.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2100 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 22:59:36 +00:00
cyberbotx 7ea34be0b8 Fix output of reason in os_chankill when AddAkiller is used, spotted by DukePyrolator, thanks!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2099 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 22:08:45 +00:00
cyberbotx 6bd851a4d0 Replaced time_t with long in the ValueItem class, this was preventing building under FreeBSD. Works under FreeBSD and Linux now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2098 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 20:35:56 +00:00
rburchell 8d90a23689 bleep.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2097 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 19:11:42 +00:00
rburchell ea45d96968 If you use finduser(), and then use the result, it helps if you actually finduser() to a pointer to save the result, doh. Thanks to DP!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2096 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 18:58:44 +00:00
rburchell 771eb5cf1f Fix wrong service listed in "to identify"
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2095 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 16:18:24 +00:00
rburchell e1f80a1833 Prevent potential overflows of time values.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2094 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 15:08:42 +00:00
rburchell 0374d53d28 Add 'w' and 'y' support to dotime(), also prevent a possible overflow - thanks to DP.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2093 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 15:05:46 +00:00
rburchell 578755d627 Fix segfault on shutdown, thanks Ankit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2092 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:57:19 +00:00
rburchell 89ab54f0d7 Another segfault found by DP :P
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2091 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:56:58 +00:00
rburchell 80de50711e Make DumpCore actually do something again.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2090 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:41:33 +00:00
rburchell 43bad5d4ae Default options::dumpcore to yes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2089 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:32:27 +00:00
rburchell 0d86da4f5d Add Adam's pre-team contributions to Changes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2088 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:24:54 +00:00
rburchell caeebbfa6f Add contributions by DP to Changes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2087 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:24:39 +00:00
rburchell 549e9446d8 Allow NS STATUS from unregistered users, thanks DP!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2086 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:24:17 +00:00
rburchell 14c2617e41 Move botserv/administration "metacommand" to a priv. What was I smoking when I wrote this?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2085 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:12:48 +00:00
rburchell 6112d479f9 Wild pointers do not a happy Anope make. Thanks DP :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2084 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:12:26 +00:00
rburchell 04fe8e623c Allow NS REGISTER to unregistered nicks, silly oversight. Thanks DP! :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2083 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 11:54:03 +00:00
rburchell c8422a6029 Fix call order, thanks to DP
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2082 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 11:33:39 +00:00
rburchell 010c774bc2 Revert "Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c."
This reverts commit fcab9857f55567f10eaecbd6b26ee96f0f549d65.

This isn't a simple sed operation, the order of arguments changed, so this would break everything using it.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2081 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 09:17:24 +00:00
cyberbotx 22e8e87a00 Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2080 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 06:19:37 +00:00
cyberbotx 15a2e1d4e4 The language strings of HelpServ had escaped me! But I hunted them down and now they are no more.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2079 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 23:57:25 +00:00
cyberbotx c5a376cbc8 Removed notice_user() and replaced all calls with Used::SendMessage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2078 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 23:09:41 +00:00
rburchell 629422ed86 Remove nicktracking option, not used now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2077 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 22:33:17 +00:00
rburchell d1611b640b Remove User::na, use User::nc everywhere. Will probably break everything, but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :)
More tweaking for na/nc usage.

It compiles, but it's still a work in progress.

Again, this compiles, but I *bet* there's no chance in hell it'll work. :)

Slightly better.

Set User::nc correctly.

Fix crash with unregistered nicks in core and ns_access.

Fix glist to work when you're not on that particular nick.

Fix ns_set to not crash and burn horribly.

Fix ns_set and ns_logout to not do bad things.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2076 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 22:29:18 +00:00
cyberbotx 0e5b71923b Update TODO that HelpServ has been destroyed (although without the note of me getting +1000 points)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2075 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 17:58:37 +00:00
cyberbotx ba47bf2f6f HelpServ has been destroyed, +1000 points. Also fixed the argument order in the deprecated match_wild() function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 17:47:52 +00:00
rburchell 330d9ee9e7 Add nickcore
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2073 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 17:40:56 +00:00
rburchell d84701deec Switch to using u->nc, courtesy of Rob, this means admin privs won't mysteriously vanish on changing nick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2072 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:25:14 +00:00
rburchell 38711cded6 Merge master into svsopers.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2071 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:24:51 +00:00
rburchell 550e371f10 Set required command string for botserv modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2070 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:24:35 +00:00
rburchell c8aae1c6ee Implement opertype methods for priv/command access.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2069 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:24:12 +00:00
rburchell 92170818ff Fix CFLAG_ALLOW_UNREGISTERED.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2068 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:57 +00:00
rburchell 0c985ee709 Check nick_identified() instead of u->na, as this may incorrectly treat people as identified.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2067 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:41 +00:00
rburchell f74036dc58 Set CFLAG_ALLOW_UNREGISTERED on commands which should be usable for unidentified users.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2066 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:26 +00:00
rburchell d121c4bd37 Add CFLAG_ALLOW_UNREGISTERED, commands without this flag will now not run for unregistered users.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2065 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:03 +00:00
rburchell 02452a0375 Split Command implementation from definition.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2064 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:22:40 +00:00
rburchell 8324379346 Can now correctly tie users to opertypes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2063 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:22:20 +00:00
rburchell 855847f428 Shuffle shit around.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2062 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:21:55 +00:00
rburchell f07229a9ee Blah, blah..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2061 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:21:35 +00:00
rburchell f92bf30f15 Fix compile error.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2060 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:21:06 +00:00
rburchell b10305ef3b Convert to use new, (drastically) faster matching algorithm, from InspIRCd. This adds Anope::Match(), and marks match_wild() and match_wild_nocase() deprecated.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2059 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:20:47 +00:00
rburchell e1828057c3 Add include/svsoper.h, add skeleton methods/doc.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2058 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:20:23 +00:00
rburchell bce21304f7 Add svsopers.cpp to build.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2057 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:19:57 +00:00
rburchell 2e75a5c4a4 Fix makefile, it's a cpp not a c.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2056 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:19:39 +00:00
robbeh 09dedba379 First stab at adding User::nc as requested!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2055 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 14:54:56 +00:00
cyberbotx 602b468efd Remove os_restart from the TODO, it was verified to work it just didn't like gdb.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2054 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 02:11:19 +00:00
cyberbotx 84d789c72b Replaced notice_lang with notice_help in all OnHelp() functions in modules. Also fixed a few smaller issues regarding the help in the modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2053 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 01:59:21 +00:00
cyberbotx 6d835a6e49 Edit IRCDVar of inspircd12 so certain modules don't load on that IRCd, and small cosmetic fixes on a few other protocol modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2052 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 01:16:26 +00:00
cyberbotx 2c9f2eb991 Audited all src/modules/* and deleted bs_fantasy_unban (it was obsoleted).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2051 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 01:00:20 +00:00
cyberbotx 0717d63c75 Audited all remaining os_* modules, excluding os_restart (it causes a SIGTRAP that needs to be narrowed down).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2050 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 23:54:34 +00:00
cyberbotx bf020d8dfd Removed references to RAW in config and lang files. Kirby from Dreamland ate them, he was hungry. Probably wasn't good for his appetite, though.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2049 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 23:04:19 +00:00
rburchell 77174a7b4d protocol: split implementation from interface for cleaner code.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2048 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 22:41:40 +00:00
cyberbotx 214f6712fe Removed os_raw, it was never supported by the Anope team, and now it no longer exists. It is no more. (It might've been eaten by a Grue, I think.)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2047 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 22:38:08 +00:00
pimpmylinux 71870e6667 applied patch from Adam to fix some potential screwups
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2046 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 16:12:35 +00:00
cyberbotx 0e991f0e72 Audited os_session with help from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2045 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 03:45:26 +00:00
cyberbotx 99967932a4 Audited os_global and os_modinfo, thanks to Adam for spotting and fixing these.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2044 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 03:18:38 +00:00
cyberbotx b167c89ca6 Audited os_akill, os_set, os_sgline, os_sqline, os_staff, and os_szline.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2043 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 03:08:25 +00:00
cyberbotx 4b291b12f8 Fix error when install directory in instal.js contains spaces, spotted by Rexona.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2042 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:47:08 +00:00
rburchell 1344bc5728 Move 1.9.0 TODO to Changes, as it's, er, done.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2041 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:44:53 +00:00
rburchell 4587546330 Pass the right array to do_umode(), fixes mode tracking on Unreal. Thanks to DukePyrolator (yet again :P)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2040 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:25:11 +00:00
rburchell 4e5c094033 Fix bs_set help, thanks to DukePyrolator! :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2039 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:12:17 +00:00
rburchell 7633d9e248 Fix segfault, noted by DukePyrolator. Thanks!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2038 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 16:48:23 +00:00
rburchell a7855fd0ba Fix slist symbol mismatch.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2037 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 15:40:10 +00:00
rburchell 8d0aa3b589 Audit ns_*.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2036 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 15:39:55 +00:00
rburchell e616889a78 Fix part one of #1010, reported by DukePyrolator. (Language settings are not respected in message sending.) Thanks!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2035 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 15:39:33 +00:00
rburchell 4310c712c3 Fix memo sending causing crashes due to unresolvable symbol at runtime, mark ms_* as audited.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2034 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 14:23:13 +00:00
sjaz 45b4074e0d Two very small typo's in example.conf.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2033 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 06:27:11 +00:00
cyberbotx 2b0646a148 More fixes to bs_bot from Adam, plus an extra fix within DoAdd not covered in Adam's patch.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2032 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 04:07:07 +00:00
cyberbotx b9a80f28f7 Audited os_modload, os_modunload, os_shutdown, os_stats, and os_svsnick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2031 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 03:44:51 +00:00
cyberbotx c78784ac28 Audited os_reload, os_umode, os_update, os_userlist, and ss_main.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2030 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 03:18:44 +00:00
rburchell 61cf1f325f insp12: don't try sstrdup() a NULL argument if sid is not set.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2029 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:34:34 +00:00
rburchell b75fadf73d Correctly lower TS (if the ircd provided it) on reciept of JOIN messages. This fixes dropped mode changes coming from services on TS6 (and TS6-alike) ircds for channels where TS is dropped elsewhere on the network.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2028 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:34:17 +00:00
rburchell b0535c7760 inspircd11: Pass chants in JOIN message to not blow away timestamps.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2027 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:34:00 +00:00
rburchell c9120ca031 hs_* audited.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2026 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:33:40 +00:00
rburchell 0e0ee67b81 enc_* don't require audit, as they do not implement commands.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2025 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:33:06 +00:00
cyberbotx baaed4b764 Fix bs_bot to use the correct parameters, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2022 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 03:53:12 +00:00
rburchell 2e5b573192 Auditing of remaining cs_ modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2021 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 00:14:59 +00:00
rburchell 58b0279f7f Audit cs_kick, cs_list, cs_logout, cs_modes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2020 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 00:00:50 +00:00
rburchell a512f7cdd7 cs_help, cs_identify, cs_info, cs_invite audited.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2019 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:59:58 +00:00
rburchell 30b3d92d94 Audit cs_forbid, cs_getkey, cs_getpass.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2018 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:59:38 +00:00
rburchell 4836d9548d Audit cs_ban, cs_clear, cs_drop.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2017 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:59:18 +00:00
rburchell 394d3b9325 Audit cs_access and cs_akick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2016 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:58:57 +00:00
robbeh 9ed99ed5f4 I feel like a xanadu dev commiting only the TODO file!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2015 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 20:44:49 +00:00
rburchell cdec4027a8 Finish audit of BotServ commands.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2014 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 13:59:56 +00:00
rburchell badcd21abb Make max params work correctly, and fix bs_act to request params correctly. Audited as working ok.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2013 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 11:17:10 +00:00
rburchell 136ea16ed8 Fix naming discrepancy meaning some commands were not issuing syntax errors.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2012 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 10:46:14 +00:00
rburchell 3cc5bf39f5 Add full list of modules that require review as a result of command changes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2011 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 01:01:06 +00:00
rburchell b0e41b4811 Fix *_help, so they work and, uh, don't crash.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2010 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:57:47 +00:00
rburchell 56633e894d NS HELP requires 0 params minimum.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2009 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:42:05 +00:00
rburchell 0701b7df9f Fix NS REGISTER not being registered as a command handler properly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2008 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:39:46 +00:00
cyberbotx 94916b32cb Fix example.conf to use os_news instead of os_logonnews, os_randomnews, and os_opernews.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2007 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:31:17 +00:00
rburchell b0edff488a Fix crash loading bs_set on 1.9.1.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2006 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:28:07 +00:00
rburchell 0a5ae7e6d8 Fix 1.9.0 -> 1.9.1 incompatibility on a patch.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2005 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:23:25 +00:00
rburchell f4cdea8348 Revert oper protection patch from SciFi, it breaks things. This reverts commit fee057ae11daea45295744f0e9e13f1d0ce0f2b4.
Conflicts:

	TODO

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2004 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:20:17 +00:00
rburchell 429da2b886 Fix for bug #1004, based from second half of patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2003 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:12:51 +00:00
rburchell 87ce2aa25d Partial patch by Adam, commenting fix for #1006 for future reference.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2002 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:12:20 +00:00
cyberbotx 87c8744724 Fixed compile errors within src/modules/*.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2001 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:07:53 +00:00
cyberbotx 6f9f2617e7 Fixed compile error in ss_main.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2000 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:53:25 +00:00
cyberbotx 8c2430d02d Fixed compiler error in os_userlist.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1999 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:51:37 +00:00
cyberbotx e2f6064f10 Fixed compile errors in os_szline.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1998 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:49:24 +00:00
cyberbotx 87065c514a Fixed compile errors in os_svsnick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1997 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:39:48 +00:00
cyberbotx 0c17078092 Fixed compile errors in os_stats.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1996 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:37:31 +00:00
cyberbotx f9e7760a23 Fixed compile errors in os_shutdown and os_sqline.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1995 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:27:00 +00:00
cyberbotx 53e79c2155 Fixed compile errors in os_sgline.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1994 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:17:46 +00:00
cyberbotx fe78ca1399 Fix compile errors in os_set.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1993 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 22:56:06 +00:00
cyberbotx e1bdc807a8 Fixed compile errors in os_session.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1992 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 22:46:49 +00:00
rburchell 88186bfd2c Fix mistake noted by CyberBotX.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1991 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:48:47 +00:00
rburchell 2e08b60cf7 Fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1990 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:46:57 +00:00
rburchell 7d58ed17c7 Fix os_news and os_noop.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1989 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:37:52 +00:00
rburchell 79f09ed157 Various fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1988 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:16:20 +00:00
rburchell b1ee732713 Few fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1987 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:16:00 +00:00
rburchell ef9f97fa05 Help() -> OnHelp(), return true.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1986 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:15:39 +00:00
rburchell 7a4b0418bc Fix ns_set.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1985 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:15:24 +00:00
robbeh 3d8245a5a6 fixed typo in ns_saset.c dealt with constness for change_core_display and added ASTYLE to contain astyle options
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1984 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 20:47:53 +00:00
rburchell d01df85cd1 More fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1983 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 19:34:31 +00:00
rburchell 1ed7d17b5d Various compile fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1982 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 19:34:03 +00:00
rburchell b48c18b011 Fixes..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1981 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 17:01:21 +00:00
cyberbotx b496e60eb0 Fix compile errors in hs_* modules, as well as add some const-safeness to HostServ functions.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1980 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:56:24 +00:00
cyberbotx 2bf017a0e1 Fixed compile errors in cs_xop.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1979 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:38:28 +00:00
rburchell 5fa7167181 Fix a few (easy) compile errors.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1978 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:19:14 +00:00
rburchell fe39b96db7 Fix modules to use the right type (CommandReturn, not CommandResult)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1977 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:17:16 +00:00
rburchell e225e7e628 Change cs_set to use new commands API (ugh, this sucked.)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1976 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:07:26 +00:00
rburchell b15c46d795 Move getstring() and getstring2() from macros to functions. This fixes a bunch of warnings, and means they are actually *readable*, as well as type-safe and const.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1975 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 13:54:09 +00:00
rburchell e7a1572317 Clean up a few warnings.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1974 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 13:30:24 +00:00
rburchell 1fd0249076 NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 12:26:09 +00:00
cyberbotx e7a6661baa Do not pack the build directory into the tarballs from now on, also fix subtle error in install.js for Windows when the last characters of the script's path is a backslash.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1972 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 12:00:47 +00:00
rburchell 018f1a50b2 Bump version to 1.9.1-explodes-on-impact.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1971 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 10:07:17 +00:00
rburchell 4d89b91ed3 Change ns_set to use subcommand for help display.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1970 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 10:04:34 +00:00
robbeh 24dbf4e00c Use a virtual destructor for Commands as it has virtual functions
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1969 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 09:17:34 +00:00
rburchell 28a0108e0b Fix a few quick compile errors.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1968 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 09:07:32 +00:00
rburchell 87dc82f3e9 Convert cs_modes to new commands API.`
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1967 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 00:00:17 +00:00
cyberbotx 0a06ce6490 Changed cs_register to use new command API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1966 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 23:19:09 +00:00
cyberbotx d931ce8096 Changed cs_sendpass to use new command API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1965 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 23:13:36 +00:00
cyberbotx fc0deb2181 Changed cs_status to use new command API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1964 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 23:01:59 +00:00
cyberbotx de6a85bdf5 Changed cs_suspend to use new command API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1963 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:53:42 +00:00
cyberbotx 0ab4571106 Changed cs_topic to use new command API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1962 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:45:18 +00:00
cyberbotx 8c815bedeb Changed cs_xop to use new command API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1961 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:34:55 +00:00
robbeh d684f3c556 Moved myChanHelp so it'll compile ;)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1960 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:17:43 +00:00
robbeh 3fe6a25236 Moved cs_list.c to use the new command API
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1959 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:09:22 +00:00
rburchell 8c5a7e7aea Convert cs_logout to new commands API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1958 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:04:14 +00:00
rburchell e7228b6289 Remove gone do_backtrace() prototype and call from memory.c
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1957 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:35:04 +00:00
rburchell 72b86bcf72 Remove some references to the (removed) waiting variable.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1956 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:33:51 +00:00
rburchell eec4e00b16 Fix typo.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1955 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:33:07 +00:00
cyberbotx ff6477e6dd Changed os_sgline to use new command API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1954 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:06:36 +00:00
rburchell d7d01bdc5c Squashed commit: merge next (1.9.1) back to trunk.
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:01:05 +00:00
rburchell d49b3a25fd Modify version string to 1.9.0-release
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1951 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 19:17:18 +00:00
cyberbotx 9312af211e Fix bug #1008 by moving parse_options() back to init_secondary() (reverts r1426) and moving the options for -debug, -nofork, and -support into parse_dir_options() instead (real reason for r1426).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1950 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-08 21:03:52 +00:00
cyberbotx 92f744e421 Fixed Autotools to detect *.cpp files in the src/core and src/modules folders.
Also small fix to the Windows install.js call to CMake to include quotes around the source's path.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1949 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-08 19:05:35 +00:00
rburchell 1aba1eb3ea Indicate what bot wasn't modified (CBX, this was our bug! :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1948 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-07 23:21:04 +00:00
rburchell 932391f34e Forward-port r1946: Patch by Adam fixing #1006 (originally caused by #922): modes set by ChanServ are reversed. Thanks!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1947 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-07 22:39:10 +00:00
robbeh 226710743e Backported mooncups patch and added a message to /hs off when using inspircd12.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1945 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-07 22:15:54 +00:00
rburchell a0925f2d4c Add the capability to (properly) send login/logout account messages, used for InspIRCd at present, others are possible in the future (ircu etc). NOTE: This currently doesn't trigger on DROP, which is probably a bad thing.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1944 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-07 21:58:27 +00:00
sjaz 1e5825ab57 Updated anoperc.in to reflect relocated services binary
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1942 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-01 15:16:47 +00:00
cyberbotx 4f312227d7 Moved the tools executables to the bin directory, and fix anoperc's install location to also be bin.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1939 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-26 23:07:11 +00:00
cyberbotx c1df37e5ba Move Anope's executable (anope.exe for Windows / services for *nix) to be installed to the bin subdirectory, primarily for the Windows package.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1938 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-26 20:39:00 +00:00
rburchell 0dac2dbc49 Check noexpire/readonly in expire_all(), not the mainloop. Otherwise, expiry will happen on shutdown.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1935 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-26 20:07:28 +00:00
cyberbotx 422197c87b Fix crash when loading HostServ database with a null vIdent, found by Ankit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1934 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-24 14:35:43 +00:00
rburchell 7379abc04a Trap empty idents from older Anope mysql UseRDB imports, and don't allow them to be set.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1933 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-24 14:03:46 +00:00
rburchell 619c513bee Fix warning.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1932 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 09:46:03 +00:00
rburchell 1d1e21fce2 Fix stuff. Thanks Ankit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1931 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 09:38:32 +00:00
rburchell acde0c64ee Correctly handle parameterised modes in FJOIN, fixes bug #987.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1930 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:38:45 +00:00
rburchell ea0533be0f Insp sends QUIT on KILL, so don't destroy the user record immediately. Fixes bug #995 (QUIT from nonexistant user), reported by Ankit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1929 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:27:40 +00:00
rburchell 1f102694aa Possible fix to bug #998, reported by Ankit (bad password count is not correct).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1928 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:17:05 +00:00
rburchell 7439706b3b Fix a signed vs unsigned warning (this also means Anope will correctly function on networks bigger than the positive size of signed int, but who's counting?)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1927 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:16:28 +00:00
cyberbotx ea0ac23e43 Fix bug 1000, do not allow a nick to be grouped if the IRCd protocol deems the nick invalid.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1925 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-22 11:47:18 +00:00
cyberbotx dd6c5a57e8 Fix bug 997, Anope no longer crashes if a kick is non on a non-existant user.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1922 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-15 02:22:43 +00:00
cyberbotx c767dcac5f Fix bug 992, cause was an unsigned value of 0 having 1 subtracted from it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1921 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-13 02:13:39 +00:00
cyberbotx f7088139a0 Fix bug 993, Anope was crashing on /os reload, no longer crashes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1920 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-12 18:25:28 +00:00
cyberbotx cf266b95c9 Small update to TODO for 1.9.0.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1919 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-11 02:24:44 +00:00
cyberbotx ff62cb2eea Fix crash bug in os_modload when a non-existant module is given, thanks to Ankit for spotting this.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1918 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-06 16:37:30 +00:00
cyberbotx 4dca000328 Really fix bug 985, had to fix security hole in User::SendMessage() as well.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1917 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-05 08:30:13 +00:00
cyberbotx 6e3a5ade35 Fix for bug 985, secure calls to SendMessage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1916 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-05 08:15:24 +00:00
sjaz 73bd4f99ca Housekeeping contact address updates.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03 17:06:39 +00:00
sjaz 8903e93474 Added quotes to Config.bat to fix windows error when initiated from spaced path (Input Error: There is no file extension in "C:\Documents".)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1911 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:45:24 +00:00
rburchell 0173105a11 This shouldn't have been changed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1910 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:56 +00:00
rburchell fba6ec736d Update copyrights for 2009.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:35 +00:00
cyberbotx cd10010f50 Possible fix for a crash bug in the InspIRCd 1.1 module.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1894 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31 07:24:45 +00:00
cyberbotx c16600fee5 Removed check for HAVE_VA_LIST_AS_ARRAY, it broke MemoServ.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1893 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31 02:05:50 +00:00
cyberbotx 23f4c6b439 Edited Config to create a build directory if the user tried to run Config directly from the source directory, to prevent in-source building but not complain to the user about it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1892 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 22:10:32 +00:00
cyberbotx 8287325d4d Fix install errors with Autotools build system.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1891 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 19:04:43 +00:00
cyberbotx 7974747cc2 Fix bug 977, topics should show the nick of the user instead of UID now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1888 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 03:40:46 +00:00
cyberbotx 7c2d66cbfc Fix compile error in recent AKICK fix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1887 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 00:56:41 +00:00
jantje_85 6ab2f3b010 Bug 983 :: Forwarding patch to dev branch. This Fixes akicklist not being reordered after a nickcore is dropped.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1886 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 23:35:22 +00:00
cyberbotx 7d9865150a Edits to CPack-related part of CMake to not include Autotools-built files from a dirty source tree.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1884 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 22:04:53 +00:00
jantje_85 47fb48706c Removing one free too much..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1882 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 22:02:38 +00:00
cyberbotx a66a6cdd79 Include edited vsvars32.bat that was referenced in WIN32.txt.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1881 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:47:32 +00:00
cyberbotx 7de39e3d4a Removed anoperc.cmake and left anoperc.in to be used by Autotools and CMake.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1880 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:14:24 +00:00
cyberbotx a022f27a07 Updated INSTALL and WIN32.txt docs to explain usage of CMake.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1879 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:08:21 +00:00
cyberbotx 110dbb673e Final modifications to Autotools build system to work alongside CMake build system. CMake build system will only allow out-of-source building now. Removed all old NMake Makefiles for Windows to focus on use of CMake on Windows (it's not as important to require the old system on Windows like it is on *nix).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1878 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:08:13 +00:00
cyberbotx bd2cb095aa Modifications to the Autotools build system to try to make it work with the changes made from CMake, still untested (again, don't use this commit).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1877 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:07:55 +00:00
cyberbotx d6bb55476c Revived Autotools from the grave, although it'll need some tweaking to work alongside CMake now. (In other words, don't use this commit, I committed this so I don't have to re-add these files again if I screw something up.)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1876 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:07:38 +00:00
cyberbotx 0bb13ddf57 Really fix the reverting back to r1870.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1874 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 09:32:05 +00:00
cyberbotx e0c10d684e Reverting my last 2 commits in an attempt to fix my own screwball mistake.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1873 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 09:02:03 +00:00
cyberbotx 6a2c0a7785 Merge branch 'cmake'
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1872 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 06:57:35 +00:00
cyberbotx 432edbf68f Merge branch 'cmake'
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1871 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 06:57:30 +00:00
rburchell f5209be18a Fix uninitialised variable usage leading to stray freeing of memory.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1870 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 02:50:30 +00:00
jantje_85 f88808b431 Forgot one in last commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1868 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27 12:11:33 +00:00
jantje_85 f30c8e19d5 Fixed crashbug in the banlist processing.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1867 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27 11:53:05 +00:00
cyberbotx 33b7492264 Better check for the backtrace function (actually look for the function, not the execinfo.h header)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1866 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26 20:02:25 +00:00
cyberbotx 967f42b4fc Minor CMake cleanup, moving include directories and defines to use include_directories and add_definitions instead.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1865 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26 19:14:49 +00:00
cyberbotx 77893492da Allow CMake to still check for the -pipe flag with CMake 2.4.3 or older, also small addition to install the MSVCRT library if needed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1864 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-25 07:37:16 +00:00
cyberbotx 5982fc4e68 Slight update to README to include myself and w00t (as per r1853 in 1_8_0 branch).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1863 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-24 03:56:34 +00:00
jantje_85 fe67916159 Fixed problem with unreal protocol module not storing usermode changes. Not the nicest patch, but should do the job.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1862 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23 23:27:37 +00:00
cyberbotx e802b6dfe8 Some more Windows fixes, both in CMake and in the code itself. (I don't like the const casting for the latter, but it's only until we get rid of use of strchr)
Added CPack setup to automate generation of source package for *nix and NSIS installer for Windows.
Some other minor CMake fixes.
Converted docs/README and docs/WIN32.txt from Unix linefeeds to DOS linefeeds so they show up right in Notepad under Windows.
Added small fix for Visual Studio 2008, CMake doesn't detect the Express version correctly and it must be explicitly defined.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1861 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23 07:38:22 +00:00
cyberbotx 40ec6f0854 Some more CMake edits, this allows versions of CMake as early as 2.4.0 to work now.
Also fixed an issue with adding the dl library to the linker flags, reported by Obi_Wan, thanks!

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1857 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-21 17:42:39 +00:00
rburchell 4ef5ab0306 Forward port: fix incorrect debug message, r1855.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1856 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-20 19:15:28 +00:00
jantje_85 fff6aadc1e Fixed crashbug in db-merger.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1851 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-20 12:46:32 +00:00
cyberbotx 75b4bc020f Some more CMake fixes for 2.4.x (Apparently 2.4.x before 2.4.8 didn't have a FIND sub-command for the list() function)
As a side-note, I'd also recommend trying (it's not required) to get CMake 2.6.x to use with Anope, the workarounds to get 2.6.x's functionality with 2.4.x are slow.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1849 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19 20:09:37 +00:00
cyberbotx 51353104ee Updated the CMakeLists.txt files to function under CMake 2.4.x (earliest version to work is 2.4.4 now).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1848 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19 02:25:31 +00:00
rburchell ab658faa91 Fix compile error.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1847 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19 00:06:43 +00:00
cyberbotx 2cf1042582 Removed empty and thus unneeded folders.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1846 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-18 02:32:18 +00:00
rburchell 6db8824d0b Fix umode +d bug slightly more properly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1844 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 23:57:18 +00:00
rburchell a5c031382e Don't crash on server-sent private messages.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1843 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 23:17:49 +00:00
cyberbotx ca4db9f235 Removed the old autotools files that are no longer needed because of the use of CMake.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1842 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:19:13 +00:00
cyberbotx 81b7aa6571 Massive cleanup of the CMakeLists.txt files to finalize them.
Edited configuration scripts for *nix and Windows to use CMake as well as support both in-source and out-of-source builds.
Changed directory structure for *nix to match Windows to remove some conditionals in both CMake and Anope itself.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1841 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:18:40 +00:00
cyberbotx fd45a3ad42 Implemented dependency calculation within CMake, now header file dependencies are no longer hardcoded.
Also a few minor changes to the CMakeLists.txt files.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1840 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:18:11 +00:00
cyberbotx ad7b5bdd30 A few GCC 3.4.x and MSVC++ warning fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:17:52 +00:00
cyberbotx c4a8cc7e2f Fixed issue with the MSVC++ build of Anope crashing on a DLL throwing an exception, thanks to w00t for pointing out the overloaded new/delete operators from InspIRCd.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1838 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:17:30 +00:00
cyberbotx 88701c226e More CMake work, adding win32.rc generation and fixing some other problems.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1837 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:17:13 +00:00
cyberbotx 2d72446860 More CMake work, mostly to handle both *nix and Windows builds.
Also some tweaks to generation files (like version.sh) to take both input and output files as arguments, to handle CMake when it's used for an out-of-source build.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1836 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:16:55 +00:00
cyberbotx 1cd73b4dad Implemented CMake build system to replace the old autoconf-based build system.
(Note: Although each Makefile was changed, they will be removed later as CMake reconstructs them.)
Also fixed generation of language files and version.h to not rely on the current directory they are in.
Edited Config to send parameters to cmake, but it is no longer a requirement.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1835 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:16:25 +00:00
rburchell 1fca479d8e Add charset stuff to 1.9.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1834 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:03:13 +00:00
rburchell 92fa9d99e3 Note that ss_main+service class is good to go, retarget signals stuff at 1.9.1 (it's a bit messy to touch now)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1833 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:02:32 +00:00
rburchell ea3b19a22c Fix an incorrect variable name.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1831 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 19:22:51 +00:00
rburchell b4b2a7bd1b Forward-port 0f3414de39df90405cf6c98a51194e957e8e5afa from 1.8: don't set +d when setting svid on a user w/ unreal protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1830 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 19:22:35 +00:00
rburchell b9b70be010 Forward-port b00da8a8a5d15f3d96bb2da72c8be7a9caf6861e from 1.8: only set +si on forbidden or suspended channels.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1829 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 19:22:19 +00:00
rburchell 6e53f2c591 Forward-port f9f00043eda253ab2aa97fff029befa072074b2a from 1.8: don't decrement session count twice on NS GHOST
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1828 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 19:22:00 +00:00
cyberbotx 5b18e7144d Updated Win32 Makefile to include ss_main.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1823 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-01 01:30:14 +00:00
cyberbotx b779e4d3bb Removed Service class, if we need something like it later we can add it back, but for now it's just an extra class without a purpose.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1822 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 16:25:26 +00:00
cyberbotx 685edb9999 Set ss_main to be permanent, as well as set it's type, author, and version.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1821 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 16:17:45 +00:00
cyberbotx f62207f8d3 Fix issue with ss_main where it doesn't recreate StatServ when it's unloaded and loaded at run-time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1820 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 16:12:18 +00:00
cyberbotx 7f555f08e7 Modified BotInfo to store a pointer to a command hash table (this is so modules like ss_main can store their own commands but still have them called by the core).
Updated the current sample of ss_main to utilize BotInfo instead of Service (which might be removed) as well as accept a HELP command.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1819 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 05:50:25 +00:00
cyberbotx ccb8c76295 Added ss_main.c, a small sample showing how to create a pseudo-client from a module, will soon become StatServ though.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1817 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 04:11:25 +00:00
cyberbotx f300ac836e Add services.cpp that didn't get sent with r1814 or r1815. >.<
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1816 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:35:52 +00:00
cyberbotx 68deba3296 Renamed Services to Service, keeping it more in line with the naming of other classes in the core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1815 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:34:19 +00:00
cyberbotx 3e9413c835 Added start of Services class to be used by new and existing pseudo-clients.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1814 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:34:13 +00:00
cyberbotx f9d4002ba8 Forward-port of r1754: changed error message to be more descriptive...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1813 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 21:36:21 +00:00
cyberbotx e8e95f4dfd Removed a few instances of AnopeFini that were still clutching on for dear life, only to be cut down in their prime.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1812 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 16:27:47 +00:00
rburchell be278d2bb8 Remove (void) args, these just make things ugly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 16:16:53 +00:00
rburchell 72e09121b2 Revise TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1810 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 16:03:14 +00:00
cyberbotx 000b8b3423 Removed mod_current_module, again, so far, no ill-effects...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1809 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 06:32:45 +00:00
cyberbotx f439924aa2 Removed mod_current_module_name, so far no ill-effects...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1808 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 06:20:40 +00:00
cyberbotx bdc13b4d6d Removed mod_current_user and mod_current_op, the latter of which was only an extern.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1807 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 06:00:47 +00:00
cyberbotx c11d431dd0 Removed mod_current_module and mod_current_module_name from moduleDisplayHelp().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1806 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 03:42:33 +00:00
cyberbotx b2f1f14320 Remove a few prototypes to module-related functions that were moved to the Module class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1805 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 03:16:25 +00:00
cyberbotx 7fdd8d7872 Moved moduleSet*Help() functions to Module::Set*Help().
Also corrected a few issues with tabs in the help lines for non-core modules caused from the space->tab conversion a while back.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1804 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 03:05:31 +00:00
cyberbotx bac9e520ed Moved moduleNoticeLang() to Module::NoticeLang().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1803 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 01:04:57 +00:00
rburchell bf3da7cd80 Add TODO for 1.9.1
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1802 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27 18:18:15 +00:00
cyberbotx c0c73e4abd Moved moduleGetLangString() to Module::GetLangString().
Also changed modules_unload_all() to not delete a module directly, but instead call ModuleManager::UnloadModule().

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1801 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27 05:35:34 +00:00
cyberbotx 3964ead17e Moved moduleDeleteLanguage() to Module::DeleteLanguage().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1800 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27 03:13:27 +00:00
cyberbotx 2e41f43ace A few more Win32 fixes, Anope 1.9 compiles and runs under Windows now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1799 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 22:13:01 +00:00
pimpmylinux 797edb40ba test commit... with little todo addition :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1798 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 19:47:57 +00:00
cyberbotx c5b9eaeda0 Various fixes for compiling under Windows.
Also updated ms_* modules to use std::vector Memo struct from earlier commit.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 01:41:39 +00:00
cyberbotx 90f6431603 Fixed issue with nick changes showing the new nick as non-existing.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1796 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 21:58:24 +00:00
cyberbotx 55b6e0438d Used std::vector for MemoInfo's memos variable instead of an malloc'd array.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 21:22:10 +00:00
cyberbotx 6faec5eb4a Possible fix to the delete that explodes the world.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1794 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 11:26:24 +00:00
cyberbotx d2e3963d78 Fix another issue with writing channels in db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1793 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 02:57:45 +00:00
rburchell 2557d0b091 Fix this, delete that explodes the world.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1792 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24 23:14:41 +00:00
rburchell 0779326cce Off by one?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1791 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24 21:49:11 +00:00
cyberbotx e6acd6dc96 Fix issue with writing channels in db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1790 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 22:49:32 +00:00
cyberbotx f73beeefa2 Added small document explaining C++-style casting. Includes links to web pages explaining them as well.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1789 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 19:12:29 +00:00
cyberbotx 8431ac369b Converted many C-style casts to C++-style casts.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 19:12:20 +00:00
rburchell 5950b11a0f Fix example id
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1787 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 17:53:51 +00:00
rburchell 379983726b Various stuff for channels..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1786 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 17:53:29 +00:00
cyberbotx bfedbe0370 Fixed a potential memory leak in the config parser.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1785 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 18:24:20 +00:00
cyberbotx fb5d7d1815 Properly initialized new objects when needed so they don't contain garbage data.
Also, converted line endings in os_ignore_db from CR+LF to LF.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 02:31:23 +00:00
cyberbotx 16e667a2ce Replaced most uses of smalloc and scalloc with new, replaced most uses of free with delete.
NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 01:11:19 +00:00
rburchell 1532aa675f Fix bug leading to only one core being correctly converted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1782 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 19:39:06 +00:00
rburchell 9aadd803eb Finish a comment it seems I only ever half started
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1781 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 18:11:05 +00:00
rburchell becf84ee20 Don't send OPERTYPE for Services pseudoclients, this should not cause problems as services are remote users, and should gain less spam on services connecting, and no need to fiddle with /lusers counts.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1780 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:58:09 +00:00
rburchell e6dfa9cf53 Don't allow registration of nicks beginning with a digit on Insp12 (disallows UID registration)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1779 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:33:10 +00:00
rburchell 36a896fba0 Remove unnecessary comment
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1778 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:32:49 +00:00
rburchell a295adfb93 Retarget some more difficult things to post 1.9.0
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1777 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 16:36:11 +00:00
rburchell 30c1a1d3e4 Write aliases and memo data in new DB format
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1776 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 16:35:57 +00:00
rburchell d0d05dc98e Save the number of channels the account has registered, also
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1775 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:03:00 +00:00
rburchell fd152875a5 Remove unused data/tables.sql
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1774 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:02:44 +00:00
rburchell 69ffec087f Save memos and access in new db.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1773 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:02:30 +00:00
rburchell 5a64d74e70 Cleanup of some comments and includes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1772 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:02:15 +00:00
rburchell 4c76e49100 Convert numeric language IDs to string IDs ("en", "fr", etc) in db converter, this will allow for less fragility (and removing languages that no longer exist), and so on.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1771 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 10:16:45 +00:00
rburchell 6e54bbc507 Insp12: override SendGlobopsInternal to properly send GLOBOPS, also remove hard dependancy on m_globops by sending SNONOTICE A (notice to general oper snomask) if it is not loaded on the network.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1770 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 09:55:57 +00:00
rburchell ab85c3fe9b Fix ident changing being broken
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1769 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 09:55:32 +00:00
cyberbotx 84d9048b21 Cleanup in example.conf.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1768 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 03:05:07 +00:00
cyberbotx e8d0d9fc4d Update TODO with regard to config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1767 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 03:42:58 +00:00
cyberbotx 04c8b28ae7 Removed some signed/unsigned comparison warnings.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 03:35:16 +00:00
cyberbotx b62f8b67f5 Changed integer config values that were marked PARAM_POSINT in the old config to unsigned integers.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 02:06:30 +00:00
cyberbotx fa82184d9c Removed old example.conf and replaced with example_new.conf, services.conf will now be read by the new parser and not services_new.conf
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1764 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 02:06:20 +00:00
rburchell 42fe52c078 Call find_byuid() if isdigit(*nick) and ircd->ts6 (most likely looking up a uid). Fixes insp12 stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1763 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 00:11:45 +00:00
cyberbotx d1515210cf Moved include of configreader.h to stop undefined reference to strlcpy (needs testing).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1762 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 00:05:38 +00:00
rburchell 5e78b4dc56 Commit WIP converter, by no means final, ugly, etc, please ignore this commit! :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1761 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:24:34 +00:00
rburchell d3b2d4c5a4 Remove duplicated copy of binary_to_hex()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1760 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:23:31 +00:00
rburchell ba20023fb4 Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to migrate settings.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1759 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:22:46 +00:00
rburchell 1a8633d81a Remove merging side of things.. we just want to plonk data in from one set of dbs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1758 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:21:55 +00:00
rburchell 4506d0e05b Copy db-merger to db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1757 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:20:25 +00:00
cyberbotx 0f069f0e8b Converted modules to use ConfigReader to access new config parser.
Added all module directives to new config.
Removed references to old config parser (not sure if I got them all, though).

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1756 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 00:48:29 +00:00
cyberbotx 1a2fdff0c6 Added ConfigReader class from InspIRCd to be used in modules to read config files using the new config parser.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1755 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 23:58:33 +00:00
rburchell 4cd33b4290 Fix various shadowed warnings in db-merger, db-merger is about to become the basis for db-convert, because I'm lazy.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1753 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 19:24:03 +00:00
cyberbotx 57b115363c Removed autokilldatabase directive from operserv block as it is no longer in use with the removal of legacy database support.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1752 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 17:06:20 +00:00
rburchell 8f66ecfe0d Mark done
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1751 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 15:28:04 +00:00
rburchell 16321e7638 Remove an insane amount of backwards compatibility from database loading, this means that only latest DB versions will load, others will print an error.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1750 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 15:26:18 +00:00
rburchell a7e4a8e0fc Two items to TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1749 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 15:25:58 +00:00
cyberbotx dbcc42e932 Added localhost and localport directives to serverinfo block in new config.
Removed some more MySQL references.
Added proper check for uplink block to make sure there is at least one defined.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1748 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 03:24:48 +00:00
rburchell b41009db5f Refactor nick enforcement to make a bit more sense.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1747 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 21:06:46 +00:00
cyberbotx ffbcff1604 Added support for multiple uplink blocks in the new config.
Moved the type and id directives from the uplink block to the serverinfo block.
Small config fixes.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1746 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 19:31:31 +00:00
cyberbotx 72a4c7e6c7 Added module blocks for autoloading non-core modules.
Modified buildStringList to take an std::string and use spacesepstream instead of strtok.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1745 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 17:44:35 +00:00
cyberbotx 0db67c7938 Fix a few lines added/changed earlier to be the way they should be.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1744 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 02:20:12 +00:00
rburchell cbb6c43c7e Mark perm channels (partly) fixed. Proper fix will wait for 1.9.1.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1743 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 02:03:51 +00:00
rburchell 92280e7a25 Mark removal of UseTS6 and other options done.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1742 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 01:33:15 +00:00
rburchell aee9590287 Correct logic: don't allow UID init if IRCd does not support TS6
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1741 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 01:27:07 +00:00
rburchell 1d45a53fa2 Remove UseTS6. This is now on or off at an ircd, not a config level. Move Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1740 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 01:26:47 +00:00
rburchell 61f2ce9a41 Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go away, as it is hacky, and no longer used with any of the ircds.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1739 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 00:56:47 +00:00
rburchell 01806ba861 Remove UnRestrictSAdmin.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 00:56:17 +00:00
cyberbotx 69d5982adb Remove the MySQL related directives from the old config as MySQL has been ripped out of 1.9 for the time being.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1737 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:49:16 +00:00
cyberbotx 8131ca2c98 Added ulineservers directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1736 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:49:07 +00:00
cyberbotx 77c47e06a8 Added newscount directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1735 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:55 +00:00
cyberbotx 561096f729 Added restrictopernicks directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1734 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:44 +00:00
cyberbotx a5ef72b9b4 Added nickregdelay directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1733 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:33 +00:00
cyberbotx 45e9c393df Added anonymousglobal directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1732 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:20 +00:00
rburchell b9656d2e63 Add a few items to TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1731 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:46:27 +00:00
robbeh c52f0e5cac Check for MOD_ERR_OK instead of any number - this will prevent getting an error message stright after a success message when a module was unloaded properly :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1730 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:45:41 +00:00
robbeh 2d768eb325 Modules now delete themselves instead of letting the core do it (just incase one of them has used a custom delete operator)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1729 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:25:40 +00:00
cyberbotx f0fe5427ff Added globaloncycleup directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1728 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:20:13 +00:00
cyberbotx 3ae892c608 Added globaloncycledown directive to options block in new config.
Added ValidateGlobalOnCycle function to validate the directives that control Global on cycle.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1727 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:20:00 +00:00
cyberbotx e696a843fc Added globaloncycle directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1726 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:50 +00:00
cyberbotx 78b1bc9b0a Added hidestatso directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1725 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:38 +00:00
cyberbotx dd4069b504 Added dumpcore and logusers directives to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1724 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:28 +00:00
cyberbotx dc2176560d Added usestrictprivmsg directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1723 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:49 +00:00
cyberbotx 2aff20acc0 Added useprivmsg directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1722 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:37 +00:00
cyberbotx db43487faf Added forceforbidreason directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1721 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:20 +00:00
cyberbotx c30ec33695 Added keepbackups directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1720 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:02 +00:00
cyberbotx f3bb3064d2 Added keeplogs directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1719 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:38:50 +00:00
rburchell 372c9add36 Add newline
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1718 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:36:15 +00:00
rburchell 5e38abcccc Add forgotten new header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1717 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:32:36 +00:00
rburchell e2645b91c3 Mark moduleGetData update as done.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1716 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:17:32 +00:00
cyberbotx 28a7779174 Added timeoutcheck directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1715 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:15:06 +00:00
cyberbotx 2e9f890978 Added warningtimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1714 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:43 +00:00
cyberbotx 4ed52553b0 Added readtimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1713 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:23 +00:00
cyberbotx 486097e27b Added expiretimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1712 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:05 +00:00
cyberbotx 5fa7475f65 Added updatetimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1711 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:44 +00:00
cyberbotx ec8fd88965 Added badpasstimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1710 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:26 +00:00
cyberbotx 675c8dc34a Added badpasslimit directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1709 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:07 +00:00
rburchell ba15bdc174 Fixes to Insp1.2:
- Send a SID prefix for ENDBURST
- If we can't find the source of a modechange, hack it into sender (for server mode changes)
- If the target doesn't exist, abort the modechange to avoid NULL ptr deref (can happen if the user got killed off)

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1708 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 18:24:47 +00:00
rburchell 22f356846e Fix special characters in translations. Thanks, Szymek.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1707 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 18:24:28 +00:00
rburchell 8784fa995e Remove moduleAddData|GetData|DelData and all associated mess. Extensible base replaces all this in a much cleaner and more transparent fashion.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1706 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:56:39 +00:00
rburchell b2b0e1d235 Create and use constructors for NickInfo, NickAlias, ChannelInfo. Inherit all three from Extensible. Convert to use that instead of moduleData stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1705 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:55:55 +00:00
rburchell 5384c97c14 Revert "Clarify some casts to stop warnings on some compilers"
This reverts commit 9ea4d55da11a3c485e08bcfbfb13320086621683.

This seems to cause problems.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1704 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:55:22 +00:00
cyberbotx 55e9bf5aea Added strictpasswords directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1703 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:45 +00:00
cyberbotx 12b60a78ff Added nobackupokay directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1702 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:36 +00:00
cyberbotx a5eb22efd8 Added userkey[123] directives to options block in new config.
Added ValueContainerLUInt specialization of ValueContainer for the above directives.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1701 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:23 +00:00
cyberbotx 7fde7771aa Started options block in new config, added encryption directive to it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1700 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:12 +00:00
rburchell 2da462ba97 Add Extensible class, which we will use for metadata, derive class User from it as a compile test.
Thanks to Insp for this code.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1699 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 16:21:19 +00:00
robbeh c968d32ee2 applied 1.8.0s fix for the /ns resend issue
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1698 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 16:11:40 +00:00
rburchell dde05e96cf Remove Message::mod_name, modules cannot own ircd messages any more (this means everything at protocol level is handled *at protocol level only*, which is good). Also merge callback stuff in with Module class, removing more mod_current_ usage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1696 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:46:25 +00:00
rburchell 73f4cccf99 Remove unused moduleAddMessage/moduleDelMessage, move moduleCallBackRun() into ModuleManager::
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1695 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:45:27 +00:00
rburchell 2145e97d70 Clarify some casts to stop warnings on some compilers
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1694 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:07:38 +00:00
rburchell 1da6b93633 Nuke eventprintf() and EvtMessage from orbit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1691 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:51:03 +00:00
rburchell 3fce6d680d Remove src/modules/demos, we've sufficient (real world) demos now, and some of these are quite out of date.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1690 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:50:32 +00:00
rburchell 4ff3aaccd8 Fix an incorrect cast causing bans to appear to come from 1940.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1689 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:28:15 +00:00
rburchell 60a55fcf16 Fix crash-on-squit with insp12: problem is that an sid was passed in as source for do_server(), which apparantly wasn't much liked.. it also now throws an exception if a nonexistant (to anope) uplink is found, because that would cause weird problems later on.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1688 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:18:08 +00:00
cyberbotx cc5bc5b363 Config file parser in ServerConfig::LoadConf modified to allow for a single-directive single-line block.
This allows for a construct like: module { name = "load_me" }

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1687 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 01:28:58 +00:00
rburchell 2d07704bb6 Fix usermode parsing for InspIRCd 1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1686 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:21:47 +00:00
rburchell 83a7ad7480 Fix load error on protocol modules. Rob, you forgot to add a body to your virtual destructor. :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1685 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:13:26 +00:00
rburchell a0f0cb0767 Remove some overly verbose debug dumping stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1684 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:13:11 +00:00
rburchell 094688603f Cleanup some stuff to a header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1683 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:12:54 +00:00
robbeh bba7d1aaaf Added --with-debugsym and --with-optimization=0|1|2|3 etc... - defaults are now --with-debugsym and no optimisation (we can change this to 2 later once we are not debugging so often :) )
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1682 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 23:24:36 +00:00
rburchell 6c55e0a529 Insane commit of doom: s/ \t/g
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:57:20 +00:00
rburchell 069409cd99 - Remove ability to BOT CHANGE a core service client.
- Rewrite a lot of the error handling in here to be more readable, and less ircservices-y.
- Convert spaces to tabs.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1680 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:49:21 +00:00
rburchell bb47ab8f41 Add Module::SetPermanent() and Module::GetPermanent(), used to mark a module as not unloadable.
Used for os_modunload, as unloading it would cause issues.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1679 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:28:23 +00:00
rburchell 10dcb3d8a4 Update TODO, retarget some more complicated stuff at 1.9.1 so as to not destabilise 1.9.0
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1678 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:27:54 +00:00
rburchell 83e67af945 Remove an unused variable.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1674 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:05:22 +00:00
rburchell 3a04b86346 Fix compile error caused by constification of some parametes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1673 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:04:48 +00:00
rburchell dd6f580502 Fix: make the module type checks more generic (removing a copy of code), and make them actually work properly.. that is, there should no longer be an error about protocol modules on startup. Sorry Sazpimon!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1672 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:04:11 +00:00
rburchell f75ebf8d0d Small miscellaneous fixes, pt 3.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1671 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:03:43 +00:00
rburchell f25ca483fa Various small fixes, part #2.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1670 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:03:07 +00:00
rburchell 295599ab2c Fix potential format vulnerability.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1669 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:02:39 +00:00
rburchell e289e5ade0 Various small warning fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:02:06 +00:00
rburchell 9dad4ddb93 NewChanges -> Changes and add a few notes on stuff
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1667 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 09:46:30 +00:00
rburchell 2307964f79 Move Changes to docs/OLDCHANGES
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1666 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 09:41:01 +00:00
robbeh 6321db16cf Fixed a few annoying compile warnings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1664 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13 21:38:48 +00:00
robbeh cb29211634 Removed blank line as a test :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1663 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13 20:33:25 +00:00
robbeh 40839766c2 made the use of run-cc.pl optional, if you dont want to use it, add --with-makebin="" to the ./configure line.
This is very useful for IDEs which parse the gcc output and let you just click on errors, like eclipse and kdevelop :)


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1662 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13 20:28:40 +00:00
robbeh c828c8b92c test commit just ignore it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1660 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13 17:47:51 +00:00
Naram Qashat cyberbotx@cyberbotx.com 359e7ebdef Added dontquoteaddresses directive to mail block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1626 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:55:49 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2b07bdbf2f Added delay directive to mail block in new config.
Renamed restrictmail to restrict in mail block.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1625 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:52:14 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1a89f2475c Added restrictmail directive in mail block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1624 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:47:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com fc21dbc2ec Added sendfrom directive to mail block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1623 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:44:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com 93985d17a8 Added sendmailpath directive to mail block in new config.
Added ValidateMail function to validate certain mail block config directives only when usemail is enabled.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1622 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:41:28 +00:00
Naram Qashat cyberbotx@cyberbotx.com 8cf37b7f2e Added nicklen directive to networkinfo block in new config.
Added ValidateNickLen function for the above directive.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1621 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:34:25 +00:00
Naram Qashat cyberbotx@cyberbotx.com 805efb9900 Started new mail block in new config, added usemail directive to it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1620 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:26:35 +00:00
Naram Qashat cyberbotx@cyberbotx.com 8681a87405 Added networkname directive to networkinfo block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1619 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:10:22 +00:00
Naram Qashat cyberbotx@cyberbotx.com 636548571e Added logbot directive to networkinfo block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1618 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:08:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com b5637777ec Added logchannel directive to networkinfo block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1617 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:02:06 +00:00
Naram Qashat cyberbotx@cyberbotx.com c4f6e8af35 Started new networkinfo block in new config, added helpchannel directive to it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1616 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 22:58:47 +00:00
Robin Burchell w00t@inspircd.org 649a12c07f addModule + delModule compressed into constructor/destructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 19:03:56 +00:00
Robin Burchell w00t@inspircd.org 65fd49d362 Move loadModule() and unloadModule() inside ModuleManager::
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1614 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 16:56:54 +00:00
Robin Burchell w00t@inspircd.org cd71f37e2d Add new TODO item
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1613 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:13:55 +00:00
Robin Burchell w00t@inspircd.org df30d0bc2a Move modules_core_init() to ModuleManager::LoadModuleList().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:11:54 +00:00
Robin Burchell w00t@inspircd.org d353167118 Add module.cpp and modulemanager.cpp.
- module.cpp: contains (new/"good") code relating to modules. Crappy/stuff to be replaced will stay in modules.c
- modulemanager.cpp: contains stuff *manipulating* modules.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1611 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:03:12 +00:00
Robin Burchell w00t@inspircd.org b7d84f0b68 Remove moduleDataDebug().. debuggers are much more efficient at outputting crap than code is.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1610 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 02:52:38 +00:00
Robin Burchell w00t@inspircd.org 04e2597df2 Merge prepForUnload with module destructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1609 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 02:50:14 +00:00
Robin Burchell w00t@inspircd.org d2cb6b78c1 - Remove redundant ano_modclose(), this is done in module destructor anyway
- Remove old AnopeFini stuff, this is now handled by module destructors.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1608 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 01:28:45 +00:00
Robin Burchell w00t@inspircd.org c363ad0efe Update TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1607 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 01:26:05 +00:00
Robin Burchell w00t@inspircd.org 0c5c97ba0e Always UseSVS2MODE, too.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1606 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 01:02:22 +00:00
Robin Burchell w00t@inspircd.org b9d6279692 UseTokens needs to die in a fire, don't let it be turned off.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1605 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 00:48:39 +00:00
Robin Burchell w00t@inspircd.org a9fd3fd828 Merge modules_init() with modules_core_init().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1604 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 00:27:24 +00:00
Robin Burchell w00t@inspircd.org 2a2224023f Remove ModulesDelayedAutoLoad.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1603 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 00:20:33 +00:00
Robin Burchell w00t@inspircd.org a0d3dfa961 Remove duplication..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1602 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 23:56:14 +00:00
Naram Qashat cyberbotx@cyberbotx.com 0b9ae6c1ea Fix segfault when a module throws an exception.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1601 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 17:54:14 +00:00
Naram Qashat cyberbotx@cyberbotx.com 03e3bb1a59 A few compile fixes for protocol modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1600 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 17:48:14 +00:00
Robin Burchell w00t@inspircd.org 83c213c6e1 Update TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1599 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 17:30:31 +00:00
Robin Burchell w00t@inspircd.org 6130eecca2 Merge commit 'cbx/anopeng-config' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1598 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 17:22:29 +00:00
Robin Burchell w00t@inspircd.org 1072827648 Move moduleAddCommand and moduleDelCommand to Module:: members.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1597 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 17:00:55 +00:00
Robin Burchell w00t@inspircd.org 21d89df8dd Same cleanups for help_cmd, mod_help_cmd, etc insanity.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1596 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:44:06 +00:00
Robin Burchell w00t@inspircd.org 39eb13fbbb Compress do_run_cmd() into mod_run_cmd().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1595 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:37:19 +00:00
Robin Burchell w00t@inspircd.org 83539a90a9 Remove completely unused and quite duplicated run_cmd() vs mod_run_cmd().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1594 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:31:13 +00:00
Robin Burchell w00t@inspircd.org e701a1e2ad Move more stuff to a module class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1593 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:23:26 +00:00
Robin Burchell w00t@inspircd.org 876a2519d5 Note a TODO (permanent channels support) for insp12
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1592 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 02:02:56 +00:00
Robin Burchell w00t@inspircd.org b2e7c7926b Mark duplicate creation fixed, mark mod_current_* crap underway.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1591 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 02:00:17 +00:00
Robin Burchell w00t@inspircd.org 1c3b8e15c2 moduleAddVersion -> Module::SetVersion
moduleAddAuthor -> Module::SetAuthor


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:54:17 +00:00
Robin Burchell w00t@inspircd.org 7bac547f55 Don't attempt to show module errors, these are now pretty much useless and replaced with ModuleException.. so.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1589 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:38:38 +00:00
Robin Burchell w00t@inspircd.org 3dd5c83486 Correct protocol module version - this is 1.2, not 1.1
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1588 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:31:43 +00:00
Robin Burchell w00t@inspircd.org 26cdf257cc moduleAddEventHook -> Module::AddEventHook.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1587 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:30:43 +00:00
Robin Burchell w00t@inspircd.org 7571ca327e moduleAddEventHook -> Module::AddEventHook, even though this seems to be unused..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1586 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:25:59 +00:00
Robin Burchell w00t@inspircd.org d2e5ef67e3 moduleInsertLanguage() -> Module::InsertLanguage()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1585 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:13:19 +00:00
Robin Burchell w00t@inspircd.org d5162d6e45 Fix various scary stuff to do with API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1584 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:00:16 +00:00
Robin Burchell w00t@inspircd.org 7ac7c564f5 moduleSetType() -> Module::SetType().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:48:04 +00:00
Robin Burchell w00t@inspircd.org 7181dc35ce Catch ModuleException thrown from module constructors, and halt load if one is recieved.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1582 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:42:55 +00:00
Robin Burchell w00t@inspircd.org 11a99c885a Make the logging a bit less annoyingly insane.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1581 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:37:16 +00:00
Robin Burchell w00t@inspircd.org d18d3f094c Convert moduleSetType() to not require a module pointer.. actually, this is probably the wrong way to go about this (we should use a member func),
but who cares for now.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1580 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:34:29 +00:00
Robin Burchell w00t@inspircd.org b8c04482bb This compiles. I have absolutely no idea if it works.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1579 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:21:29 +00:00
Robin Burchell w00t@inspircd.org e459e5833e Call the new base constructor too.. let's hope this all works?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1578 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:14:35 +00:00
Robin Burchell w00t@inspircd.org 8d4789efaa Convert all the derived module constructors to take the new parameter (sed must be worshipped). They still call the base constructor the wrong way.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1577 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:12:54 +00:00
Robin Burchell w00t@inspircd.org 68d0a515d0 Correct MODULE_INIT macro to account for new parameter.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1576 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:09:20 +00:00
Robin Burchell w00t@inspircd.org ae6dd5d9c5 Last error fixes, more staticisation.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1575 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:07:24 +00:00
Robin Burchell w00t@inspircd.org 6adc4b6c61 Warning fixes. Staticise more of modules.c, and mark it for review.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1574 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:03:17 +00:00
Robin Burchell w00t@inspircd.org ba73678ade Reorganise some more of this, now makes more logical sense, and almost compiles (just some constification left).
NOTE: moduleCopyFile() is now local to modules.c (static), but that should not be an issue for any well-written client code.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1573 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 23:56:09 +00:00
Robin Burchell w00t@inspircd.org 95774907e1 Remove createModule stuff.. instead, pass string to loadModule. This still isn't compiling, but it's yet another step closer.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1572 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 23:52:29 +00:00
Robin Burchell w00t@inspircd.org 67b7ab7af6 Add another (modules related) TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1571 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 23:37:05 +00:00
Robin Burchell w00t@inspircd.org fb775c4559 Test commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1570 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 18:12:06 +00:00
Robin Burchell w00t@inspircd.org 2af64b0957 Lots more stuff to TODO.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1569 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 14:02:04 +00:00
Robin Burchell w00t@inspircd.org 9e9ec919ec Add proper constructor, move Module::name to be string.. still doesn't compile, of course, as this still needs a lot more renovation.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1568 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 23:50:03 +00:00
Robin Burchell w00t@inspircd.org 4171f140c2 Add module name to MODULE_INIT. This is not yet actually used, but it will be soon.. >_>
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1567 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 22:48:59 +00:00
Robin Burchell w00t@inspircd.org a95a19faaf Few features to TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1566 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 22:02:50 +00:00
Robin Burchell w00t@inspircd.org 41b3b2636d Mark this partly done.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1565 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 21:46:16 +00:00
Robin Burchell w00t@inspircd.org 2644f79301 Remove queueing on module load/unload, NOTE: don't try unload os_modunload, otherwise things probably won't go too well right now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1564 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 21:45:10 +00:00
Robin Burchell w00t@inspircd.org 32aa19dc87 Add CS SET INHABIT
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1563 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 20:56:21 +00:00
Robin Burchell w00t@inspircd.org 664aba5f39 Add more explicit notes on modules subsystem rewrite.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1562 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 19:24:23 +00:00
Robin Burchell w00t@inspircd.org 6946412b75 Remove unused mod_current_evtbuf.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1561 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 19:20:48 +00:00
Robin Burchell w00t@inspircd.org b9aeca4708 Move createModule and destroyModule into constructor and destructor of class Module.
This won't yet compile, as a lot of stuff throws around newly initialised Module * for no reason, and this needs to change.
TODO:
 - remove mod_current_* stuff
 - remove module queueing (this will probably require a permanent module flag for os_modunload, but who cares).


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1560 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 15:48:55 +00:00
Robin Burchell w00t@inspircd.org 88f9975f40 Convert src/modules to use the new modules loader.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1559 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-05 20:20:28 +00:00
Robin Burchell w00t@inspircd.org 2ce8f4aea2 Convert protocol modules
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1558 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-05 00:23:58 +00:00
Robin Burchell w00t@inspircd.org 3bc401a130 Convert OperServ. YES, src/core done.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1557 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-05 00:17:27 +00:00
Robin Burchell w00t@inspircd.org e47d169f49 Convert NickServ
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1556 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 23:40:37 +00:00
Robin Burchell w00t@inspircd.org 032e327fcf Convert MemoServ.. *weep*
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1555 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:40:47 +00:00
Robin Burchell w00t@inspircd.org e1344b1cab Convert HelpServ (useless crap..) and HostServ.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1554 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:28:32 +00:00
Robin Burchell w00t@inspircd.org 7affa0982a Convert encryption modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1553 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:19:15 +00:00
Robin Burchell w00t@inspircd.org d54364d426 Add notes on pass encryption for 1.9.1
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1552 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:15:09 +00:00
Robin Burchell w00t@inspircd.org 3662c1bb23 Add modules to underway
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1551 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:11:49 +00:00
Robin Burchell w00t@inspircd.org 88338ac782 Add sockets to 1.9.2 target
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1550 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:11:06 +00:00
Robin Burchell w00t@inspircd.org ef85ab7a4f Convert all of ChanServ. I feel like Rob mkII!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1549 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:07:18 +00:00
Robin Burchell w00t@inspircd.org bc61c4661b Convert all of core/bs_* to use classes for init..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1548 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 21:03:14 +00:00
Robin Burchell w00t@inspircd.org 8b20a049b4 One compiles, oh my!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1547 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 20:35:04 +00:00
Robin Burchell w00t@inspircd.org d4140b3c26 New MODULE_INIT macro. I'm going to regret this.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1546 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 20:28:49 +00:00
Robin Burchell w00t@inspircd.org 6956999bd5 Add insp1.2 support, mark underway
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1545 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 16:06:23 +00:00
Robin Burchell w00t@inspircd.org e4e5542747 Memo mailing as maybe
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1544 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 15:40:24 +00:00
Robin Burchell w00t@inspircd.org a603fbd1d2 Note to pull in some third party features in the future
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1543 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 15:34:12 +00:00
Robin Burchell w00t@inspircd.org 54f34691ef Add (proper, internal) fantasy to TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1542 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 15:33:18 +00:00
Robin Burchell w00t@inspircd.org 63f927a86f Add two features.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1541 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 15:23:14 +00:00
Robin Burchell w00t@inspircd.org aa60eaad8b Add language system to TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1540 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 14:59:57 +00:00
Robin Burchell w00t@inspircd.org eaadfad4e9 Reorganise roadmap based around versions, add some stuff, etc.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1539 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 13:34:41 +00:00
Robin Burchell w00t@inspircd.org 140b2d559c Move 'Numeric' to <uplink:id>, is this the best place, though?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1538 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 11:20:26 +00:00
Robin Burchell w00t@inspircd.org b9ccfd4437 Tidy TODO, add 'burn automake' to my list.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1537 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 11:13:21 +00:00
Robin Burchell w00t@inspircd.org 1e2f3ecdc7 Fuck makefiles again
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1536 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 11:08:19 +00:00
Robin Burchell w00t@inspircd.org b60ce5a08a Remove space that broke the build again (fuck makefiles)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1535 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 11:00:06 +00:00
Robin Burchell w00t@inspircd.org 7ab33148ff This isn't showing up on diff, but it seems it's wrong on checkout?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1534 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 10:44:16 +00:00
Robin Burchell w00t@inspircd.org 1d546a04e6 Experimental fixes (that don't seem to work) to the server problem.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1533 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 10:21:16 +00:00
Robin Burchell w00t@inspircd.org c6e4c00e7a Disallow deletion of core services.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1532 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:35:06 +00:00
Robin Burchell w00t@inspircd.org bcff05ae3a Consolidate modes: we really don't need to have a different one for every pseudoclient.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1531 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:29:39 +00:00
Robin Burchell w00t@inspircd.org 667cf5f30f Correct some docs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1530 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:20:40 +00:00
Robin Burchell w00t@inspircd.org 87749d06dd Make whois reply come from the correct service.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1529 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:17:43 +00:00
Robin Burchell w00t@inspircd.org 72b8b7f422 Don't crash on channel messages.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1528 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:10:33 +00:00
Robin Burchell w00t@inspircd.org d977211ac0 Fix FJOIN sending.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1527 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:53:17 +00:00
Robin Burchell w00t@inspircd.org d3d0bf2d61 Fix notices going to nicks instead of UIDs depending on protocol
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1526 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:47:49 +00:00
Robin Burchell w00t@inspircd.org 68bb357a61 Make FJOIN parsing work.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1525 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:41:00 +00:00
Robin Burchell w00t@inspircd.org 16a90d28f6 Undo me smoking a nice pipe of craq on UID support (no wonder this wasn't working), and fix findbot() to do what we want.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1524 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:30:33 +00:00
Robin Burchell w00t@inspircd.org dc44944c71 Make user detection work properly (parse UID without problems)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1523 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:16:53 +00:00
Robin Burchell w00t@inspircd.org c27c424b04 Remove (useless) +s from bot umodes, as it breaks protocol (no params, required) and is unnecessary anyway.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1522 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:01:42 +00:00
Robin Burchell w00t@inspircd.org 30031e6ea5 Correctly save Numeric to TS6SID.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1521 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:59:38 +00:00
Robin Burchell w00t@inspircd.org 1886c72d7a Revert "Add <server:sid>, since nothing seems to set it."
This reverts commit fb1095c0157f0c974290de82bd73858c5c4e077e.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1520 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:58:45 +00:00
Robin Burchell w00t@inspircd.org 6e4ea98376 Add <server:sid>, since nothing seems to set it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1519 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:48:48 +00:00
Robin Burchell w00t@inspircd.org 2e7304b170 Look for the correct services module (they got merged with 1.2)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1518 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:39:01 +00:00
Robin Burchell w00t@inspircd.org 1a0ccfed14 Fix a random segfault (no idea how BSFantasyChar is NULL, CBX, this will be config related, please examine).
Also fix: for some reason, using dynamic_cast() instead of a C-style cast here explodes, CBX?


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1517 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:37:51 +00:00
Robin Burchell w00t@inspircd.org bab1b193f8 Various bits of protocol conversion.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1516 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:24:32 +00:00
Robin Burchell w00t@inspircd.org bb9be2a6b5 Fix order of UID params for client introduction
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1515 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:14:46 +00:00
Robin Burchell w00t@inspircd.org 5373ece555 Add UID parameter to SendClientIntroduction, and make it get a UID. This is a bit... ugly... but hey, if it works.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1514 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:12:10 +00:00
Robin Burchell w00t@inspircd.org e4dfff282d Remove IRCdProto::SendGuestNick(). It's identical to IRCdProto::SendClientIntroduction().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1513 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:03:13 +00:00
Robin Burchell w00t@inspircd.org c31f6498c3 Fix shadowed declaration warning.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1512 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:57:09 +00:00
Robin Burchell w00t@inspircd.org 7ca209976d Remove some aspects of overly defensive programming from 1.2 protocol module, remove PROTOCTL stub from 1.1 and 1.2 modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1511 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:56:07 +00:00
Robin Burchell w00t@inspircd.org fccc1c5577 Remove remnants of old protocol stuff from header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1510 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:55:26 +00:00
Robin Burchell w00t@inspircd.org 775a225a25 Make this compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1509 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:50:38 +00:00
Robin Burchell w00t@inspircd.org cdd6493893 Really add it to the build.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1508 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:46:49 +00:00
Robin Burchell w00t@inspircd.org 90a104887f Remove MARK_DEPRECATED from some stuff, it makes development a bit too noisy.
Fix a makefile I broke with SQL removal.
Add InspIRCd 1.2 module to build.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1507 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:42:30 +00:00
Robin Burchell w00t@inspircd.org bce7e0c15e Add unfinished, uncompilable insp 1.2 protocol module.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1506 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 00:13:33 +00:00
Robin Burchell w00t@inspircd.org eca76366f6 Nor does it have any idea what 'services admins' (+a) are.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1505 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 00:03:02 +00:00
Robin Burchell w00t@inspircd.org eda1fca43e Merge commit 'trunk' into anopeng (1.8 updates, etc)
Conflicts:

	src/main.c
	src/mysql.c
	version.log


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1504 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 00:01:19 +00:00
Robin Burchell w00t@inspircd.org a765a1155f InspIRCd doesn't support umode +d == svid craq
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1503 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-02 23:56:25 +00:00
Robin Burchell w00t@inspircd.org ec9dafb778 Rip out SQL. It's utterly useless in current implementation.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1502 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-02 23:50:53 +00:00
Naram Qashat cyberbotx@cyberbotx.com 232d1b5e88 Added akillreason directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1501 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 03:14:59 +00:00
Naram Qashat cyberbotx@cyberbotx.com a9be866804 Added offmessage directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1500 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 03:12:39 +00:00
Naram Qashat cyberbotx@cyberbotx.com c59fccb7f9 Added message directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1499 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 03:08:55 +00:00
Naram Qashat cyberbotx@cyberbotx.com 3d3b03fbc6 Added globalondefconmore directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1498 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 03:04:03 +00:00
Naram Qashat cyberbotx@cyberbotx.com 17fc564ce3 Added globalondefcon directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1497 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 01:08:42 +00:00
Naram Qashat cyberbotx@cyberbotx.com eaf557fc86 Added timeout directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1496 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 01:05:53 +00:00
Naram Qashat cyberbotx@cyberbotx.com 7e541ba7e1 Added chanmodes directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1495 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 01:01:59 +00:00
Naram Qashat cyberbotx@cyberbotx.com 0d02abf9a8 Added akillexpire directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1494 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 00:46:10 +00:00
Naram Qashat cyberbotx@cyberbotx.com e3ab258551 Added sessionlimit directive to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1493 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 00:40:17 +00:00
Naram Qashat cyberbotx@cyberbotx.com 3d7a2c1794 Added level4, level3, level2, and level1 directives to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1492 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 00:30:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com e858f5cd0a Started defcon block in new config, added defaultlevel directive to it.
Added ValidateDefCon function to validate certain DefCon related directives.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1491 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 23:55:23 +00:00
Naram Qashat cyberbotx@cyberbotx.com 4ca6d14311 Added opersonly directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1490 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:28:48 +00:00
Naram Qashat cyberbotx@cyberbotx.com 77ae0ef75a Added addakiller directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1489 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:26:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com 495d5e534c Added sessionautokillexpiry directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1488 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:24:04 +00:00
Naram Qashat cyberbotx@cyberbotx.com d908d37ada Added maxsessionkill directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1487 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:19:28 +00:00
Naram Qashat cyberbotx@cyberbotx.com fd1c741087 Added sessionlimitdetailsloc directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1486 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:16:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1ab50c14d5 Added sessionlimitexceeded directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1485 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:11:48 +00:00
Naram Qashat cyberbotx@cyberbotx.com bb22925ccf Added exceptionexpiry directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1484 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:08:06 +00:00
Naram Qashat cyberbotx@cyberbotx.com 474f30a8bf Added maxsessionlimit directive to operserv block in new config.
Added ValidateLimitSessions function to validate certain session limiting directives only when session limiting is enabled.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1483 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:01:48 +00:00
Naram Qashat cyberbotx@cyberbotx.com 4e99df5408 Added defaultsessionlimit directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1482 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 19:57:52 +00:00
Naram Qashat cyberbotx@cyberbotx.com 314dbcd67e Added limitsessions directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1481 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 19:54:38 +00:00
Naram Qashat cyberbotx@cyberbotx.com 66ea87314c Added notifications directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1480 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 19:48:13 +00:00
Naram Qashat cyberbotx@cyberbotx.com 07824df829 Added disableraw directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1479 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 04:36:35 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2df19fbcd7 Added killonsqline directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1478 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 04:33:40 +00:00
Naram Qashat cyberbotx@cyberbotx.com c49c0e5d6c Added killonsgline directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1477 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 04:31:18 +00:00
Naram Qashat cyberbotx@cyberbotx.com b6014ca8e5 Added akillonadd directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1476 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 21:07:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com 9b109412df Added autokillexpiry, chankillexpiry, sglineexpiry, sqlineexpiry, and szlineexpiry directives to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1475 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 16:33:19 +00:00
Naram Qashat cyberbotx@cyberbotx.com 24b4a2cd87 Added logmaxusers directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1474 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:53:10 +00:00
Naram Qashat cyberbotx@cyberbotx.com 4818284fab Added superadmin directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1473 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:49:44 +00:00
Naram Qashat cyberbotx@cyberbotx.com 66df9d4e7c Added servicesroot directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1472 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:46:11 +00:00
Naram Qashat cyberbotx@cyberbotx.com 8eba4873bb Added autokilldatabase directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1471 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:40:13 +00:00
Naram Qashat cyberbotx@cyberbotx.com af18a3318d Added exceptiondatabase directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1470 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:38:12 +00:00
Naram Qashat cyberbotx@cyberbotx.com de6500e697 Added newsdatabase directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1469 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:36:23 +00:00
Naram Qashat cyberbotx@cyberbotx.com 5fb96a1967 Added database directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1468 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:34:44 +00:00
Naram Qashat cyberbotx@cyberbotx.com 9dd9bac138 Added globalnick and globaldescription directives to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1467 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 01:30:30 +00:00
Naram Qashat cyberbotx@cyberbotx.com 303428a59e Started operserv block in new config, added nick and description directives to it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1466 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 00:54:47 +00:00
Naram Qashat cyberbotx@cyberbotx.com 7f28456680 Started helpserv block in new config, added nick and description directives to it.
Fixed botserv and hostserv blocks to have their nick and description directives not be reloadable.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1465 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 00:50:52 +00:00
Naram Qashat cyberbotx@cyberbotx.com 729ae0b417 Modified the Set() function in the character array version of ValueContainer to delete the old memory if the value is being reused, and to not allocate memory if there is no string to store.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1464 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-23 02:24:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com c77dbdc997 Added hostsetters directive to hostserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1463 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-23 02:22:29 +00:00
Naram Qashat cyberbotx@cyberbotx.com 3533152b40 Added database directive to hostserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1462 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-23 02:18:30 +00:00
Naram Qashat cyberbotx@cyberbotx.com 076c1229fd Started hostserv block in new config, added nick and descriotion directives to it.
Added ValidateHostServ function to validate certain HostServ directives only when HostServ is in use.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1461 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-23 02:15:11 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2e2767a97d Added fantasycharacter directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1460 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:28:08 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6fda7a0893 Added casesensitive directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1459 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:25:01 +00:00
Naram Qashat cyberbotx@cyberbotx.com a159b3b42f Added gentlebadwordreason directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1458 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:22:05 +00:00
Naram Qashat cyberbotx@cyberbotx.com b3fad6e271 Added smartjoin directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1457 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:19:17 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6e943066a5 Added keepdata directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1456 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:15:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com 43d849376d Added badwordsmax directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1455 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:11:23 +00:00
Naram Qashat cyberbotx@cyberbotx.com a71c8271dd Added minusers directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1454 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:06:11 +00:00
Naram Qashat cyberbotx@cyberbotx.com 9ca710a2a0 Added defaults directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1453 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 19:55:32 +00:00
Naram Qashat cyberbotx@cyberbotx.com f91f5005e4 Added database directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1452 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 19:44:53 +00:00
Naram Qashat cyberbotx@cyberbotx.com 9432f3f0e8 Started botserv block in new config, added nick and description directives.
Added ValidateBotServ function to validate certain BotServ directives only when BotServ is in use.
Added forward declaration of NickCore in account.h.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1451 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-18 21:49:38 +00:00
Naram Qashat cyberbotx@cyberbotx.com fdea510668 Merge branch 'anopeng-config' of http://git.inspircd.org/git/anope/ into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1450 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-18 21:47:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com eef1d4d691 Merge branch 'anopeng-config' of http://git.inspircd.org/git/anope/ into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1449 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-15 02:57:50 +00:00
Naram Qashat cyberbotx@cyberbotx.com 29a074878d Added memoreceipt directive to memoserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1448 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-14 03:43:33 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1acf87b4f0 Added notifyall directive to memoserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1447 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-14 03:41:36 +00:00
Naram Qashat cyberbotx@cyberbotx.com 523ed6dd70 Added senddelay directive to memoserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1446 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-14 03:38:59 +00:00
Naram Qashat cyberbotx@cyberbotx.com 193f50ab6c Added maxmemos directive to memoserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1445 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-14 03:35:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com 5406aeecd0 Started memoserv block in new config, added nick and description directives to it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1444 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-14 03:32:13 +00:00
Naram Qashat cyberbotx@cyberbotx.com a2c896c775 Added opersonly directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1443 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:33:33 +00:00
Naram Qashat cyberbotx@cyberbotx.com 7b8ada2efd Added restrictgetpass directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1442 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:16:21 +00:00
Naram Qashat cyberbotx@cyberbotx.com f25b437691 Added listmax directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1441 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:13:41 +00:00
Naram Qashat cyberbotx@cyberbotx.com a8eb837244 Added listopersonly directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1440 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:11:56 +00:00
Naram Qashat cyberbotx@cyberbotx.com c912a7a0aa Added inhabit directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1439 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:08:47 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2402098d97 Added autokickreason directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1438 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:05:15 +00:00
Naram Qashat cyberbotx@cyberbotx.com aa58a569e2 Added autokickmax directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1437 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:02:16 +00:00
Naram Qashat cyberbotx@cyberbotx.com 692be8526c Added accessmax directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1436 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 22:57:24 +00:00
Naram Qashat cyberbotx@cyberbotx.com c4a8ddaa24 Added defbantype directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1435 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 22:53:38 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1ed8244166 Added expire directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1434 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 22:44:33 +00:00
Naram Qashat cyberbotx@cyberbotx.com a4540d5c0a Added maxregistered directive to chanserv directive in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1433 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 22:39:42 +00:00
Naram Qashat cyberbotx@cyberbotx.com 46771d3676 Added defaults directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1432 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 22:23:22 +00:00
Naram Qashat cyberbotx@cyberbotx.com 766e04808e Added database directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1431 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 21:55:06 +00:00
Naram Qashat cyberbotx@cyberbotx.com 5136d4c415 Started chanserv block in new config, added nick and directive directives to it.
Fixed typo in one of the nickserv block directives.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1430 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 21:52:37 +00:00
Robin Burchell w00t@inspircd.org 2b0e9c3f5f Merge commit 'cbx/anopeng-config' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1429 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 12:32:37 +00:00
Robin Burchell w00t@inspircd.org 3324e62bae Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1428 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-07 23:38:25 +00:00
Naram Qashat cyberbotx@cyberbotx.com 728fe3e1d4 Removed DevNull pseudo-client as well as all *Alias pseudo-clients.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1427 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 22:12:22 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1961fa282b Moved parse_options() from init_secondary() to init_primary(), this allows for easier debugging when using -nofork.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1426 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 21:54:18 +00:00
Naram Qashat cyberbotx@cyberbotx.com eda321aa90 Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1425 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 21:39:38 +00:00
Naram Qashat cyberbotx@cyberbotx.com 4e11583205 Fix problems with using ValueContainerChar by creating a specialized template for ValueContainer.
Note: The solution uses new to allocate memory for the variable, we'll have to look into deleting the memory at shutdown, or replacing the char * variables with std::string.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1424 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 03:01:18 +00:00
Naram Qashat cyberbotx@cyberbotx.com 70fc37073f Allow localhost as a valid hostname in ValidateHostname.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1423 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 02:51:24 +00:00
Naram Qashat cyberbotx@cyberbotx.com 790fc4f0bd Correct use of ValueContainerChar to work properly instead of crashing at run-time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1422 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 02:49:40 +00:00
Naram Qashat cyberbotx@cyberbotx.com c5259e656e Fixed run-time segfault due to incorrect handling of DT_NORELOAD.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1421 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 02:32:03 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2726877999 Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1420 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 02:24:39 +00:00
Naram Qashat cyberbotx@cyberbotx.com a02f8503e7 Removed directives from old config that are being handled by the new config parser.
Also put in the needed support for handling directives which can't be changed in a reload of the configuration.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1419 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 00:23:15 +00:00
Naram Qashat cyberbotx@cyberbotx.com 31c4135150 Added a couple directives to the new parser for NickServ.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1418 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-04 23:23:56 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2322cd6475 dded a commented section to config.c for w00t to describe the various ways of adding directives.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1417 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-04 05:37:59 +00:00
Naram Qashat cyberbotx@cyberbotx.com d8a1535dd8 Fix build in config.c
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1416 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-04 05:21:14 +00:00
Robin Burchell w00t@inspircd.org aa3bfb86e0 (Unworking) stuff for conversion
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1415 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-04 00:27:48 +00:00
Robin Burchell w00t@inspircd.org 59671baf4c Add (and document) some stuff for new example config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1414 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 23:57:26 +00:00
Robin Burchell w00t@inspircd.org 2113d88883 Get around comment insanity
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1413 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 23:48:08 +00:00
Robin Burchell w00t@inspircd.org bda05d14ed Transplant a fuckton of comments from the original config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1412 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 23:47:09 +00:00
Robin Burchell w00t@inspircd.org fbce6e2ba4 Merge commit 'cbx/anopeng-config' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1411 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 23:30:41 +00:00
Robin Burchell w00t@inspircd.org f85457d2a4 Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1410 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 23:28:12 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6b7161fbdf Started framework for new config reader, based on hottpd by w00t, copied over from my own fork that was in progress.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1409 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 22:06:58 +00:00
Robin Burchell w00t@inspircd.org f09953561b Merge commit 'cbx/anopeng-charfix' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 17:37:45 +00:00
Robin Burchell w00t@inspircd.org 69ed36bbf5 Test commit because peavey is a nonce.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1407 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 17:29:06 +00:00
peavey peavey@inspircd.org 04a6fe4feb Merge branch 'anopeng' into pv-sql
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1406 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 17:17:23 +00:00
peavey peavey@inspircd.org fd33cf94eb Make mysql compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1405 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 17:14:39 +00:00
Robin Burchell w00t@inspircd.org 806acd98f7 Merge branch 'anopeng' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1404 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 10:58:40 +00:00
Robin Burchell w00t@inspircd.org 63746736fd Fix a module.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1403 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 10:17:00 +00:00
peavey peavey@inspircd.org b1e8118623 * Fix calls to ircdproto->SendMessage and use findbot
* make moduleInsertLanguage take const char and convert where needed


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1402 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 09:52:49 +00:00
Robin Burchell w00t@inspircd.org 26e921d6b5 Fix ratbox.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1401 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 09:10:41 +00:00
Robin Burchell w00t@inspircd.org 014e953f37 Update TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1400 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 09:03:39 +00:00
Robin Burchell w00t@inspircd.org 5dbcf7a553 (Mostly) make ratbox.c compile, still needs fixes for Uid removal.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1399 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 08:55:32 +00:00
Robin Burchell w00t@inspircd.org a6d99c69d3 Fix inspircd11 to compile
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1398 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 08:48:01 +00:00
Robin Burchell w00t@inspircd.org 02c04dd775 Make charybdis compile, move header into .c
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1397 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 08:39:21 +00:00
Robin Burchell w00t@inspircd.org 6f93da4e1c Move header into the .c for less redundancy.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1396 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 08:19:10 +00:00
Robin Burchell w00t@inspircd.org 968616980c Merge commit 'cbx/anopeng-uid' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1395 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 08:00:31 +00:00
Robin Burchell w00t@inspircd.org 797bdccb9b Merge branch 'anopeng' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1394 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 00:11:57 +00:00
Robin Burchell w00t@inspircd.org b10521f610 Fix os_umode.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1393 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:47:44 +00:00
Robin Burchell w00t@inspircd.org cdfc33d986 Fix os_set.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1392 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:46:41 +00:00
Robin Burchell w00t@inspircd.org 811da740a6 Fix os_oline.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1391 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:44:50 +00:00
Robin Burchell w00t@inspircd.org f3cc327bd0 Fix os_mode.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1390 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:43:51 +00:00
Robin Burchell w00t@inspircd.org d3a056c5fd Fix os_kick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1389 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:43:02 +00:00
Robin Burchell w00t@inspircd.org bffdb5d56b Fix os_clearmodes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1388 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:42:22 +00:00
Robin Burchell w00t@inspircd.org 858a204495 All cs_* core modules build successfully.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1387 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:39:33 +00:00
Robin Burchell w00t@inspircd.org a55cb11daa Fix cs_suspend.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1386 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:36:32 +00:00
Robin Burchell w00t@inspircd.org b62fb213ce Fix cs_register.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1385 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:36:10 +00:00
Robin Burchell w00t@inspircd.org 6a0f4b7e42 Fix cs_forbid.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1384 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:35:25 +00:00
Robin Burchell w00t@inspircd.org 20f0a61ed0 Add run-cc.pl from inspircd, only difference is support .c files too :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1383 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:33:54 +00:00
Robin Burchell w00t@inspircd.org 71bce363b9 Fix cs_clear.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1382 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:31:50 +00:00
Robin Burchell w00t@inspircd.org 7dc90c5d62 Update TODO.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1381 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:30:26 +00:00
Robin Burchell w00t@inspircd.org 0a0c963ea6 core/bs_* modules now compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1380 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:28:52 +00:00
Robin Burchell w00t@inspircd.org 9c59d8d8b4 Make src/sessions.c and src/users.c compile.
Core now compiles successfully, modules do not.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1379 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:26:24 +00:00
Robin Burchell w00t@inspircd.org 0b4b8d4d54 Make send.c compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1378 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:24:35 +00:00
Robin Burchell w00t@inspircd.org a95e4f7fce Hack making enforcers work for now, NOTE: it is MARK_DEPRECATED. Use it in new code and I will kill you.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1377 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:21:03 +00:00
Robin Burchell w00t@inspircd.org ed5c208488 Make messages.c compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1376 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:16:37 +00:00
Robin Burchell w00t@inspircd.org 750352d122 Make log.c compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1375 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:15:03 +00:00
Robin Burchell w00t@inspircd.org bd4b99386b Make ircd.c compile for real.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1374 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:14:30 +00:00
Robin Burchell w00t@inspircd.org 0d7ccde197 Make ircd.c compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1373 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:12:49 +00:00
Robin Burchell w00t@inspircd.org 62089a2f38 Make chanserv.c compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1372 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:12:11 +00:00
Robin Burchell w00t@inspircd.org 506f278c2e Add a new item to TODO.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1371 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:07:22 +00:00
Robin Burchell w00t@inspircd.org b581b6d169 Make channels.c work.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1370 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:06:26 +00:00
Robin Burchell w00t@inspircd.org 5ffdc4638d Start making some stuff compile with the modified protocol signatures
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1369 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:01:12 +00:00
Robin Burchell w00t@inspircd.org dacff07988 Change protocol func signatures. These are FINAL, do NOT use string sources any more. Pass pointers to BotInfo. (CBX, pull this before continuing on, I had to change *one* function below where you were to get it to compile(ish). Very minor change though)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1368 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:48:09 +00:00
Robin Burchell w00t@inspircd.org fbfb380eb5 Compile error, missing semicolon in header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1367 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:34:20 +00:00
Robin Burchell w00t@inspircd.org a9838c50c7 Merge branch 'lollerhats' into anopeng-uid
Conflicts:

	TODO


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1366 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:29:59 +00:00
Robin Burchell w00t@inspircd.org ff94373d09 Test merge.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1365 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:28:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com 69bfe7d04c Replaced anope_SendSVID() with direct call to SendSVID() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1364 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:12:22 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6395adff79 Replaced anope_SendSVSMode_chan() with direct call to SendSVSModeChan() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1363 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:01:18 +00:00
Naram Qashat cyberbotx@cyberbotx.com b78420a0ee Replaced anope_SendBanDel() with direct call to SendBanDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1362 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:57:58 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1b6c423898 Replaced anope_SendSGLine() with direct call to SendSGLine() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1361 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:57:10 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6ba871c953 Replaced anope_SendSZLine() with direct call to SendSZLine() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1360 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:56:14 +00:00
Naram Qashat cyberbotx@cyberbotx.com 9c685cd1d5 Replaced anope_SendSZLineDel() with direct call to SendSZLineDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1359 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:55:12 +00:00
Naram Qashat cyberbotx@cyberbotx.com 82fa350987 Replaced anope_SendSGLineDel() with direct call to SendSGLineDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1358 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:54:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com 77af53f647 Replaced anope_SendSVSHoldDel() with direct call to SendSVSHoldDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1357 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:53:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com c275bdf6f7 Replaced anope_SendSVSHold() with direct call to SendSVSHold() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1356 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:49:01 +00:00
Naram Qashat cyberbotx@cyberbotx.com cd038ecb7a Replaced anope_SendConnect() with direct call to SendConnect() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1355 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:46:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com 088c82ba1d Replaced anope_SendVhost() with direct call to SendVhost() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1354 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:41:30 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6705f0a90d Replaced anope_SendForceNickChange() with direct call to SendForceNickChange() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1353 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:39:50 +00:00
Naram Qashat cyberbotx@cyberbotx.com d1b4212a40 Replaced anope_SendChangeBotNick() with direct call to SendChangeBotNick() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1352 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:38:25 +00:00
Naram Qashat cyberbotx@cyberbotx.com 67b96a855a Merge branch 'anopeng-uid' of http://git.inspircd.org/git/anope/ into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1351 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:31:51 +00:00
Naram Qashat cyberbotx@cyberbotx.com 31c675d3e4 Replaced anope_SendSVSO() with direct call to SendSVSO() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1350 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:26:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com 0f8f66328d Replaced anope_SendSquit() with direct call to SendSquit() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1349 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:22:12 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1f579c0fe2 Replaced anope_SendSQLine() with direct call to SendSQLine() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1348 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:20:35 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6c305a3d67 Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto class.
Added SendGlobopsInternal() function to IRCDProto class, now SendGlobops() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1347 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:02:37 +00:00
Naram Qashat cyberbotx@cyberbotx.com f3f1b97a1a Replaced anope_SendPart() with direct call to SendPart() in IRCDProto class.
Added SendPartInternal() function to IRCDProto class, now SendPart() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1346 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 20:35:07 +00:00
Naram Qashat cyberbotx@cyberbotx.com de32f2b192 Replaced anope_SendInvite() with direct call to SendInvite() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1345 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 20:26:29 +00:00
Naram Qashat cyberbotx@cyberbotx.com 809f55f1cc Replaced anope_SendSQLineDel() with direct call to SendSQLineDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1344 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 20:18:03 +00:00
Naram Qashat cyberbotx@cyberbotx.com c3964f7483 Replaced anope_SendJoin() with direct call to SendJoin() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1343 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:41:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com 036c287376 Replaced anope_SendPong() with direct call to SendPong() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1342 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:33:51 +00:00
Naram Qashat cyberbotx@cyberbotx.com 50db0bb680 Replaced anope_SendQuit() with direct call to SendQuit() in IRCDProto class.
Added SendQuitInternal() to IRCDProto class, now SendQuit() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1341 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:25:27 +00:00
Naram Qashat cyberbotx@cyberbotx.com 877791d8b6 Replaced anope_SendBotOp() with direct call to SendBotOp() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1340 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:18:40 +00:00
Naram Qashat cyberbotx@cyberbotx.com 14ceeafb1d Replaced anope_SendGlobalPrivmsg() with direct call to SendGlobalPrivmsg() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1339 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:17:47 +00:00
Naram Qashat cyberbotx@cyberbotx.com 5e6a653e48 Replaced anope_SendGlobalNotice() with direct call to SendGlobalNotice() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1338 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:16:57 +00:00
Naram Qashat cyberbotx@cyberbotx.com d9771fe0aa Added SendAction() function to IRCDProto class to replace use of anope_cmd_notice().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1337 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:14:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com d3f58dcd4f Replaced notice() with direct call to SendMessage() in IRCDProto class.
Added SendNoticeInternal() function to IRCDProto class, now SendNotice() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1336 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:11:32 +00:00
Naram Qashat cyberbotx@cyberbotx.com 552c4a47b1 Replaced anope_cmd_privmsg() and privmsg() with direct call to SendPrivmsg() in IRCDProto class.
Added SendPrivmsgInternal() function to IRCDProto class, now SendPrivmsg() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1335 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:06:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com 8001cc147d Replaced anope_cmd_notice() with direct call to SendNotice() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1334 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:58:23 +00:00
Naram Qashat cyberbotx@cyberbotx.com a22c4bf1da Replaced anope_cmd_message() with direct call to SendMessage() in IRCDProto class.
Also added SendMessageInternal() function to IRCDProto class, now SendMessage() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1333 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:50:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com c48429eb75 Replaced anope_SendNoticeChanops() with direct call to SendNoticeChanops() in IRCDProto class.
Also added SendNoticeChanopsInternal() function to IRCDProto class, now SendNoticeChanops() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1332 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:44:47 +00:00
Naram Qashat cyberbotx@cyberbotx.com 765f561952 Replaced anope_SendKick() with direct call to SendKick() in IRCDProto class.
Also added SendKickInternal() function to IRCDProto class, now SendKick() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1331 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:37:32 +00:00
Naram Qashat cyberbotx@cyberbotx.com 984779a0f3 Replaced anope_SendClientIntroduction() with direct call to SendClientIntroduction() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1330 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:30:56 +00:00
Naram Qashat cyberbotx@cyberbotx.com 0ded225023 Replaced anope_SendMode() with direct call to SendMode() in IRCDProto class.
Also added SendModeInternal() function to IRCDProto class, now SendMode() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1329 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:26:56 +00:00
Naram Qashat cyberbotx@cyberbotx.com a29d23a06e Replaced anope_SendGuestNick() with direct call to SendGuestNick() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1328 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:18:29 +00:00
Naram Qashat cyberbotx@cyberbotx.com fecf65d7ba Replaced anope_SendSVSMode() with direct call to SendSVSMode() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1327 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:12:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com 70501666e8 Replaced anope_SendSVSKill() with direct call to SendSVSKill() in IRCDProto class.
Also added SendSVSKillInternal() function to IRCDProto class, now SendSVSKill() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1326 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:04:29 +00:00
Naram Qashat cyberbotx@cyberbotx.com af0bf80a07 Replaced anope_SetAkill() with direct call to SetAkill() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1325 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 17:58:15 +00:00
Naram Qashat cyberbotx@cyberbotx.com 45e3be08fc Replaced anope_SendVhostDel() with direct call to SendVhostDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1324 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 17:55:06 +00:00
Naram Qashat cyberbotx@cyberbotx.com 95f24091f6 Replaced anope_cmd_topic() with direct call to SendTopic() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1323 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 17:46:06 +00:00
Naram Qashat cyberbotx@cyberbotx.com ab07a491a4 Replaced anope_SendAkillDel() with direct call to SendAkillDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1322 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 17:33:41 +00:00
Naram Qashat cyberbotx@cyberbotx.com 143ccccbb6 Replaced anope_SendSVSNOOP() with direct call to SendSVSNOOP() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1321 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 17:31:26 +00:00
Robin Burchell w00t@inspircd.org e5051e4aa5 Merge commit 'cbx/anopeng-uid' into anopeng-uid
Conflicts:

	include/extern.h
	include/services.h
	src/protocol/bahamut.c
	src/protocol/inspircd11.c


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1320 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 16:03:16 +00:00
Robin Burchell w00t@inspircd.org b7ed70140d Modify base protocol to send UID if UseTS6 is enabled, or use nickname else. (TODO: rename UseTS6 to UseUID, set it *in protocol modules*, not via config)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1319 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 15:22:49 +00:00
Robin Burchell w00t@inspircd.org 44e1e23a73 Add overridden send_cmd() accepting a string source.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1318 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 15:17:08 +00:00
Robin Burchell w00t@inspircd.org 5eee13a97d Nuke depricated.h -- it's been too long since this was introduced.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1317 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:24:54 +00:00
Robin Burchell w00t@inspircd.org cfa88f4331 Last bits of renaming protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1316 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:24:13 +00:00
Robin Burchell w00t@inspircd.org 194957cb29 valid_(nick|chan) -> Is(Nick|Chan)Valid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1315 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:23:04 +00:00
Robin Burchell w00t@inspircd.org 4fbf03aaba set_umode -> ProcessUsermodes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1314 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:20:56 +00:00
Robin Burchell w00t@inspircd.org e87a9e0ac6 Convert SWhois, SERVER, EOB..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1313 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:12:22 +00:00
Robin Burchell w00t@inspircd.org f0caf3a4e0 SVSJOIN, SVSPART, CTCP, svid_umode*, unregistered nickchange func renames
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1312 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:08:21 +00:00
Robin Burchell w00t@inspircd.org 17ac25990b cmd_unban -> SendBanDel. TODO: should this be yanked in favour of SendMode?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1311 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:04:05 +00:00
Robin Burchell w00t@inspircd.org ee71533413 Test commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1310 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 13:52:40 +00:00
Robin Burchell w00t@inspircd.org 15d843be67 Test commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1309 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 13:50:21 +00:00
Robin Burchell w00t@inspircd.org a11aa3e493 Convert a bunch more protocol stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1308 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:49:02 +00:00
Robin Burchell w00t@inspircd.org 55bf54a305 Various conversions to use new protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1307 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:45:43 +00:00
Robin Burchell w00t@inspircd.org 809ed7c2c0 Convert various to new name scheme.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:39:28 +00:00
Robin Burchell w00t@inspircd.org bd56c0fb93 Global NOTICE/PRIVMSG, QUIT.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1305 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:37:14 +00:00
Robin Burchell w00t@inspircd.org dae48c4792 cmd_bot_send_chan_mode -> SendBotOp
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1304 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:36:00 +00:00
Robin Burchell w00t@inspircd.org 4e395e1962 KICK, notice ops.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1303 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:31:33 +00:00
Robin Burchell w00t@inspircd.org 341b226c63 cmd_bot_nick -> SendClientIntroduction
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1302 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:30:41 +00:00
Robin Burchell w00t@inspircd.org 5d695b7bf6 Guest nicks, MODE.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1301 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:29:56 +00:00
Robin Burchell w00t@inspircd.org c8d4ff56a1 AKILL, SVSMODE
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1300 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:29:01 +00:00
Robin Burchell w00t@inspircd.org d5d6b049e0 Rename a bunch of functions to use new scheme.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1299 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:28:10 +00:00
Robin Burchell w00t@inspircd.org 8a3495279c Commit modified protocol name, using perl.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1298 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 22:49:44 +00:00
Robin Burchell w00t@inspircd.org 6887e3ae38 Start converting stuff that sends to server to use BotInfo, as everything is now a BotInfo struct, instead of craqy struct Uid stuff. INCOMPLETE. Also, create a derived IRCdProtoTS6 class, to save repeating ourselves X million times.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1297 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 22:30:41 +00:00
Robin Burchell w00t@inspircd.org 60b861ee25 Nuke struct Uid from the core. (hooray!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1296 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 22:07:10 +00:00
Robin Burchell w00t@inspircd.org e46bc26a06 Merge commit 'cbx/anopeng-protocol' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1295 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 21:20:54 +00:00
Robin Burchell w00t@inspircd.org 8aa6436d73 Merge commit 'trunk' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1294 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 21:16:11 +00:00
Robin Burchell w00t@inspircd.org f10db002a8 Fix building under g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1293 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 21:15:40 +00:00
Robin Burchell w00t@inspircd.org dc8565e08f Remove USE_MODULES, it'd not really work anyway.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1292 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 21:07:44 +00:00
Robin Burchell w00t@inspircd.org e4b0e4f396 Merge commit 'trunk' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1291 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 20:48:10 +00:00
Robin Burchell w00t@inspircd.org 3872380d8c Merge protocol_debug() with the only place it's actually called.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1290 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 20:01:23 +00:00
Naram Qashat cyberbotx@cyberbotx.com 5d127f021d Added set_umode(), valid_nick(), valid_chan(), and flood_mode_check() from previous commits back in.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1289 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 19:16:23 +00:00
Robin Burchell w00t@inspircd.org eca7e89612 Added flood_mode_check() function to IRCDProtoNew class.
Conflicts:

	include/extern.h
	include/services.h
	src/ircd.c
	src/protocol/bahamut.c
	src/protocol/bahamut.h
	src/protocol/charybdis.c
	src/protocol/charybdis.h
	src/protocol/inspircd11.c
	src/protocol/inspircd11.h
	src/protocol/ratbox.c
	src/protocol/ratbox.h
	src/protocol/unreal32.c
	src/protocol/unreal32.h


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1288 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 18:12:23 +00:00
Robin Burchell w00t@inspircd.org a2b5941fc7 Removed set_mod_current_buffer() function from old IRCDProto struct, was never used.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1287 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 17:24:26 +00:00
Robin Burchell w00t@inspircd.org 196b4a6b69 Test commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1286 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 09:26:54 +00:00
Robin Burchell w00t@inspircd.org f1baae1c0b Test commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1285 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 09:24:50 +00:00
Robin Burchell w00t@inspircd.org 63c8e7f55d Another TODO item, and test CIA..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1284 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 09:17:58 +00:00
Robin Burchell w00t@inspircd.org cc948c7ee0 Add item to TODO.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1283 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 23:03:44 +00:00
Robin Burchell w00t@inspircd.org 489592f68c Remove a (lot of) legacy code on ChanServ DB loading. We now only support DBv16, the latest 1.7.x.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1282 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 22:51:39 +00:00
Robin Burchell w00t@inspircd.org 4e7636c28e Merge delbot() and cs_remove_bot() into BotInfo's destructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1281 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 22:38:19 +00:00
Robin Burchell w00t@inspircd.org bbaba3e003 Remove unused anope_set_mod_current_buffer(), noted by Naram.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1280 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 22:25:04 +00:00
Robin Burchell w00t@inspircd.org f70f57219f Merge commit 'trunk' into anopeng
Conflicts:

	src/process.c


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1279 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 21:54:22 +00:00
Robin Burchell w00t@inspircd.org 0464e2eb14 Add a few personal notes in TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1278 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:54:00 +00:00
Robin Burchell w00t@inspircd.org 4f8faa2dae Fix linker errors due to missing symbols at run-time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1277 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org 1efa832f42 Add TODO file initially based on discussion with Viper.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1276 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org 06e2919467 Remove cmd_nick in favour of cmd_bot_nick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1275 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org e03c14cf1d Initialise everything properly to avoid crashes. Also, fix a prototype to fix runtime halt due to unresolved sym.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1274 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org a3a360394e Add MODULE_INIT to all modules, fix a few various crashes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org 63304b3a01 Add MODULE_INIT workaround for modules, so they are loadable. Inspired by InspIRCd solution to this.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1272 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org a03ece92ed Fix makefile a bit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1271 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org 0aad26dd76 Store UID for services pseudoclients inside BotInfo. This will be used instead of struct Uid in the future. Remove seperate introduction of Service, make a BotInfo for all of them. XXX: no idea at all if this will work.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1270 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org 82dcf8a398 Added cmd_jupe() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1269 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org 7eb190b1bd Added cmd_server() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1268 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org ae4f3a615f Added cmd_eob() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1267 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org 611bafbafe Added cmd_swhois() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1266 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org bb898d2454 Added cmd_svspart() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1265 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org f3e386b625 Added cmd_svsjoin() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1264 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org a587cdc998 Added cmd_ctcp() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1263 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 34afc576d7 Fix compiler error caused by removal of unassign() from w00t.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1262 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 173d5b4c11 Added cmd_svid_umode3() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1261 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 85e8e9eca0 Added cmd_svid_umode2() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1260 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 126e46395d Added cmd_nc_change() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1259 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org df91ba9d7c Added cmd_svid_umode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1258 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 10fc9efa4d Added cmd_svsmode_chan() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1257 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 78ef810376 Added cmd_unban() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1256 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 4a4c4a9ee1 Added cmd_sgline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1255 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 8d6828fb8f Added cmd_szline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1254 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 344187e10c Added cmd_unszline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1253 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 7c9682775a Added cmd_unsgline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1252 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 11bc234c5b Added cmd_release_svshold() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1251 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 6a0340b453 Added cmd_svshold() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1250 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 081a0311c8 Added cmd_connect() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1249 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 2715c7e038 Added cmd_vhost_on() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1248 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 4fc8f14f19 Added cmd_svsnick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1247 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 54e65d003e Added cmd_chg_nick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1246 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org e8cd183ed3 Added cmd_svso() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1245 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 8060c79a5f Added cmd_squit() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1244 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org b1b5df38eb Added cmd_sqline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1243 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org f8aff52e25 Added cmd_global() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1242 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:12 +00:00
Robin Burchell w00t@inspircd.org 3f01210bf1 Added cmd_part() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1241 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org d1004fe1a4 Added cmd_invite() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1240 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 8705fed8d7 Added cmd_unsqline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1239 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 6ae0b4e597 Added cmd_join() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1238 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 0e794a9e50 Added cmd_pong() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1237 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 82722cf5d7 Added cmd_quit() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1236 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 44f01ce8d5 Unbreak bot assigning, also call event in the unassign function, rather than elsewherel. This will be needed for third party module devs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1235 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 717c684eac Added cmd_bot_chan_mode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1234 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org a3d2bc65e2 Added cmd_serv_privmsg() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1233 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org c4d520b465 Move some stuff to BotInfo methods.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1232 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 76cc8d0462 Added cmd_serv_notice() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1231 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 9ef7f06be7 Added globaltldprefix to IRCDVar struct, for use in the upcoming cmd_serv_notice and cmd_serv_privmsg functions.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1230 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 6fa5553b4b Added cmd_notice() function to IRCDProtoNew class. (Replaces cmd_notice2)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1229 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org efb458a927 Removed variable names in function prototypes in base IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1228 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 58ab9f234c Added cmd_message() function to IRCDProtoNew class. (Replaces cmd_notice)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1227 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 6e0bee3ab1 add a standard autogen.sh, might be useful
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1226 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 5587d9a543 Added cmd_privmsg() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1225 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 914e0359e0 Move stuff to a bots class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1224 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 56084dce33 Move struct botinfo into a class in bots.h
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1223 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 63f76fed71 Removed variable names from function prototypes in protocol module classes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1222 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org bc9e96d6eb Added cmd_notice_ops() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1221 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org ac05ac3857 Added cmd_kick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1220 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org d3a79969c2 Added cmd_bot_nick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1219 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 00466f884c Added cmd_mode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1218 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org 7a167d97af Added cmd_guest_nick() function to IRCDProtoClass.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1217 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 60b293b58e Added cmd_nick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1216 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 859826d14b Forgot to remove references to the old ircd_cmd_svskill, oops.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1215 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 24ae706b9c Added cmd_svsmode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1214 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 3d4bf6d876 Added cmd_svskill() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1213 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org b18604c31c Added chost variable to User class, stores cloaked host, used in inspircd11 module.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1212 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 4996cc4b06 Added cmd_akill() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1211 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org c08993be09 Added cmd_vhost_off() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1210 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org cef2f72082 Added cmd_topic() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1209 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org f9b628b0d3 Remove legacy global function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1208 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org d64b3aa890 Remove anope_cmd_privmsg2 (it's identical to anope_cmd_privmsg!)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1207 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org e6111d9ff4 Mark some stuff deprecated, move implementation from the interface into the user class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1206 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org ca8996472c Merge send_cmd() and vsend_cmd().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1205 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org b3df8dbfb1 Fix src/modules/ so they compile with stricter g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1204 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 792b705757 Remove some older protocol modules, mark a number of others obsolete. Some may be rescued later on.
Fix problems with anopesmtp and db-merger tool, mark epona2anope obsolete.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1203 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org c32c3c99a1 Made all protocol modules able to be compiled via mostly constifying strings.
Due to the above, also had to constify strings in many other areas.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 431918ceac listnicks and listchans go away, as they aren't all that useful (and way too old.)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1201 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org 2fd6bf39b1 Remove 'skeleton' mode. It's not really all that useful.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1200 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 0f2719990e Added cmd_remove_akill() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1199 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 6feb4755ad Test.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1198 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 5f2e07fbeb Primarily a change to test post commit hook
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1197 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org d4d0cf7d7b Added cmd_svsnoop function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1196 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 8d3d1775ae Core skeleton of IRCDProtoNew class created.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1195 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org c037e6a6e9 Move delete_user() into a destructor. Fix a few minor bugs with conversion also.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1194 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 253d5824c4 Add User::SetRealname().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1193 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 726b74f355 Remove duplicate debug notice.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1192 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 7ae320eaa2 Fix indentation.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1191 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org a06c716766 Add User::SetIdent(). Also remove duplication by using update_host().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1190 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org c036ed1f51 Move more stuff into the user class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1189 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 902ef1ce04 Add User::SetNewNick() method, to be called from ircd protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1188 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org d2d64e17e7 Move users to a basic class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1187 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org b7561cabd3 Fix last of core/
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1186 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 29aea837f5 Various strict fixes..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1185 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 1e918b949c Various constification/g++ fixes..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1184 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 06f53a8582 Various constification/fixes for g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1183 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org aa806eba53 Constify a lot of the API. Core now "builds".
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1182 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org c5e113ee05 WIP changes to constify API and make g++ happy.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1181 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org d239984fb4 Various g++ fixes. Compiles, doesn't link.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1180 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 3e6f3f6b54 Fixes for g++
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1179 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org 7566abd1b0 Various g++ fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1178 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org 407a45a3b7 Merge (with small conflict) from upstream.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1177 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org d73f104182 Fix for g++
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1176 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org 12ef623e94 Partial fixes for g++, need to commit this
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1175 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org 115136b09e Fix more g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1174 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org d94405c316 Fix more for g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1173 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org 3b1274e772 More g++ fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1172 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org e3adfa4191 Make a bunch of stuff build under g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1171 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
Robin Burchell w00t@inspircd.org 640b5fb2e1 Modify makefile to build with g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1170 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 898b7fae5f BUILD : 1.7.22 (1455) BUGS : 943 NOTES : Applied patch by katsklaw to fix a bug in HELP OPER.
git-svn-id: svn://svn.anope.org/anope/trunk@1455 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1169 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:10:02 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b f840b91765 BUILD : 1.7.22 (1454) BUGS : NOTES : Applied patch by w00t to fix math bug in strnrepl().
git-svn-id: svn://svn.anope.org/anope/trunk@1454 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1168 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-27 23:01:06 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 8276596a6b BUILD : 1.7.22 (1453) BUGS : 947 NOTES : Fixed a buffer overflow in enc_sha1.
git-svn-id: svn://svn.anope.org/anope/trunk@1453 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1167 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-27 13:35:06 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b b608382dba BUILD : 1.7.22 (1452) BUGS : 944 NOTES : Updated NSIS Build script and added anope.bat to properly remove windows menus after uninstall. Provided by chaz.
git-svn-id: svn://svn.anope.org/anope/trunk@1452 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1166 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-25 22:20:36 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 47da2c9310 BUILD : 1.7.22 (1451) BUGS : 942 NOTES : We now enforce UnRestrictSAdmin on Unreal and InspIRCd.
git-svn-id: svn://svn.anope.org/anope/trunk@1451 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1165 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-25 22:10:36 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 5b9b1acca5 BUILD : 1.7.22 (1450) BUGS : NOTES : Fixed a number of remaining buffer overflows in NS and CS not addressed by previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@1450 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1164 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-23 11:14:09 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 72b960152c BUILD : 1.7.22 (1449) BUGS : NOTES : Applied a patch by w00t to fix possible buffer overflows in NS/CS REGISTER. As of now the max pass length is 31 instead of 32 characters.
git-svn-id: svn://svn.anope.org/anope/trunk@1449 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1163 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-22 23:42:30 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b a30f72b2a9 BUILD : 1.7.22 (1448) BUGS : NOTES : Applied patch by w00t to remove a pointer comparison on a non-ptr in cs_clear.c
git-svn-id: svn://svn.anope.org/anope/trunk@1448 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1162 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-22 19:40:34 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 42b6d1f78b BUILD : 1.7.22 (1447) BUGS : NOTES : Applied patch by w00t to enable UMODE in insp
git-svn-id: svn://svn.anope.org/anope/trunk@1447 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1161 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-22 14:16:35 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 02f126c36e BUILD : 1.7.22 (1446) BUGS : NOTES : Removed password truncating and fixed a crashbug in enc_none. This build still crashes on CS GETPASS on some systems though. Someone take a look at termination of ci->founderpass pls.
git-svn-id: svn://svn.anope.org/anope/trunk@1446 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1160 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-20 14:45:38 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 4f3f2b2cd4 BUILD : 1.7.22 (1445) BUGS : NOTES : Added missing entries for .22 release to Changes.lang.
git-svn-id: svn://svn.anope.org/anope/trunk@1445 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1159 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-16 21:39:25 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 1c70638d17 BUILD : 1.7.22 (1444) BUGS : NOTES : Fixed a typo in modules.c introduced in the last commit
git-svn-id: svn://svn.anope.org/anope/trunk@1444 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1158 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-16 00:43:40 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b438196563 Fixed the nss_dns.so.1 issue
git-svn-id: svn://svn.anope.org/anope/trunk@1443 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1157 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-15 06:44:35 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e424ac477a BUILD : 1.7.22 (1442) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@1442 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1156 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14 18:36:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2923c21db7 BUILD : 1.7.22 (1440) BUGS : NOTES : Anope 1.7.22 release
git-svn-id: svn://svn.anope.org/anope/trunk@1440 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1155 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14 16:32:24 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 521ce2e0f7 BUILD : 1.7.21 (1439) BUGS : NOTES : Fixed compiling on windows. We needed access to do_help_limited().
git-svn-id: svn://svn.anope.org/anope/trunk@1439 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1154 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14 15:48:38 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 30e6da5753 BUILD : 1.7.21 (1438) BUGS : NOTES : Updated docs regarding myself and CIDR channellists.
git-svn-id: svn://svn.anope.org/anope/trunk@1438 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1153 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14 14:13:26 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b c572f72ca4 BUILD : 1.7.21 (1437) BUGS : 939 NOTES : Applied patch by chaz to fix compile warning in os_clearmodes.c.
git-svn-id: svn://svn.anope.org/anope/trunk@1437 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1152 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14 13:43:35 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 42f6fa51db BUILD : 1.7.21 (1436) BUGS : 937 NOTES : Rewrote CLEAR OPS to have it send correct mode changes on all ircds.
git-svn-id: svn://svn.anope.org/anope/trunk@1436 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1151 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14 13:30:50 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b feaa01b272 BUILD : 1.7.21 (1435) BUGS : 935 NOTES : AKICK now respects ChanServ PEACE. Checks are performed before adding a nick/mask.
git-svn-id: svn://svn.anope.org/anope/trunk@1435 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1150 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-13 22:08:34 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b c417bc89ef BUILD : 1.7.21 (1434) BUGS : 937 NOTES : Applied patch by Jobe to fix a bug with ratbox RESV caused by incorrect client introduction order.
git-svn-id: svn://svn.anope.org/anope/trunk@1434 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1149 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-13 21:35:58 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 41bd111094 BUILD : 1.7.21 (1433) BUGS : NOTES : Help now handled by respective modules. Should fix compiling on windows.
git-svn-id: svn://svn.anope.org/anope/trunk@1433 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1148 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-11 18:27:08 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b d96924c43a BUILD : 1.7.21 (1432) BUGS : NOTES : The newscount in help is now handled by modules instead of os_help.
git-svn-id: svn://svn.anope.org/anope/trunk@1432 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1147 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-11 17:33:47 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 66a68d639f BUILD : 1.7.21 (1431) BUGS : NOTES : Fixes possible mismatches in entry_match() introduced in previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@1431 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1146 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-09 00:39:38 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b deb6fde2ed BUILD : 1.7.21 (1430) BUGS : NOTES : Fixes a possible segfault in entry_match.
git-svn-id: svn://svn.anope.org/anope/trunk@1430 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1145 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-08 23:33:39 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 8d9d51727a BUILD : 1.7.21 (1429) BUGS : 929 NOTES : Updated the help on ignore.
git-svn-id: svn://svn.anope.org/anope/trunk@1429 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1144 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-04 12:55:31 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 8472915461 BUILD : 1.7.21 (1428) BUGS : 930 NOTES : Rewrote the ignore system to handle both nicks and masks properly.
git-svn-id: svn://svn.anope.org/anope/trunk@1428 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1143 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03 23:58:28 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 8e35ae5f27 BUILD : 1.7.21 (1427) BUGS : 931 NOTES : Added anope build scripts for windows to /src/tools
git-svn-id: svn://svn.anope.org/anope/trunk@1427 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1142 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03 22:29:47 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 790dc8a4bf BUILD : 1.7.21 (1426) BUGS : 876 NOTES : We now support CIDR in channel ban/invite/except lists. Introduces new CIDR capable generic lists system.
git-svn-id: svn://svn.anope.org/anope/trunk@1426 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1141 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03 20:11:12 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 482a8aa766 BUILD : 1.7.21 (1425) BUGS : 873 NOTES : We now show config variables in the help.
git-svn-id: svn://svn.anope.org/anope/trunk@1425 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1140 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03 19:55:36 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 6846e75cc8 BUILD : 1.7.21 (1424) BUGS : 934 NOTES : Fixed bogus password being returned by enc_none when password was truncated.
git-svn-id: svn://svn.anope.org/anope/trunk@1424 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1139 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-02 15:14:59 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 90833c2ba1 BUILD : 1.7.21 (1423) BUGS : 932 NOTES : Fixed crashbug in cs_access.
git-svn-id: svn://svn.anope.org/anope/trunk@1423 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1138 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-01 01:00:25 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 4c9f2c89b5 BUILD : 1.7.21 (1422) BUGS : 927 NOTES : Fixes compiling on windows. We should define new variables above the code not in between.
git-svn-id: svn://svn.anope.org/anope/trunk@1422 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1137 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-31 23:52:20 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 8ff1b1d828 BUILD : 1.7.21 (1421)
BUGS  : 879 
NOTES : Updated help on ChanServ AKICK.


git-svn-id: svn://svn.anope.org/anope/trunk@1421 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1136 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-28 14:57:23 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b 08453816be BUILD : 1.7.21 (1420)
BUGS  : 882
NOTES : Replaces the static count in logon&oper-news by a reference to NewsCount. Also fixes a booboo in my first commit.

git-svn-id: svn://svn.anope.org/anope/trunk@1420 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1135 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-28 13:54:27 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b c52ae2037e Fixes a number of minor language errors.
Restricts access to svsnick, oline and umode to SRA as superadmin too requires SRA. Prevents the cmds from showing up in SA help.

My first commit :-)

git-svn-id: svn://svn.anope.org/anope/trunk@1419 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1134 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-28 13:20:41 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 10e0b81d3d BUILD : 1.7.21 (1418) BUGS : 927 NOTES : Applied a patch by w00t to store the timestamp supplied by insp in FJOIN on channel creation
git-svn-id: svn://svn.anope.org/anope/trunk@1418 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1133 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-24 15:54:58 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 0030f51a2d BUILD : 1.7.21 (1417) BUGS : NOTES : Set SO_REUSEADDR on sock to prevent potential issues with bind() failing after a restart
git-svn-id: svn://svn.anope.org/anope/trunk@1417 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1132 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-21 17:20:03 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 1f637024fc BUILD : 1.7.21 (1416) BUGS : 880 NOTES : Changed CS GETKEY response to what the help for GS GETKEY says it should be
git-svn-id: svn://svn.anope.org/anope/trunk@1416 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1131 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-17 23:42:32 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 32d7c5ff65 BUILD : 1.7.21 (1415) BUGS : 905 NOTES : Applied patch by Viper to add missing config file changes in Changes.conf
git-svn-id: svn://svn.anope.org/anope/trunk@1415 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1130 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-17 14:43:16 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 8b757ca053 BUILD : 1.7.21 (1414) BUGS : 832 925 NOTES : Applied patch from Twitch to fix warnings in users.c. Also corrected a typo made in previous commit to add +f support to inspircd11.c, and corrected various mistakes in Changes and version.log
git-svn-id: svn://svn.anope.org/anope/trunk@1414 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1129 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-17 14:15:48 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b f8ae0732fe BUILD : 1.7.21 (1413) BUGS : 832 NOTES : Added support for channelmodes +efI and SVSHOLD to inspircd11.c
git-svn-id: svn://svn.anope.org/anope/trunk@1413 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1128 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-17 13:03:53 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b e9ec7df0b5 BUILD : 1.7.21 (1412) BUGS : NOTES : Fixed the SVN ID/module version for inspircd11.c
git-svn-id: svn://svn.anope.org/anope/trunk@1412 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1127 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-16 22:41:27 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 932fd33387 BUILD : 1.7.21 (1411) BUGS : 887 NOTES : SGLINE and SQLINE support added for Hybrid
git-svn-id: svn://svn.anope.org/anope/trunk@1411 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1126 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-16 21:59:02 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 8955e156a5 BUILD : 1.7.21 (1410) BUGS : 924 NOTES : Bug fixed where forbidden channels will appear in /list when inhabited by ChanServ
git-svn-id: svn://svn.anope.org/anope/trunk@1410 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1125 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-16 15:43:09 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b efc03b7be4 BUILD : 1.7.21 (1409) BUGS : 922 NOTES : Changes check argument in calls to chan_set_modes() from cs_modes.c/do_util() to 2 to avoid calling chan_set_proper_modes()
git-svn-id: svn://svn.anope.org/anope/trunk@1409 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1124 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-14 23:34:43 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b acfe67f2fd Set os_raw to show up as a 3rd party module...
git-svn-id: svn://svn.anope.org/anope/trunk@1408 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1123 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-11 12:53:26 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b31121671c Removed pointless checks for buf existing, as they always will for non pointers.
git-svn-id: svn://svn.anope.org/anope/trunk@1407 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1122 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-08 10:50:21 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 6d7d43f1c8 w00t removed more sa commands from inspircd, as they no longer work
git-svn-id: svn://svn.anope.org/anope/trunk@1406 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1121 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-08 10:14:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b5d62435c3 Applied patch from w00t to remove sajoin in inspircd.
git-svn-id: svn://svn.anope.org/anope/trunk@1405 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1120 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-08 10:04:51 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 964bbfe559 BUILD : 1.7.21 (1404) BUGS : 917 NOTES : make install now runs install routine for modules subdirs also. Thanks Viper
git-svn-id: svn://svn.anope.org/anope/trunk@1404 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1119 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 21:04:01 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 31125cca37 BUILD : 1.7.21 (1403) BUGS : 916 NOTES : Fixes weird hs_setall behaviour (memory issues). Thanks Jan again
git-svn-id: svn://svn.anope.org/anope/trunk@1403 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1118 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:59:17 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b cc4c1e7d2f BUILD : 1.7.21 (1402) BUGS : 899 NOTES : DEFCON was akilling ulined servers clients. Thanks Jan
git-svn-id: svn://svn.anope.org/anope/trunk@1402 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1117 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:51:37 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b a5da1eb1fa BUILD : 1.7.21 (1401) BUGS : 894 NOTES : Botserv replying with /(null). Thanks Jan
git-svn-id: svn://svn.anope.org/anope/trunk@1401 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1116 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:47:07 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 72fef2ab67 BUILD : 1.7.21 (1400) BUGS : 892 NOTES : Updated Deutch language file. Thanks to Christian
git-svn-id: svn://svn.anope.org/anope/trunk@1400 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1115 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:41:29 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 74a4709641 BUILD : 1.7.21 (1399) BUGS : 909 NOTES : Anope will not limit sessions for ulined servers. Thanks Jan
git-svn-id: svn://svn.anope.org/anope/trunk@1399 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1114 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:36:33 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b fc07bee76a BUILD : 1.7.21 (1398) BUGS : 910 NOTES : EVENT_BOT_KICK not being send under all circumstances. Thanks to Jan Milants for reporting and fixing.
git-svn-id: svn://svn.anope.org/anope/trunk@1398 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1113 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:28:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1fc432fb65 Fixing svn:keywords Id
git-svn-id: svn://svn.anope.org/anope/trunk@1397 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1112 5417fbe8-f217-4b02-8779-1006273d7864
2008-06-03 18:44:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 15bb6a8067 Applied patch by Hal to fix crashbug in his latest patch
git-svn-id: svn://svn.anope.org/anope/trunk@1396 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1111 5417fbe8-f217-4b02-8779-1006273d7864
2008-05-20 09:07:39 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b efb6623742 BUILD : 1.7.21 (1395) BUGS : 897 NOTES : install.js script now works properly on x64 machines
git-svn-id: svn://svn.anope.org/anope/trunk@1395 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1110 5417fbe8-f217-4b02-8779-1006273d7864
2008-05-13 01:11:16 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d751db2d96 Fixed moduleNoticeLang and anope_cmd_notice_ops
git-svn-id: svn://svn.anope.org/anope/trunk@1394 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1109 5417fbe8-f217-4b02-8779-1006273d7864
2008-05-12 18:08:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1d467b95a8 BUILD : 1.7.21 (1393) BUGS : NOTES : Services Operators can now also use NickServ INFO ALL
git-svn-id: svn://svn.anope.org/anope/trunk@1393 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1108 5417fbe8-f217-4b02-8779-1006273d7864
2008-04-30 07:55:50 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1397cfdcd3 BUILD : 1.7.21 (1392) BUGS : NOTES : <Hal9000> fixes a potential crash in channels.c and does handle the TS on incoming FMODE in inspircd.11
git-svn-id: svn://svn.anope.org/anope/trunk@1392 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1107 5417fbe8-f217-4b02-8779-1006273d7864
2008-04-29 10:25:01 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b4d51711c9 Reverted the rusian operinfo string back to english
git-svn-id: svn://svn.anope.org/anope/trunk@1391 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1106 5417fbe8-f217-4b02-8779-1006273d7864
2008-04-06 15:07:31 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b db2f31eea6 BUILD : 1.7.21 (1390) BUGS : 881 NOTES : Fixed error in lang files related to NS SASET LANGUAGE
git-svn-id: svn://svn.anope.org/anope/trunk@1390 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1105 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-21 13:09:44 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b f3d1f178dc BUILD : 1.7.21 (1389) BUGS : 872 NOTES : Added NS SASET LANGUAGE
git-svn-id: svn://svn.anope.org/anope/trunk@1389 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1104 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-20 17:18:45 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b a8c90154f3 BUILD : 1.7.21 (1388) BUGS : N/A NOTES : Modified NS LIST help messages to add SUSPENDED keyword.
git-svn-id: svn://svn.anope.org/anope/trunk@1388 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1103 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-13 13:49:57 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 1a3f71be60 BUILD : 1.7.21 (1387) BUGS : 869 NOTES : Added SUSPENDED to NS LIST keywords.
git-svn-id: svn://svn.anope.org/anope/trunk@1387 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1102 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-12 17:44:54 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 62de724353 BUILD : 1.7.21 (1386) BUGS : 867 NOTES : Removed extra loop when parsing defcon modes.
git-svn-id: svn://svn.anope.org/anope/trunk@1386 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1101 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-12 15:30:38 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 46c09b5da9 BUILD : 1.7.21 (1385) BUGS : 862 NOTES : rdb_close() where rdb_open() is used in rdb_dbase() functions.
git-svn-id: svn://svn.anope.org/anope/trunk@1385 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1100 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-12 14:56:33 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 7c476bb32e BUILD : 1.7.21 (1384) BUGS : 870 NOTES : Fixed segfault introduced y me trying to fix 870.
git-svn-id: svn://svn.anope.org/anope/trunk@1384 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1099 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-12 01:27:27 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b d8e2d63905 BUILD : 1.7.21 (1383) BUGS : 863 NOTES : Added missed debug message when HostServ is disabled.
git-svn-id: svn://svn.anope.org/anope/trunk@1383 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1098 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-11 21:25:39 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 40bc328526 BUILD : 1.7.21 (1382) BUGS : 870 NOTES : Fixed memory leak in cs_akick().
git-svn-id: svn://svn.anope.org/anope/trunk@1382 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1097 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-11 21:10:09 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 2c82302421 BUILD : 1.7.21 (1381) BUGS : 868 NOTES : Fixed memory leak in add_akill().
git-svn-id: svn://svn.anope.org/anope/trunk@1381 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1096 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-11 21:02:15 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b c2411bef50 BUILD : 1.7.21 (1380) BUGS : 864 NOTES : Fixed configure script so it will complain about args.
git-svn-id: svn://svn.anope.org/anope/trunk@1380 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1095 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-11 20:46:31 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b eea393f77f BUILD : 1.7.21 (1379) BUGS : 856 NOTES : x86_64 generating improper SHA1 hash values. Thanks Johno Crawford ;)
git-svn-id: svn://svn.anope.org/anope/trunk@1379 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1094 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-08 14:54:04 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 1e9c3a0242 BUILD : 1.7.21 (1378) BUGS : 861 NOTES : NickServ replying to SVSNICK command where OperServ must.
git-svn-id: svn://svn.anope.org/anope/trunk@1378 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1093 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-07 20:34:17 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b0ea0e9e9c BUILD : 1.7.21 (1377) BUGS : 857 NOTES : Fixed the findchan() debug messages so you now have ubercool debug stuff when you enter debug level 3\!
git-svn-id: svn://svn.anope.org/anope/trunk@1377 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1092 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-07 11:00:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b dc313bfab6 BUILD : 1.7.21 (1376) BUGS : 859 NOTES : Fixed a small oddity in do_cmode()
git-svn-id: svn://svn.anope.org/anope/trunk@1376 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1091 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-07 10:55:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2a83fd3599 BUILD : 1.7.21 (1375) BUGS : 858 NOTES : do_sjoin() called finduser(NULL)
git-svn-id: svn://svn.anope.org/anope/trunk@1375 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1090 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-07 10:50:04 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 2a08701f55 BUILD : 1.7.21 (1374) BUGS : 820 NOTES : do_cmode() called without passing TS
git-svn-id: svn://svn.anope.org/anope/trunk@1374 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1089 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-05 19:16:42 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1baff08ad8 BUILD : 1.7.21 (1373) BUGS : 855 NOTES : Fixed various issues in handling of DefCon modes with params
git-svn-id: svn://svn.anope.org/anope/trunk@1373 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1088 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-05 14:35:42 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 2844a3ed59 BUILD : 1.7.21 (1372) BUGS : 854 NOTES : Removed bs_fantasy_unban from core modules.
git-svn-id: svn://svn.anope.org/anope/trunk@1372 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1087 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-05 14:15:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b de3cc8e044 BUILD : 1.7.21 (1371) BUGS : 849 NOTES : Applied patch by Jan Milants to remove an excessive free in cs_akick
git-svn-id: svn://svn.anope.org/anope/trunk@1371 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1086 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-05 14:04:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 04d048a22d BUILD : 1.7.21 (1370) BUGS : 846 NOTES : Updated docs/WIN32.txt
git-svn-id: svn://svn.anope.org/anope/trunk@1370 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1085 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-05 13:59:42 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3ccf2f6e53 BUILD : 1.7.21 (1369) BUGS : 685 NOTES : Fixed some small compiler warnings about buffer addresses always evaluating to true
git-svn-id: svn://svn.anope.org/anope/trunk@1369 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1084 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-05 13:51:50 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4dd8573f20 BUILD : 1.7.21 (1368) BUGS : 853 NOTES : Updated config.guess and config.sub from upstream (GNU)
git-svn-id: svn://svn.anope.org/anope/trunk@1368 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1083 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-05 13:45:51 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 167aa3e7c7 BUILD : 1.7.21 (1367) BUGS : 847 NOTES : Added missed NickServ HELP for RESEND command.
git-svn-id: svn://svn.anope.org/anope/trunk@1367 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1082 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-04 19:47:55 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 18bde8d0a0 BUILD : 1.7.21 (1366) BUGS : 848 NOTES : No variable for NSReleaseTimeout in NICK_RECOVERED message
git-svn-id: svn://svn.anope.org/anope/trunk@1366 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1081 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-04 17:52:13 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 8d6b3b17fc BUILD : 1.7.21 (1365) BUGS : 850, 851, 852 NOTES : Fixed several memory leaks reported by Trystan. Do not forget to free allocated memory!
git-svn-id: svn://svn.anope.org/anope/trunk@1365 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1080 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-04 15:54:32 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 395f3edacc BUILD : 1.7.21 (1364) BUGS : 844 NOTES : Removed broken version checking for windows media center edition and tablet edition; free(Jobe);
git-svn-id: svn://svn.anope.org/anope/trunk@1364 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1079 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 13:29:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ba7e2d8440 BUILD : 1.7.21 (1363) BUGS : 842 NOTES : Fixed yet another memory leak; it wass cs_akick this time
git-svn-id: svn://svn.anope.org/anope/trunk@1363 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1078 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:50:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3e977708be BUILD : 1.7.21 (1362) BUGS : 841 NOTES : Fixed memleaks in hs_setall
git-svn-id: svn://svn.anope.org/anope/trunk@1362 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1077 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:41:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 439c66311a BUILD : 1.7.21 (1361) BUGS : 840 NOTES : Fixed a memory leak in cs_list
git-svn-id: svn://svn.anope.org/anope/trunk@1361 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1076 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:34:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b aef8102b5b BUILD : 1.7.21 (1360) BUGS : 839 NOTES : Removed old code from cs_clear and fixed a memory leak in there as well
git-svn-id: svn://svn.anope.org/anope/trunk@1360 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1075 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:31:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b0f9385857 BUILD : 1.7.21 (1359) BUGS : 838 NOTES : Fixed various checks for LogBot in bs_say and bs_act
git-svn-id: svn://svn.anope.org/anope/trunk@1359 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1074 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:26:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 42b72b522f BUILD : 1.7.21 (1358) BUGS : 837 NOTES : Added a check for LogChannel when running with -logchan switch
git-svn-id: svn://svn.anope.org/anope/trunk@1358 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1073 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:20:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1e23c7fdf0 BUILD : 1.7.21 (1357) BUGS : 836 NOTES : Fixed memleaks in os_clearmodes
git-svn-id: svn://svn.anope.org/anope/trunk@1357 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1072 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:15:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6d33eeb6b3 BUILD : 1.7.21 (1356) BUGS : 835 NOTES : Fixed channel walking for do_mass_mode() and restore_unsynced_topics() to use firstchan/nextchan
git-svn-id: svn://svn.anope.org/anope/trunk@1356 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1071 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:10:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d7c0230e78 BUILD : 1.7.21 (1355) BUGS : 834 NOTES : Fixed various oddities in ChanServ suspend code
git-svn-id: svn://svn.anope.org/anope/trunk@1355 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1070 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 10:07:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 721a24ae21 BUILD : 1.7.21 (1354) BUGS : 833 NOTES : Ficed various oddities in moduleAddData()
git-svn-id: svn://svn.anope.org/anope/trunk@1354 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1069 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 09:55:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b8bd618303 BUILD : 1.7.21 (1353) BUGS : NOTES : Rules for Changes: [[1]] A always goes before F (and anything else in between) [[2]] Anything within an A-block or F-block for 1 version is sorted ascending on the date (newer lines on the bottom) [[3]] Lines end with a period.
git-svn-id: svn://svn.anope.org/anope/trunk@1353 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1068 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26 09:37:33 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 4b62b08ddf BUILD : 1.7.21 (1352) BUGS : N/A NOTES : Fixed several language erros (missed strings, bad formatting, etc). Added a check for BotServs bots hostname too long.
git-svn-id: svn://svn.anope.org/anope/trunk@1352 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1067 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-24 14:08:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b5bf30483b BUILD : 1.7.21 (1351) BUGS : 831 NOTES : Fixed a bug in next_server() which skipped over all servers right away when passing -1 as param
git-svn-id: svn://svn.anope.org/anope/trunk@1351 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1066 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-16 09:02:35 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b dfec1723a8 BUILD : 1.7.21 (1350) BUGS : 828 NOTES : Forgot to update the other language files
git-svn-id: svn://svn.anope.org/anope/trunk@1350 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1065 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-15 19:59:28 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 0716aaaacb BUILD : 1.7.21 (1349) BUGS : 828 NOTES : BOT_NOT_ASSIGNED language string error
git-svn-id: svn://svn.anope.org/anope/trunk@1349 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1064 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-15 19:49:10 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b d404f6183c BUILD : 1.7.21 (1348) BUGS : 825 NOTES : listnicks/listchans now shows if a nickname/channel is SUSPENDED.
git-svn-id: svn://svn.anope.org/anope/trunk@1348 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1063 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-15 19:31:20 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b e6d67d1aba BUILD : 1.7.21 (1347) BUGS : 827 NOTES : Re-assigned OS CHANLIST perms to Services Opers
git-svn-id: svn://svn.anope.org/anope/trunk@1347 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1062 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-15 15:05:23 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 1f9fd58698 BUILD : 1.7.21 (1346) BUGS : 826 NOTES : GPL required header added
git-svn-id: svn://svn.anope.org/anope/trunk@1346 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1061 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-15 14:42:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 555c7ff856 BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13 12:54:14 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 380e29d86e BUILD : 1.7.21 (1344) BUGS : 824 NOTES : Removed a random time(NULL) which was appended to bans set in check_kick()
git-svn-id: svn://svn.anope.org/anope/trunk@1344 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1059 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-12 22:31:24 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6a948e9788 BUILD : 1.7.21 (1342) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@1343 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1058 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-11 11:28:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1d255739ca BUILD : 1.7.21 (1341) BUGS : NOTES : Anope 1.7.21 release
git-svn-id: svn://svn.anope.org/anope/trunk@1341 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1057 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-10 22:29:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 560f84efb6 BUILD : 1.7.20 (1340) BUGS : NOTES : I agree
git-svn-id: svn://svn.anope.org/anope/trunk@1340 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1056 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-09 14:17:42 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 71eb7fc492 BUILD : 1.7.20 (1339) BUGS : NOTES : mark is a retard when it comes to editing Changes :(
git-svn-id: svn://svn.anope.org/anope/trunk@1339 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1055 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-09 14:16:20 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 2f79c36305 BUILD : 1.7.20 (1338) BUGS : 821 NOTES : Temporary patch for the crash in inspircd_cmd_mode()
git-svn-id: svn://svn.anope.org/anope/trunk@1338 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1054 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-09 14:11:35 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c9ce8f3df3 BUILD : 1.7.20 (1337) BUGS : NOTES : Updating something in NEWS, just because i want r1337 instead of letting mark have it >:(
git-svn-id: svn://svn.anope.org/anope/trunk@1337 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1053 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-09 01:55:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d4c1e5f025 BUILD : 1.7.20 (1336) BUGS : NOTES : Fixed swapped prefixes for +a and +q on inspircd11
git-svn-id: svn://svn.anope.org/anope/trunk@1336 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1052 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-06 17:01:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f4da46570b BUILD : 1.7.20 (1335) BUGS : NOTES : Updated documentations as by Jobes patch and did some readability work on cs_enforce
git-svn-id: svn://svn.anope.org/anope/trunk@1335 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1051 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-06 13:38:15 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3daf76ca8c BUILD : 1.7.20 (1334) BUGS : NOTES : Fixed insp11 not parsing +q correctly in FJOIN
git-svn-id: svn://svn.anope.org/anope/trunk@1334 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1050 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-05 21:30:29 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b9854dad63 BUILD : 1.7.20 (1333) BUGS : 817 NOTES : Fixed users not being re-identified automatically after a netsplit on insp
git-svn-id: svn://svn.anope.org/anope/trunk@1333 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1049 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-05 18:59:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8f7e160ce9 BUILD : 1.7.20 (1332) BUGS : NOTES : Updated Russian language file provided by Kein and added his Russian translations to bundled modules as well
git-svn-id: svn://svn.anope.org/anope/trunk@1332 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1048 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-04 10:43:21 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6ac600f42b BUILD : 1.7.20 (1331) BUGS : 816 NOTES : Applied patch by Jan Milants to fix EVENT_ACCESS_DEL being sent with NULL-param when using XOP
git-svn-id: svn://svn.anope.org/anope/trunk@1331 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1047 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-04 10:22:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 62502d68f3 BUILD : 1.7.20 (1330) BUGS : 815 NOTES : Applied patch by Trystan to properly detect Windows Vista and Windows Server 2008
git-svn-id: svn://svn.anope.org/anope/trunk@1330 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1046 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-04 10:18:42 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 703b273472 BUILD : 1.7.20 (1329) BUGS : 811 NOTES : Fixed databases not being saved when anope quit due to a connection error
git-svn-id: svn://svn.anope.org/anope/trunk@1329 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1045 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-01 13:48:50 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 751783a2aa BUILD : 1.7.20 (1328) BUGS : 812 NOTES : Fixed a bug where multiple grouped nicks and not all of them listed in ServicesRoot could result in services roots not becoming services root when using MySQL
git-svn-id: svn://svn.anope.org/anope/trunk@1328 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1044 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-30 21:07:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 568cec7bad BUILD : 1.7.20 (1325) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@1327 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1043 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-30 14:41:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8efc38c5c0 BUILD : 1.7.20 (1324) BUGS : NOTES : 1.7.20 release
git-svn-id: svn://svn.anope.org/anope/trunk@1324 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1042 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-30 13:36:44 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 0f5b5ab936 BUILD : 1.7.19 (1323) BUGS : 692 NOTES : Added RSQUIT support to the InspIRCd 1.1 protocol module
git-svn-id: svn://svn.anope.org/anope/trunk@1323 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1041 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-28 22:51:49 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4a5cf6e1e3 BUILD : 1.7.19 (1322) BUGS : 685 NOTES : Applied a patch by Jilles which should fix SJOIN not always sending the correct TS
git-svn-id: svn://svn.anope.org/anope/trunk@1322 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1040 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-28 19:12:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f8f64944c2 BUILD : 1.7.19 (1321) BUGS : 810 NOTES : Fixed outdated module error strings in ModuleGetErrStr
git-svn-id: svn://svn.anope.org/anope/trunk@1321 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1039 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-27 19:10:36 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 6f15f42a02 BUILD : 1.7.19 (1320) BUGS : NOTES :
git-svn-id: svn://svn.anope.org/anope/trunk@1320 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1038 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-24 15:36:11 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 59cd3a35fe BUILD : 1.7.19 (1319) BUGS : NOTES :
git-svn-id: svn://svn.anope.org/anope/trunk@1319 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1037 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-24 15:30:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 34a88d38c3 BUILD : 1.7.19 (1318) BUGS : 791 NOTES : Fixed inconsistent use of ACCESS events
git-svn-id: svn://svn.anope.org/anope/trunk@1318 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1036 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-15 15:50:16 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 60088ee8a1 BUILD : 1.7.19 (1317) BUGS : NOTES : Updates some docs; by chaz
git-svn-id: svn://svn.anope.org/anope/trunk@1317 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1035 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-03 17:17:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 46c537271d BUILD : 1.7.19 (1316) BUGS : 802 NOTES : Added support for MSVC++ 2008 Express (damn names.. gcc-4.4 would be so much shorter)
git-svn-id: svn://svn.anope.org/anope/trunk@1316 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1034 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-03 16:26:39 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b edfb74f6e6 BUILD : 1.7.19 (1315) BUGS : NOTES : Left an oops after the last commit :)
git-svn-id: svn://svn.anope.org/anope/trunk@1315 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1033 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-03 16:17:48 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2ad0fde826 BUILD : 1.7.19 (1314) BUGS : 797 NOTES : Fixed malformed command for chgident in inspircd11.c
git-svn-id: svn://svn.anope.org/anope/trunk@1314 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1032 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-03 15:59:39 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4517a6e2c1 BUILD : 1.7.19 (1313) BUGS : 796 NOTES : Fixed unregistered users getting access level -1 instead of 0 so they could never get opped
git-svn-id: svn://svn.anope.org/anope/trunk@1313 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1031 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-03 15:53:16 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b a7c2b269db git-svn-id: svn://svn.anope.org/anope/trunk@1312 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1030 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-02 16:51:10 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b c487fadebb Ignore this...
git-svn-id: svn://svn.anope.org/anope/trunk@1311 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1029 5417fbe8-f217-4b02-8779-1006273d7864
2007-10-28 10:39:57 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 0318d9547e BUILD : 1.7.19 (1310) BUGS : 794 NOTES : Fixes the segfault in inspircd11.c / anope_event_capab() on missing required modules.
git-svn-id: svn://svn.anope.org/anope/trunk@1310 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1028 5417fbe8-f217-4b02-8779-1006273d7864
2007-10-07 18:00:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f055aa452a BUILD : 1.7.19 (1309) BUGS : 793 NOTES : Fixed a typo in inspircd11.c where it checked for chgident.so
git-svn-id: svn://svn.anope.org/anope/trunk@1309 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1027 5417fbe8-f217-4b02-8779-1006273d7864
2007-10-05 16:15:58 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f598d67c16 BUILD : 1.7.19 (1308) BUGS : 787 NOTES : Applied a patch by T fixing moduleGetConfigDirective disliking CRLF line-ends
git-svn-id: svn://svn.anope.org/anope/trunk@1308 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1026 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-24 17:32:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b289f05fbf BUILD : 1.7.19 (1307) BUGS : 788 NOTES : Fixed OS HELP OPER showing admin instead of root (OH NOES)
git-svn-id: svn://svn.anope.org/anope/trunk@1307 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1025 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-24 17:28:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ff8e2751f4 BUILD : 1.7.19 (1306) BUGS : 789 NOTES : Fixed Polish language reporting itself as English when switching to it
git-svn-id: svn://svn.anope.org/anope/trunk@1306 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1024 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-24 17:24:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7bf2b429e7 BUILD : 1.7.19 (1305) BUGS : 757 NOTES : Fixed mysql_config values only being tried to compile/link sources and not running the result to see if it actually works
git-svn-id: svn://svn.anope.org/anope/trunk@1305 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1023 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-09 14:55:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 01ddc377e7 BUILD : 1.7.19 (1304) BUGS : 782 NOTES : Fixed an undeclared identifier in the new code for cleaning up the modules dir on win32
git-svn-id: svn://svn.anope.org/anope/trunk@1304 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1022 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-09 12:03:57 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 5f5ac9f0d7 BUILD : 1.7.19 (1303) BUGS : 703 NOTES : Fixed user being able to change channel modes on empty channels without permission (eg SECUREOPS)
git-svn-id: svn://svn.anope.org/anope/trunk@1303 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1021 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-08 08:34:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 76f61c3e33 BUILD : 1.7.19 (1302) BUGS : NOTES : Minor style changes in Changes
git-svn-id: svn://svn.anope.org/anope/trunk@1302 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1020 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-08 07:47:28 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 69971ddc92 BUILD : 1.7.19 (1301) BUGS : 780, 781 NOTES : [1] Removed extra bolds from OS HELP SET [2] Removed extra Limited to... messages from os_akill and os_modload.
git-svn-id: svn://svn.anope.org/anope/trunk@1301 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1019 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-06 00:16:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e7fef19a3c BUILD : 1.7.19 (1300) BUGS : NOTES : Changed 2 // (C++-style) comments in /* (C-style) */ comments in src/misc.s and ran indent on the same file
git-svn-id: svn://svn.anope.org/anope/trunk@1300 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1018 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-02 14:21:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 00e6e4d382 BUILD : 1.7.19 (1299) BUGS : NOTES : Added MySQL indexes to decrease the MySQL load during database operations
git-svn-id: svn://svn.anope.org/anope/trunk@1299 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1017 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-02 14:11:27 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 113eaa042e BUILD : 1.7.19 (1298) BUGS : N/A NOTES : [1] Applied heinz patch to WIN32 docs [2] Corrected comment in chanserv.c
git-svn-id: svn://svn.anope.org/anope/trunk@1298 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1016 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-02 13:41:14 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 5088cdcf99 BUILD : 1.7.19 (1297) BUGS : N/A NOTES : In the last commit, I forgot to store the just resolved IP in common_unban() so we wont need to resolve the host again.
git-svn-id: svn://svn.anope.org/anope/trunk@1297 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1015 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 21:19:50 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 57776f87e6 BUILD : 1.7.19 (1296) BUGS : N/A NOTES : Since we now have u->hostip, lets use it in common_unban()
git-svn-id: svn://svn.anope.org/anope/trunk@1296 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1014 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 20:51:05 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 317b3e0c4e BUILD : 1.7.19 (1295) BUGS : N/A NOTES : We now have hostip in user_ struct so we can use it where needed. We wont do host_resolve() unless it is extremely necessary, coz we dont want to flood the nameserver.
git-svn-id: svn://svn.anope.org/anope/trunk@1295 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1013 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 20:40:36 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b d5a2079085 BUILD : 1.7.19 (1294) BUGS : N/A NOTES : in is_excepted() if we found the exception, break(). There is no point on continue exploring the array. Also, I forgot to free hostip in my previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@1294 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1012 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 18:59:12 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b cde740c02f BUILD : 1.7.19 (1293) BUGS : 778 NOTES : is_excepted() now uses match_userip() also.
git-svn-id: svn://svn.anope.org/anope/trunk@1293 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1011 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 18:38:14 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 6e4767644e BUILD : 1.7.19 (1292) BUGS : 776 NOTES : Fixed wrong reply when deleting entries by number (akick, badwords)
git-svn-id: svn://svn.anope.org/anope/trunk@1292 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1010 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 17:34:42 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b fb8c78607c BUILD : 1.7.19 (1291) BUGS : 774 NOTES : Unreals (3.2) SVSJOIN command now supports channel keys
git-svn-id: svn://svn.anope.org/anope/trunk@1291 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1009 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-30 20:59:14 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b cc15db0a44 BUILD : 1.7.19 (1290) BUGS : 723 NOTES : Anope now can except users from Session limit based on their IP.
git-svn-id: svn://svn.anope.org/anope/trunk@1290 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1008 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-29 21:45:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3c1a2fbfca BUILD : 1.7.19 (1289) BUGS : 768 NOTES : Fixed module runtime directory not always being cleaned up nicely
git-svn-id: svn://svn.anope.org/anope/trunk@1289 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1007 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-29 19:05:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 56800d4103 BUILD : 1.7.19 (1288) BUGS : 761 NOTES : Fixing up a comment from the last commit
git-svn-id: svn://svn.anope.org/anope/trunk@1288 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1006 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-29 18:40:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4a0092fb3b BUILD : 1.7.19 (1287) BUGS : 761 NOTES : Fixed OperServ SGLINE to now remove trailing spaces from the mask... this is not 100% syntactically correct, but spaces on the end are not usually needed anyways
git-svn-id: svn://svn.anope.org/anope/trunk@1287 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1005 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-29 18:39:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 071a08c7ec BUILD : 1.7.19 (1286) BUGS : 731 NOTES : Fixed TS6 UID generation
git-svn-id: svn://svn.anope.org/anope/trunk@1286 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1004 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-29 18:34:07 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 53fbcea421 BUILD : 1.7.19 (1285) BUGS : 684, 772 NOTES : [1] Added InspIRCd11 vIdent support [2] InspIRCD11 protocol now uses SVSJOIN/PART instead of SAJOIN/PART
git-svn-id: svn://svn.anope.org/anope/trunk@1285 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1003 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-29 04:13:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b89cfa30e8 BUILD : 1.7.19 (1284) BUGS : 770 NOTES : SuperAdmins now have a higher channel level than channel founders so they will always win from founders
git-svn-id: svn://svn.anope.org/anope/trunk@1284 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1002 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-28 14:54:49 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 405d39fcdc BUILD : 1.7.19 (1283) BUGS : 773 NOTES : Patch provided by katsklaw: This patch makes us check commands existance before issuing and we scream like a girl if its not.
git-svn-id: svn://svn.anope.org/anope/trunk@1283 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1001 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-28 14:50:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d5594b84ee BUILD : 1.7.19 (1282) BUGS : 729 NOTES : Changed the "Limited to ..." lines in help replies to automatically appended lines
git-svn-id: svn://svn.anope.org/anope/trunk@1282 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1000 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-28 14:20:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b dbcca23f37 BUILD : 1.7.19 (1281) BUGS : NOTES : Reworded some stuffs in Changes
git-svn-id: svn://svn.anope.org/anope/trunk@1281 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@999 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-28 12:21:55 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 382bf176ed BUILD : 1.7.19 (1280) BUGS : 763 NOTES : Fixed bug in ptlink protocol where topic time wasnt being sent.
git-svn-id: svn://svn.anope.org/anope/trunk@1280 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@998 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-28 05:14:54 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 817316d5f7 BUILD : 1.7.19 (1279) BUGS : 765 NOTES : Fixed bug when truncating passwords to PASSMAX with enc_none.
git-svn-id: svn://svn.anope.org/anope/trunk@1279 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@997 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-28 04:43:10 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b f539caac0d BUILD : 1.7.19 (1278) BUGS : 683, 767 NOTES : [1] typo in en_us.l [2] Provided by katsklaws patch: inspircd11 protocol now uses svshold.
git-svn-id: svn://svn.anope.org/anope/trunk@1278 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@996 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-28 03:09:22 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b eaa1e65e38 BUILD : 1.7.19 (1277) BUGS : 759 NOTES : Added missed NS CONFIRM help.
git-svn-id: svn://svn.anope.org/anope/trunk@1277 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@995 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 22:31:45 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b b768f0be3f BUILD : 1.7.19 (1275) BUGS : 753 NOTES : Services Admins and Services Opers can now be kicked by ChanServ.
git-svn-id: svn://svn.anope.org/anope/trunk@1276 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@994 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 19:32:35 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 409671f5d0 BUILD : 1.7.19 (1275) BUGS : 747 NOTES : CS SET XOP can not be used if cs_xop is not loaded.
git-svn-id: svn://svn.anope.org/anope/trunk@1275 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@993 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 19:14:16 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1576ab143b BUILD : 1.7.19 (1274) BUGS : 764 NOTES : Fixed firstuser/nextuser and first_uid/next_uid using the same globals thus being unable to be used at the same time
git-svn-id: svn://svn.anope.org/anope/trunk@1274 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@992 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 18:12:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f9f5c677cc BUILD : 1.7.19 (1273) BUGS : NOTES : Updated src/bin/am to now correctly work with multiversioned repositories as reported by svnversion
git-svn-id: svn://svn.anope.org/anope/trunk@1273 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@991 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 17:15:44 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 019c9a02f8 BUILD : 1.7.19 (1272) BUGS : N/A NOTES : Patch provided by teh heinz: [1] Updated the WIN32.txt document a bit [2] Re-worded the CHAN_LEVELS_XOP string in en_us.l
git-svn-id: svn://svn.anope.org/anope/trunk@1272 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@990 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 17:09:18 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 59e8ec448c BUILD : 1.7.19 (1271) BUGS : NOTES : Fixed revision numbering in version.log
git-svn-id: svn://svn.anope.org/anope/trunk@1271 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@989 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 16:58:35 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b f946a555d0 BUILD : 1.7.19 (1268) BUGS : 714 NOTES : Moved left settings for commands to core modules.
git-svn-id: svn://svn.anope.org/anope/trunk@1270 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@988 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27 03:23:06 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 82015a606f BUILD : 1.7.19 (1268) BUGS : 662 NOTES : Optimized akick and badwords lists, provided by Viper.
git-svn-id: svn://svn.anope.org/anope/trunk@1269 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@987 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26 20:49:18 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 17946690bf BUILD : 1.7.19 (1268) BUGS : 662 NOTES : badword counting fixed, and now the list is sorted also. fixed remaining bug in akick sorting.
git-svn-id: svn://svn.anope.org/anope/trunk@1268 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@986 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26 20:13:33 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b 1a5e9120c7 BUILD : 1.7.19 (1267) BUGS : 662 NOTES : akick counts are now properly decressed. os_info now really uses status var. some module clean ups.
git-svn-id: svn://svn.anope.org/anope/trunk@1267 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@985 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26 18:43:43 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a3bf52551d BUILD : 1.7.19 (1266) BUGS : NOTES : Updated src/bin/am for now SVN host some more
git-svn-id: svn://svn.anope.org/anope/trunk@1266 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@984 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26 18:40:24 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4f9325f8d0 BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26 15:33:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 15556aadb6 BUILD : 1.7.19 (1263) BUGS : NOTES : Made an oops in the fix for bug 742 :) (wrong params passed to a function)
git-svn-id: svn://svn.anope.org/anope/trunk@1264 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@982 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-13 10:43:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d45fabdda8 BUILD : 1.7.19 (1263) BUGS : 742 NOTES : Fixed inspircd11.c so it generates a fake capab parse call to enable things like NOQUIT... also ran indent on inspircd11.c
git-svn-id: svn://svn.anope.org/anope/trunk@1263 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@981 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-11 08:41:18 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f3d98aecbc BUILD : 1.7.19 (1262) BUGS : 727 NOTES : Fixed DefConChanModes being re-set while being unset
git-svn-id: svn://svn.anope.org/anope/trunk@1262 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@980 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-08 18:41:42 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d20ad8e180 BUILD : 1.7.19 (1260) BUGS : 734 NOTES : Fixed a false debug notice claiming the killed user did not exist when it was killed due to a session limit exceeded
git-svn-id: svn://svn.anope.org/anope/trunk@1261 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@979 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-08 18:25:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ba5c044340 BUILD : 1.7.19 (1260) BUGS : NOTES : Updated FAQ to reflect the changes on wiki/site
git-svn-id: svn://svn.anope.org/anope/trunk@1260 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@978 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-08 17:20:23 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e975f89e18 BUILD : 1.7.19 (1258) BUGS : NOTES : Quick fix to src/bin/am to make it work (sort of) again...
git-svn-id: svn://svn.anope.org/anope/trunk@1259 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@977 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-05 15:38:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 597212d17a BUILD : 1.7.19 (1258) BUGS : 750 NOTES : Fixed CA_AUTODEOP not working anymore (since 1.7.9 or so probably)
git-svn-id: svn://svn.anope.org/anope/trunk@1258 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@976 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-05 12:36:26 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 945b51b780 BUILD : 1.7.19 (1256) BUGS : NOTES : Moved the displaying of command infos on command add/remove to debug level 2 instead of 1
git-svn-id: svn://svn.anope.org/anope/trunk@1256 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@975 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-14 08:10:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e873466498 BUILD : 1.7.19 (1255) BUGS : 743 NOTES : Fixed various compile errors with make strict
git-svn-id: svn://svn.anope.org/anope/trunk@1255 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@974 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-09 11:24:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 782aed6801 BUILD : 1.7.19 (1254) BUGS : 741 NOTES : Fixed a possible buffer overflow in inspircd10.c
git-svn-id: svn://svn.anope.org/anope/trunk@1254 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@973 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-09 11:14:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2a0c54c27c BUILD : 1.7.19 (1253) BUGS : 737 NOTES : Fixed GlobalOnCycle notices being sent to Anope itself and juped servers
git-svn-id: svn://svn.anope.org/anope/trunk@1253 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@972 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-09 11:09:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 873125f4ae BUILD : 1.7.19 (1252) BUGS : 729 NOTES : Fixed various access levels for oper commands
git-svn-id: svn://svn.anope.org/anope/trunk@1252 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@971 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-09 11:01:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 813c850fa2 BUILD : 1.7.19 (1251) BUGS : 732 NOTES : Fixed /os MODINFO showing no
git-svn-id: svn://svn.anope.org/anope/trunk@1251 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@970 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-18 13:37:10 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e16865f8bb BUILD : 1.7.19 (1250) BUGS : 718 NOTES : Fixed the fact that we did not send a receive-notification for the SQUIT for a juped server
git-svn-id: svn://svn.anope.org/anope/trunk@1250 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@969 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-15 14:30:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b aa8ba0dc72 BUILD : 1.7.19 (1249) BUGS : 726 NOTES : Fixed some jupe stuff: when juping a currently non-existing server, it was still squitted and the globaloncycleup message was sent to newly juped servers
git-svn-id: svn://svn.anope.org/anope/trunk@1249 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@968 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-15 13:47:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 37df212c38 BUILD : 1.7.19 (1248) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@1248 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@967 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-15 13:20:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 5ebf148784 BUILD : 1.7.19 (1247) BUGS : NOTES : Anope 1.7.19 Release
git-svn-id: svn://svn.anope.org/anope/trunk@1247 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@966 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-10 12:06:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 60794f50c7 BUILD : 1.7.18 (1246) BUGS : NOTES : Fixed possible compile error with inspircd11 on win32
git-svn-id: svn://svn.anope.org/anope/trunk@1246 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@965 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-10 11:43:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 461af46f0e BUILD : 1.7.18 (1245) BUGS : 671 NOTES : NSDefKill can now only be enabled if UsePrivmsg is also enabled; NSDefKill is now used instead of UsePrivmsg to determine whether unregistered users receive PRIVMSGs or NOTICEs
git-svn-id: svn://svn.anope.org/anope/trunk@1245 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@964 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-09 15:27:41 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b 0bdd730f3c BUILD : 1.7.18 (1244) BUGS : 713 719 NOTES : Corrected typo in rdb.c, added code in backup_databases() and remove_backups() to backup the prenick db, and added checks in remove_backups() for s_BotServ and s_HostServ being NULL
git-svn-id: svn://svn.anope.org/anope/trunk@1244 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@963 5417fbe8-f217-4b02-8779-1006273d7864
2007-06-04 13:04:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 42703a0e5e BUILD : 1.7.18 (1243) BUGS : NOTES : Fixed a typo in example.conf
git-svn-id: svn://svn.anope.org/anope/trunk@1243 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@962 5417fbe8-f217-4b02-8779-1006273d7864
2007-05-30 13:33:58 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d153e04ffd BUILD : 1.7.18 (1242) BUGS : NOTES : Minor tweaks to the ns_noop_convert output
git-svn-id: svn://svn.anope.org/anope/trunk@1242 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@961 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-22 17:28:49 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d04fbb953b BUILD : 1.7.18 (1241) BUGS : 707 NOTES : Applied a patch by jilles to fix various charybdis and ts6 related issues
git-svn-id: svn://svn.anope.org/anope/trunk@1241 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@960 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-21 12:35:13 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 208219f8ec BUILD : 1.7.18 (1240) BUGS : 706 NOTES : Fixed EVENT_ACCESS_DEL nog being sent on each delete when mass-deleting in cs_xop
git-svn-id: svn://svn.anope.org/anope/trunk@1240 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@959 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-21 12:28:49 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d10f00f918 BUILD : 1.7.18 (1239) BUGS : 705 NOTES : Applied patch by Jan Milants to fix the swapped ACCESS_ADD and ACCESS_CHANGED events in cs_xop
git-svn-id: svn://svn.anope.org/anope/trunk@1239 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@958 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-21 12:16:12 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 092d240f6b BUILD : 1.7.18 (1238) BUGS : 662 NOTES : Fixed array count not being decremented on ChanServ access lists (provided by Jan Milants)
git-svn-id: svn://svn.anope.org/anope/trunk@1238 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@957 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-21 11:50:12 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ab0dc81bc2 BUILD : 1.7.18 (1237) BUGS : 661 NOTES : Fixed DefCon which did not force DefConChanModes when it was enabled
git-svn-id: svn://svn.anope.org/anope/trunk@1237 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@956 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-21 11:19:52 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b df8e1b5f39 # BUILD : 1.7.18 (1236) # BUGS : # NOTES : Applied Rob's password length patch
git-svn-id: svn://svn.anope.org/anope/trunk@1236 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@955 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-19 11:13:29 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b de39a0e8a7 # BUILD : 1.7.18 (1235) # BUGS : 643 # NOTES : Defcon's AKILL will now honor the server's sync flag
git-svn-id: svn://svn.anope.org/anope/trunk@1235 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@954 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-18 23:23:33 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 6af154683f # BUILD : 1.7.18 (1234) # BUGS : 680 681 # NOTES : typos in en_us.l
git-svn-id: svn://svn.anope.org/anope/trunk@1234 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@953 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-18 22:39:24 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 32be13478a # BUILD : 1.7.18 (1233) # BUGS : 670 # NOTES : Fixed minor booboo in en_us.l and de.l
git-svn-id: svn://svn.anope.org/anope/trunk@1233 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@952 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-18 21:11:46 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 2fee554262 # BUILD : 1.7.18 (1232) # BUGS : 622 # NOTES : Modified en_us.l, de.l and Changes.lang to fix 622.
git-svn-id: svn://svn.anope.org/anope/trunk@1232 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@951 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-18 21:04:51 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 6ab1b8f131 BUILD : 1.7.18 (1231) BUGS : N/A NOTES : Ensure moduleData is still populated when anopeFini gets called when explicitaly unloading a single module.
git-svn-id: svn://svn.anope.org/anope/trunk@1231 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@950 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-14 17:08:27 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 13c26383c9 # BUILD : 1.7.18 (1230) # BUGS : 656 # NOTES : We now send out UNKLINE on hybridircd
git-svn-id: svn://svn.anope.org/anope/trunk@1230 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@949 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-03 16:19:06 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b f70d6e35ec # BUILD : 1.7.18 (1229) # BUGS : 690 # NOTES : SAs can no longer move down other SAs to the SO list.
git-svn-id: svn://svn.anope.org/anope/trunk@1229 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@948 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-03 12:28:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 976c246b69 BUILD : 1.7.18 (1228) BUGS : 672 NOTES : Fixed a crash when MySQL was enabled; it checked the (unset) uplink server flags resulting in a segfault
git-svn-id: svn://svn.anope.org/anope/trunk@1228 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@947 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-22 17:20:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b bf19cf3784 BUILD : 1.7.18 (1227) BUGS : 667 NOTES : Fixed inspircd11.c using strtok_r - myStrGetToken is more compatible (strtok_r does not work on windows)
git-svn-id: svn://svn.anope.org/anope/trunk@1227 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@946 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-15 10:22:58 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2ad5c86dce BUILD : 1.7.18 (1226) BUGS : 668 NOTES : Fixed win32 makefile for the inspircd protocol module changes
git-svn-id: svn://svn.anope.org/anope/trunk@1226 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@945 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-15 10:15:35 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b27ae8c5d4 BUILD : 1.7.18 (1225) BUGS : 669 NOTES : Fixed spurious PONGs being sent during burst when MySQL was saving (it still is a dirty hack, but at least it should work now)
git-svn-id: svn://svn.anope.org/anope/trunk@1225 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@944 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-15 10:12:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4a8a6b8a4e BUILD : 1.7.18 (1224) BUGS : 663 NOTES : Fixed BotServ kicks to now obey the SignKick setting of the channel
git-svn-id: svn://svn.anope.org/anope/trunk@1224 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@943 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-10 20:21:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 264fb0c8bf BUILD : 1.7.18 (1223) BUGS : 666 NOTES : Fixed CHAN_SYMBOL_REQUIRED which claimed one can register local (&) channels (sorry Rob, i should have left this bug for you)
git-svn-id: svn://svn.anope.org/anope/trunk@1223 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@942 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-10 20:01:58 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c563f6e9ab BUILD : 1.7.18 (1222) BUGS : 665 NOTES : Fixed a minor syntax error in anoperc (echi instead of echo)
git-svn-id: svn://svn.anope.org/anope/trunk@1222 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@941 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-10 19:52:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 69196c40e5 BUILD : 1.7.18 (1221) BUGS : 659 NOTES : Fixed a mistake in the MySQL code with identifying services roots
git-svn-id: svn://svn.anope.org/anope/trunk@1221 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@940 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-06 20:13:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0b74a48e20 BUILD : 1.7.18 (1220) BUGS : 657 NOTES : Fixed various OperServ commands which did not respect a disabled OSOpersOnly
git-svn-id: svn://svn.anope.org/anope/trunk@1220 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@939 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-06 19:57:55 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b bd6a836a88 BUILD : 1.7.18 (1219) BUGS : NOTES : Fixed a missing backtick in the INSERT query for newsitems
git-svn-id: svn://svn.anope.org/anope/trunk@1219 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@938 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-06 17:31:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2c390a1929 BUILD : 1.7.18 (1218) BUGS : 622 NOTES : Fixed ChanServ LIST to now search for <#chan> if only <chan> is given; Fixed all LIST commands to give error reporting when specifying incorrect ranges.
git-svn-id: svn://svn.anope.org/anope/trunk@1218 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@937 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-02 14:54:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ba36a78231 BUILD : 1.7.18 (1217) BUGS : NOTES : Fixed small mistakes in both InspIRCd protocol modules
git-svn-id: svn://svn.anope.org/anope/trunk@1217 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@936 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-02 13:15:42 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1318ed7342 BUILD : 1.7.18 (1216) BUGS : NOTES : Added support for inspircd 1.1 (b8+)
git-svn-id: svn://svn.anope.org/anope/trunk@1216 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@935 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-01 22:34:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c3c60a91e9 BUILD : 1.7.18 (1215) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@1215 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@934 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-01 22:34:08 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 5ed652014d BUILD : 1.7.18 (1214) BUGS : NOTES : Anope 1.7.18 Release
git-svn-id: svn://svn.anope.org/anope/trunk@1214 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@933 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-31 22:28:55 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 327d27183f BUILD : 1.7.17 (1213) BUGS : 651 653 NOTES : Fixed channel joins being logged twice in debug mode on some IRCds and BotServ incorrectly attempting to remove bans with BSSmartJoin
git-svn-id: svn://svn.anope.org/anope/trunk@1213 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@932 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-30 17:21:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b fa67b03616 BUILD : 1.7.17 (1212) BUGS : 652 NOTES : Fixed handleModuleOperationQueue to also include error messages instead of only error numbers
git-svn-id: svn://svn.anope.org/anope/trunk@1212 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@931 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-27 15:54:10 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c0c0a6441e BUILD : 1.7.17 (1211) BUGS : 650 NOTES : Fixed ModuleNoticeLang which was formatting the string twice
git-svn-id: svn://svn.anope.org/anope/trunk@1211 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@930 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-27 15:44:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4e409e31cb BUILD : 1.7.17 (1210) BUGS : 645 646 647 NOTES : Fixed anoperc restart, nickchanges on TS6, typo in CHAN_REGISTER_NONE_CHANNEL; added error messages when RDB functions fail (thx heinz)
git-svn-id: svn://svn.anope.org/anope/trunk@1210 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@929 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-24 17:51:32 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6e7add309d BUILD : 1.7.17 (1209) BUGS : NOTES : Another batch of changes regarding RDB/MySQL; all functions are now doing proper error reporting; errors are not yet handled properly
git-svn-id: svn://svn.anope.org/anope/trunk@1209 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@928 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-23 13:25:01 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ee5559be07 BUILD : 1.7.17 (1208) BUGS : N/A NOTES : EVENT_BOT_KICK and EVENT_BOT_ADD added
git-svn-id: svn://svn.anope.org/anope/trunk@1208 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@927 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-12 20:21:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3fb604b1c7 BUILD : 1.7.17 (1207) BUGS : 641 NOTES : Fixed EVENT_TOPIC_UPDATED not being sent when the topic was updated from within certain protocol modules
git-svn-id: svn://svn.anope.org/anope/trunk@1207 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@926 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-10 12:27:56 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 01e6313e3a BUILD : 1.7.17 (1206) BUGS : 631 NOTES : Fixed small language mistake in en_us.l and nl.l
git-svn-id: svn://svn.anope.org/anope/trunk@1206 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@925 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-10 12:17:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 78e33a25b5 BUILD : 1.7.17 (1205) BUGS : 630 NOTES : Fixed a small typo in ru.l
git-svn-id: svn://svn.anope.org/anope/trunk@1205 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@924 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-10 12:14:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 38d475d41b BUILD : 1.7.17 (1204) BUGS : 629 NOTES : Fixed ns_alist which did not accept Founder as a correct min_lev
git-svn-id: svn://svn.anope.org/anope/trunk@1204 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@923 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-10 12:08:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b bcd28b951d BUILD : 1.7.17 (1203) BUGS : NOTES : Small MySQL fix which should have already been in
git-svn-id: svn://svn.anope.org/anope/trunk@1203 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@922 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09 23:15:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 10aac18c8e BUILD : 1.7.17 (1202) BUGS : 640 NOTES : Fixed langfiles having CHANAKILL instead of CHANKILL in the chankill syntax lines
git-svn-id: svn://svn.anope.org/anope/trunk@1202 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@921 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09 23:05:29 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d0c761723c BUILD : 1.7.17 (1201) BUGS : 634 NOTES : Fixed install.js by adding the possibility to search for files on multiple drives instead of just C:
git-svn-id: svn://svn.anope.org/anope/trunk@1201 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@920 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09 22:58:17 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b fb05b60099 BUILD : 1.7.17 (1200) BUGS : 632 NOTES : Fixed BotServ KICK incorrectly reporting assigned status
git-svn-id: svn://svn.anope.org/anope/trunk@1200 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@919 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09 22:55:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3aa379bb92 BUILD : 1.7.17 (1199) BUGS : 621 NOTES : Added the ability to see if AutoOp is enabled in NickServ INFO displays.
git-svn-id: svn://svn.anope.org/anope/trunk@1199 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@918 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09 22:50:13 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6e41124608 BUILD : 1.7.17 (1198) BUGS : NOTES : Reviewed and updated all of the MySQL code...
git-svn-id: svn://svn.anope.org/anope/trunk@1198 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@917 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09 22:35:44 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 888fe64c60 BUILD : 1.7.17 (1196) BUGS : 623 NOTES : Applied marks 623 patch, didnt apply the 621 patch as only en_us.l has been updated in it.
git-svn-id: svn://svn.anope.org/anope/trunk@1196 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@916 5417fbe8-f217-4b02-8779-1006273d7864
2006-11-02 17:37:30 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b cecd5c2e3a BUILD : 1.7.17 (1195) BUGS : N/A NOTES : testing...
git-svn-id: svn://svn.anope.org/anope/trunk@1195 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@915 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-30 20:41:44 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 5cf678610b BUILD : 1.7.17 (1194) BUGS : N/A NOTES : Hmm it sent the mail but didnt commit...
git-svn-id: svn://svn.anope.org/anope/trunk@1194 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@914 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-29 19:39:52 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b fbbbbd387f BUILD : 1.7.17 (1193) BUGS : N/A NOTES : really just making sure i can still commit properly
git-svn-id: svn://svn.anope.org/anope/trunk@1193 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@913 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-28 12:41:11 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3fad73f4cd BUILD : 1.7.17 (1192) BUGS : 617 NOTES : Send svspart instead of eob
git-svn-id: svn://svn.anope.org/anope/trunk@1192 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@912 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-21 13:51:42 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 5b3eb75157 BUILD : 1.7.17 (1191) BUGS : 616 NOTES : Error message changed when trying to register a nick before NSRegDelay is up.
git-svn-id: svn://svn.anope.org/anope/trunk@1191 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@911 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-20 06:29:29 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e02f698fba BUILD : 1.7.17 (1190) BUGS : N/A NOTES : sha1 is a valid choice of encryption hash
git-svn-id: svn://svn.anope.org/anope/trunk@1190 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@910 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-18 17:52:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c2e07f08ea BUILD : 1.7.17 (1189) BUGS : NOTES : Support for mlocking +c on ultimate3 was missing
git-svn-id: svn://svn.anope.org/anope/trunk@1189 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@909 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-18 16:31:48 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b f41d792c01 BUILD : 1.7.17 (1188) BUGS : N/A NOTES : Make the mysql secure check easier to read... its ugly :(
git-svn-id: svn://svn.anope.org/anope/trunk@1188 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@908 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-18 08:13:35 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9911e0abb2 BUILD : 1.7.17 (1187) BUGS : N/A NOTES : Put mysql secure back to how it should be - i think
git-svn-id: svn://svn.anope.org/anope/trunk@1187 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@907 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-18 08:08:01 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 706c469cf6 BUILD : 1.7.17 (1186) BUGS : N/A NOTES : Encryption fixes for win32
git-svn-id: svn://svn.anope.org/anope/trunk@1186 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@906 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17 21:25:16 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9bf8366451 BUILD : 1.7.17 (1185) BUGS : N/A NOTES : Encryption now offers the choice of none, old and md5 - the md5 module is nicely taken from irc-services and actaully works, yes, real md5, in anope, wow eh?
git-svn-id: svn://svn.anope.org/anope/trunk@1185 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@905 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17 20:42:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3dbe219758 BUILD : 1.7.17 (1184) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@1184 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@904 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17 20:22:18 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a49ef00dd2 BUILD : 1.7.17 (1182) BUGS : NOTES : Anope 1.7.17 release
git-svn-id: svn://svn.anope.org/anope/trunk@1182 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@903 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17 19:15:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b84de63e72 BUILD : 1.7.16 (1181) BUGS : NOTES : Fixed MySQL detection in configure.in; it should now always work correctly if mysql_config is found
git-svn-id: svn://svn.anope.org/anope/trunk@1181 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@902 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17 19:08:23 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4d638356f5 BUILD : 1.7.16 (1180) BUGS : 614 NOTES : Fixed: [1] MySQL not storing passwords at all (blank passes) [2] saving of ttb with MySQL/RDB was completely fubar [3] do not send PONG-flood anymore on db-load...
git-svn-id: svn://svn.anope.org/anope/trunk@1180 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@901 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17 18:13:32 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b af5f8af76f BUILD : 1.7.16 (1179) BUGS : NOTES : Changed uber-mysql-validation-detection to use AM_LINK_IFELSE as it should have used all along...
git-svn-id: svn://svn.anope.org/anope/trunk@1179 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@900 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-16 17:53:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b dac7c2dbfd BUILD : 1.7.16 (1178) BUGS : NOTES : Fixed a MySQL query error in the RDB functions.... successor cannot be NULL
git-svn-id: svn://svn.anope.org/anope/trunk@1178 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@899 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-16 17:09:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8184ae912a BUILD : 1.7.16 (1177) BUGS : NOTES : Fixed MySQL query debug to not excessivly quote queries before displaying in debug mode
git-svn-id: svn://svn.anope.org/anope/trunk@1177 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@898 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-16 17:07:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3681b6d834 BUILD : 1.7.16 (1176) BUGS : 611 NOTES : Fixed anoperc restart to allow arguments like anoperc start
git-svn-id: svn://svn.anope.org/anope/trunk@1176 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@897 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-16 16:15:09 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2db88fcaf2 BUILD : 1.7.16 (1175) BUGS : 612 NOTES : Fixed a number of MySQL/RDB-related functions which did not correctly escape their arguments
git-svn-id: svn://svn.anope.org/anope/trunk@1175 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@896 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-16 15:05:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6e77a5d94d BUILD : 1.7.16 (1174) BUGS : NOTES : Fixed src/mod_version.c to be compiled with module options and added an additional check to see if the values returned by mysql_config are valid
git-svn-id: svn://svn.anope.org/anope/trunk@1174 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@895 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-15 15:49:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6f94f2bb57 BUILD : 1.7.16 (1173) BUGS : NOTES : Fixed a boo-boo in docs/WIN32.txt and removed a solved bug from BUGS (the one with clone detection... well its
git-svn-id: svn://svn.anope.org/anope/trunk@1173 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@894 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-15 14:24:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d8c5219038 BUILD : 1.7.16 (1172) BUGS : NOTES : Added copyright notice for strlcat() and strlcpy() in src/misc.c
git-svn-id: svn://svn.anope.org/anope/trunk@1172 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@893 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-15 12:40:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 449c739d21 BUILD : 1.7.16 (1171) BUGS : NOTES : Small documentation updates
git-svn-id: svn://svn.anope.org/anope/trunk@1171 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@892 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-15 09:10:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6494fe3cb1 BUILD : 1.7.16 (1170) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@1170 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@891 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-15 08:39:34 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 34b4a16c81 BUILD : 1.7.16 (1168) BUGS : NOTES : Anope 1.7.16 Release
git-svn-id: svn://svn.anope.org/anope/trunk@1168 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@890 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-09 18:04:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ba2af84c20 BUILD : 1.7.15 (1167) BUGS : 609 NOTES : Removed LANGUAGE from the SASET help for nearly all languages (it was only not there in en_us.l)
git-svn-id: svn://svn.anope.org/anope/trunk@1167 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@889 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-09 12:41:17 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b ea9c78fa8a # BUILD : 1.7.15 (1166) # BUGS : 603 # NOTES : Modified do_umode() to work with last fix.
git-svn-id: svn://svn.anope.org/anope/trunk@1166 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@888 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-08 11:51:43 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 86f5463a30 BUILD : 1.7.15 (1165) BUGS : 603 NOTES : Added support for SVSMODE by parsing it as a MODE on supported IRCDs
git-svn-id: svn://svn.anope.org/anope/trunk@1165 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@887 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-07 15:11:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3c17a07b8e BUILD : 1.7.15 (1164) BUGS : 607 NOTES : Fixed the BotServ CAPS-kicker; when calculating the percentage, it now ignores all non-alphabetic characters
git-svn-id: svn://svn.anope.org/anope/trunk@1164 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@886 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-07 12:03:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b aa52d94df4 BUILD : 1.7.15 (1163) BUGS : NOTES : Various small changes to documentation and example config (and removing void \r from sources)
git-svn-id: svn://svn.anope.org/anope/trunk@1163 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@885 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-01 20:14:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f11e06eca8 BUILD : 1.7.15 (1162) BUGS : 604 NOTES : Added functions to let modules backup their own databases and added this functionality to the bundled modules
git-svn-id: svn://svn.anope.org/anope/trunk@1162 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@884 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-29 17:54:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c565a28c43 BUILD : 1.7.15 (1161) BUGS : 606 NOTES : Fixed Makefile.win32 to fix a typo and nmake clean (it now uses spotless)
git-svn-id: svn://svn.anope.org/anope/trunk@1161 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@883 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-29 16:29:46 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 0d787aed6c # BUILD : 1.7.15 (1159) # BUGS : 603 # NOTES : we will now process UnrealIRCd's SVS(2)MODE messages
git-svn-id: svn://svn.anope.org/anope/trunk@1159 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@882 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-28 08:52:35 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 483f14f2f8 BUILD : 1.7.15 (1158) BUGS : NOTES : Fixed the Makefile to let make work with multiple threads (tested with 3)
git-svn-id: svn://svn.anope.org/anope/trunk@1158 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@881 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-25 07:46:51 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b092b4ea23 BUILD : 1.7.15 (1157) BUGS : 589 NOTES : Fixed restarting under windows, it should now work correctly
git-svn-id: svn://svn.anope.org/anope/trunk@1157 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@880 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-24 15:59:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 36d36419b3 BUILD : 1.7.15 (1156) BUGS : NOTES : Another small fix in nl.l
git-svn-id: svn://svn.anope.org/anope/trunk@1156 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@879 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-17 18:52:25 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6e79bd3850 BUILD : 1.7.15 (1155) BUGS : NOTES : Fixed small mistakes in nl.l
git-svn-id: svn://svn.anope.org/anope/trunk@1155 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@878 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-17 18:48:36 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 2d78a392ef BUILD : 1.7.15 (1154) BUGS : N/A NOTES : Fixed plexus3 noop support
git-svn-id: svn://svn.anope.org/anope/trunk@1154 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@877 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-12 17:49:51 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 4cb9eb9773 # BUILD : 1.7.15 (1153) # BUGS : 596 # NOTES : Applied first part of Heinz's win32 patch
git-svn-id: svn://svn.anope.org/anope/trunk@1153 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@876 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-11 11:38:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8b87cc15ab BUILD : 1.7.15 (1152) BUGS : 599 NOTES : Corrected valid nick characters for /OS SVSNICK by making the bs_bot isvalidnick() macro global via services.h
git-svn-id: svn://svn.anope.org/anope/trunk@1152 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@875 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 19:46:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 60b3c3568a BUILD : 1.7.15 (1151) BUGS : 601 NOTES : Fixed us with reposding we didnt
git-svn-id: svn://svn.anope.org/anope/trunk@1151 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@874 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 19:24:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b afb6d55cc0 BUILD : 1.7.15 (1150) BUGS : 595 NOTES : Fixed MySQL making a new connection for each query (bit TOO enthousiastic?)
git-svn-id: svn://svn.anope.org/anope/trunk@1150 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@873 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 17:10:24 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 517b4b0629 BUILD : 1.7.15 (1149) BUGS : 598 NOTES : Added HOP to the list of XOP commands in the error from ChanServ ACCESS when XOP is enabled on supported ircds (and that line is too long!)
git-svn-id: svn://svn.anope.org/anope/trunk@1149 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@872 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 16:42:57 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f5ab326d07 BUILD : 1.7.15 (1148) BUGS : 588 NOTES : Added SASET AUTOOP to NickServ to match SET AUTOOP
git-svn-id: svn://svn.anope.org/anope/trunk@1148 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@871 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 16:07:32 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3d5e804ca1 BUILD : 1.7.15 (1147) BUGS : 587 NOTES : Fixed missing help for /ns SET AUTOOP
git-svn-id: svn://svn.anope.org/anope/trunk@1147 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@870 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 15:53:17 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 651507491d BUILD : 1.7.15 (1146) BUGS : 583 NOTES : Fixed mass compiler warnings with make strict on FC5 (patch by Trystan)
git-svn-id: svn://svn.anope.org/anope/trunk@1146 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@869 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 15:20:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b cd1d095290 BUILD : 1.7.15 (1145) BUGS : 579 NOTES : Fixed make strict issues with src/tools
git-svn-id: svn://svn.anope.org/anope/trunk@1145 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@868 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10 15:15:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9993ee6ae5 BUILD : 1.7.15 (1144) BUGS : NOTES : Fixed some c++-comments rob added; c-comments ftw!
git-svn-id: svn://svn.anope.org/anope/trunk@1144 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@867 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-27 18:26:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c2099cc2ad BUILD : 1.7.15 (1143) BUGS : 593 NOTES : Fixed mod_current_module not always NULL-ified in mod_run_cmd, resulting in weird segfaults in special situations
git-svn-id: svn://svn.anope.org/anope/trunk@1143 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@866 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-27 18:08:36 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 785a427b00 BUILD : 1.7.15 (1142) BUGS : N/A NOTES : Dont let hybrid send EOBs since we told it we dont suppor them anymore
git-svn-id: svn://svn.anope.org/anope/trunk@1142 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@865 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-23 08:13:14 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 739674e854 BUILD : 1.7.15 (1141) BUGS : N/A NOTES : Removed EOB support from hybrid protocol file, this should make things like entry message work even after a remove net-join
git-svn-id: svn://svn.anope.org/anope/trunk@1141 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@864 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-23 08:04:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e2637d0455 BUILD : 1.7.15 (1140) BUGS : N/A NOTES : Plexus3 can send global EOBs if we send SVS in the capab string - so now we do, this does NOT help with other hyb based ircds, and they still have an issue.
git-svn-id: svn://svn.anope.org/anope/trunk@1140 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@863 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-23 07:57:12 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d933cd62cb BUILD : 1.7.15 (1139) BUGS : N/A NOTES : Applied pelxus3 fixs from ThaPrince
git-svn-id: svn://svn.anope.org/anope/trunk@1139 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@862 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-22 09:28:08 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b d222e75a6d BUILD : 1.7.15 (1138) BUGS : 585 NOTES : Another attempt at fixing db_mysql_query()
git-svn-id: svn://svn.anope.org/anope/trunk@1138 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@861 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-21 17:48:23 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b fee55f4516 BUILD : 1.7.15 (1137) BUGS : n/a NOTES : Another try at better mysql query.
git-svn-id: svn://svn.anope.org/anope/trunk@1137 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@860 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-21 15:03:43 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d85e7973bd # BUILD : 1.7.15 (1136) # BUGS : 578 # NOTES : fixed bsd compiler warning
git-svn-id: svn://svn.anope.org/anope/trunk@1136 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@859 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-20 09:25:19 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b edbd71f403 # BUILD : 1.7.15 (1135) # BUGS : 586 584 582 # NOTES : several fixes
git-svn-id: svn://svn.anope.org/anope/trunk@1135 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@858 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-20 09:04:49 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 8dc1436279 BUILD : 1.7.15 (1134) BUGS : N/A NOTES : Missed two %Rs in hun.l
git-svn-id: svn://svn.anope.org/anope/trunk@1134 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@857 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-14 19:11:13 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 2197e82de3 BUILD : 1.7.15 (1133) BUGS : N/A NOTES : Improved robustness on db_mysql_query()
git-svn-id: svn://svn.anope.org/anope/trunk@1133 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@856 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-14 18:08:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b efbe346d45 BUILD : 1.7.15 (1132) BUGS : NOTES : Fixed development framework
git-svn-id: svn://svn.anope.org/anope/trunk@1132 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@855 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-09 18:20:45 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 9c6eaa57c5 # BUILD : 1.7.15 (1131) # BUGS : # NOTES : fixed revision number, we're missing an entry
git-svn-id: svn://svn.anope.org/anope/trunk@1131 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@854 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-09 12:35:44 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b a512a8f9eb # BUILD : 1.7.15 (1129) # BUGS : 575 # NOTES : fixed port checking when using cmd line switches
git-svn-id: svn://svn.anope.org/anope/trunk@1130 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@853 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-09 12:32:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b7092e6bd1 BUILD : 1.7.15 (1128) BUGS : NOTES : Anope 1.7.15 Release
git-svn-id: svn://svn.anope.org/anope/trunk@1128 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@852 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-08 18:18:31 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 5252a9c65e # BUILD : 1.7.14 (1127) # BUGS : 573 # NOTES : fixed integer types in db-merger.c
git-svn-id: svn://svn.anope.org/anope/trunk@1127 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@851 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-08 09:51:34 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 8ddda2eb78 BUILD : 1.7.14 (1126) BUGS : N/A NOTES : Applied ThaPrinces plexus support patch
git-svn-id: svn://svn.anope.org/anope/trunk@1126 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@850 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-07 12:05:54 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 1ad4aed21c BUILD : 1.7.14 (1125) BUGS : 572 NOTES : Increasd langauge buffer size to avoid issues 256 wasnt big enough.
git-svn-id: svn://svn.anope.org/anope/trunk@1125 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@849 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-07 08:47:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 11b73a098c BUILD : 1.7.14 (1124) BUGS : 552 NOTES : Added a way to modules_unload_all() to specify if we should unload the protocol module or not
git-svn-id: svn://svn.anope.org/anope/trunk@1124 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@848 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06 16:32:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a1edb7a0c2 BUILD : 1.7.14 (1123) BUGS : 563 NOTES : Fixed UseTSMode thing for ratbox; TS6 for ratbox should work now
git-svn-id: svn://svn.anope.org/anope/trunk@1123 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@847 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06 16:23:20 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 03281f47bc # BUILD : 1.7.14 (1122) # BUGS : 571 # NOTES : fixed typos in cs_appendtopic
git-svn-id: svn://svn.anope.org/anope/trunk@1122 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@846 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06 15:00:13 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 241282a395 BUILD : 1.7.14 (1121) BUGS : 491 NOTES : anope segfault on shutdown
git-svn-id: svn://svn.anope.org/anope/trunk@1121 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@845 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06 08:54:51 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 7603d145b2 BUILD : 1.7.14 (1120) BUGS : N/A NOTES : ok last time with the lang file thing
git-svn-id: svn://svn.anope.org/anope/trunk@1120 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@844 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06 08:40:50 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b faf12e657b BUILD : 1.7.14 (1119) BUGS : N/A NOTES : Should have fixed my stupid segfault
git-svn-id: svn://svn.anope.org/anope/trunk@1119 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@843 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06 08:27:44 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ff0ff1d33f BUILD : 1.7.14 (1118) BUGS : N/A NOTES : Updated Changes to show %R
git-svn-id: svn://svn.anope.org/anope/trunk@1118 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@842 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 21:46:46 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 172e0e942b BUILD : 1.7.14 (1117) BUGS : N/A NOTES : Use %R instead of %M
git-svn-id: svn://svn.anope.org/anope/trunk@1117 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@841 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 21:46:14 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 7a0077612c BUILD : 1.7.14 (1116) BUGS : N/A NOTES : Changed %M to %R to avoid strftime call
git-svn-id: svn://svn.anope.org/anope/trunk@1116 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@840 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 21:43:46 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b f1a17e7a80 BUILD : 1.7.14 (1115) BUGS : 491 NOTES : Dont allow IRCD Protocol modules to be unloaded
git-svn-id: svn://svn.anope.org/anope/trunk@1115 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@839 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 21:32:59 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 4800a48be3 BUILD : 1.7.14 (1114) BUGS : 565 NOTES : Updated all lang files
git-svn-id: svn://svn.anope.org/anope/trunk@1114 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@838 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 20:43:03 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 57b0db8356 # BUILD : 1.7.14 (1113) # BUGS : # NOTES : Same for de.l
git-svn-id: svn://svn.anope.org/anope/trunk@1113 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@837 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 20:18:06 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 863f7fdb6d BUILD : 1.7.14 (1112) BUGS : 565 NOTES : %M will now be replaced by either /msg or / depending on UseStrictPrivMsg - we still need to update the .l files for all langauges tho.
git-svn-id: svn://svn.anope.org/anope/trunk@1112 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@836 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 20:01:44 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d61eebd738 BUILD : 1.7.14 (1111) BUGS : 570 NOTES : Allow doValidHost to be called from modules.
git-svn-id: svn://svn.anope.org/anope/trunk@1111 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@835 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 19:07:58 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3dae15d46c BUILD : 1.7.14 (1110) BUGS : 523 NOTES : os_info.c now calls mSaveData on AnopeFini
git-svn-id: svn://svn.anope.org/anope/trunk@1110 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@834 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 19:04:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0ea9dd7904 BUILD : 1.7.14 (1109) BUGS : 566 NOTES : Finished support for SVSJOIN/SVSPART/SWHOIS in ircd modules
git-svn-id: svn://svn.anope.org/anope/trunk@1109 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@833 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05 08:37:58 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b374f97711 BUILD : 1.7.14 (1108) BUGS : 569 NOTES : Fixed giving modes for unregistered users :)
git-svn-id: svn://svn.anope.org/anope/trunk@1108 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@832 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-04 10:05:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9e136a5c2f BUILD : 1.7.14 (1107) BUGS : 561 NOTES : Various small fixes for charybdis
git-svn-id: svn://svn.anope.org/anope/trunk@1107 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@831 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-04 09:16:34 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b f978c93b2c # BUILD : 1.7.14 (1106) # BUGS : # NOTES : applied heinz's fix for the gcc hardened issue
git-svn-id: svn://svn.anope.org/anope/trunk@1106 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@830 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-03 12:06:36 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 7824683cb2 # BUILD : 1.7.14 (1105) # BUGS : 558 # NOTES : fixed usermode stuff for ratbox and shadow
git-svn-id: svn://svn.anope.org/anope/trunk@1105 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@829 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-03 09:22:44 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 536190a46b git-svn-id: svn://svn.anope.org/anope/trunk@1104 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@828 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-02 10:50:22 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b af56eb8e61 # BUILD : 1.7.14 (1103) # BUGS : 557 # NOTES : Fixed very nasty typecast. GCC Hardened should now work.
git-svn-id: svn://svn.anope.org/anope/trunk@1103 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@827 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-02 10:07:36 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 147d9a91a6 # BUILD : 1.7.14 (1102) # BUGS : 560 # NOTES : fixed ptlink /newmask stuff. thx to trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@1102 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@826 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-24 22:12:44 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 942cb38436 BUILD : 1.7.14 (1101) BUGS : N/A NOTES : Unreal32 will now prompt users to check there link blocks if there wrong.
git-svn-id: svn://svn.anope.org/anope/trunk@1101 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@825 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-24 17:16:21 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b e63637a37e # BUILD : 1.7.14 (1100) # BUGS : # NOTES : removed os_killclones.c
git-svn-id: svn://svn.anope.org/anope/trunk@1100 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@824 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-22 21:16:28 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 570acfa25f # BUILD : 1.7.14 (1099) # BUGS : # NOTES : removed all that clone stuff
git-svn-id: svn://svn.anope.org/anope/trunk@1099 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@823 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-22 21:13:32 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b fff701c65b # BUILD : 1.7.14 (1098) # BUGS : # NOTES : db-merger booboo
git-svn-id: svn://svn.anope.org/anope/trunk@1098 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@822 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-22 11:23:00 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 9ffc5d3579 # BUILD : 1.7.14 (1097) # BUGS : # NOTES : another fix for db-merger and epona2anope
git-svn-id: svn://svn.anope.org/anope/trunk@1097 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@821 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-20 18:40:09 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d1f69f78ac # BUILD : 1.7.14 (1096) # BUGS : 536 # NOTES : Fixed win32 versions of db-merger.c and epona2anope.c
git-svn-id: svn://svn.anope.org/anope/trunk@1096 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@820 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-20 18:31:23 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 2e91131c2a BUILD : 1.7.14 (1095) BUGS : 554 NOTES : Applied heinzs manifest patch
git-svn-id: svn://svn.anope.org/anope/trunk@1095 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@819 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-20 16:34:48 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 0d31274e1e BUILD : 1.7.14 (1094) BUGS : 530 NOTES : Applied marks botserv bold striping patch
git-svn-id: svn://svn.anope.org/anope/trunk@1094 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@818 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-20 07:32:24 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 5299cbf738 # BUILD : 1.7.14 (1093) # BUGS : # NOTES : hs_request was missing the "officially supported" flag.
git-svn-id: svn://svn.anope.org/anope/trunk@1093 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@817 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-17 21:01:57 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b5e4372c5e # BUILD : 1.7.14 (1092) # BUGS : 551 # NOTES : applied chaz's fix for win32.
git-svn-id: svn://svn.anope.org/anope/trunk@1092 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@816 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-17 15:10:04 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 6b5b5084d0 # BUILD : 1.7.14 (1091) # BUGS : 534 # NOTES : applied trystan's fantasy patch.
git-svn-id: svn://svn.anope.org/anope/trunk@1091 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@815 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-15 11:53:35 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b bf547b2d30 git-svn-id: svn://svn.anope.org/anope/trunk@1090 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@814 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-15 11:37:43 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 339e175f44 # BUILD : 1.7.14 (1089) # BUGS : 549 # NOTES : applied trystan's patch for the SJOIN issue.
git-svn-id: svn://svn.anope.org/anope/trunk@1089 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@813 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-15 10:29:34 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 94e1160fcf # BUILD : 1.7.14 (1088) # BUGS : # NOTES : applied trystan's patch for 491.
git-svn-id: svn://svn.anope.org/anope/trunk@1088 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@812 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-14 17:55:51 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b cc34de2be6 # BUILD : 1.7.14 (1087) # BUGS : 545 550 541 # NOTES : Various fixes.
git-svn-id: svn://svn.anope.org/anope/trunk@1087 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@811 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-14 17:38:00 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 18c0fe03fc BUILD : 1.7.14 (1086) BUGS : N/A NOTES : Applied gds socket buffering patch, we should play nice with inspircd now.
git-svn-id: svn://svn.anope.org/anope/trunk@1086 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@810 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-13 09:51:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9389fcfc68 BUILD : 1.7.14 (1085) BUGS : 544 NOTES : Applied Heinzy-mcHeinzs documentation update
git-svn-id: svn://svn.anope.org/anope/trunk@1085 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@809 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-11 18:16:43 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 273644bd79 BUILD : 1.7.14 (1084) BUGS : N/A NOTES : Added ns_noop_convert.c
git-svn-id: svn://svn.anope.org/anope/trunk@1084 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@808 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-10 18:23:34 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 43e25b7d07 Removed ns_noop from svn
git-svn-id: svn://svn.anope.org/anope/trunk@1083 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@807 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-10 18:13:03 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9d4d4e7287 BUILD : 1.7.14 (1082) BUGS : 423 NOTES : Moved ns_noop into core, its now a /ns set option.
git-svn-id: svn://svn.anope.org/anope/trunk@1082 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@806 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-10 18:12:28 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b79837538f Undoing last commit because it isn't needed.
git-svn-id: svn://svn.anope.org/anope/trunk@1081 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@805 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-04 20:28:26 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 3323816264 # BUILD : 1.7.14 (1080) # BUGS : 491? # NOTES : rewrote exception system due to a bug we couldn't track down.
git-svn-id: svn://svn.anope.org/anope/trunk@1080 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@804 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-04 19:50:00 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 7ceb358ec4 # BUILD : 1.7.14 (1079)
# BUGS  : 529 531
# NOTES : applied trystan's fix and fixed some readonly stuff

git-svn-id: svn://svn.anope.org/anope/trunk@1079 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@803 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-02 16:37:28 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 4e828d3260 BUILD : 1.7.14 (1078) BUGS : 527 NOTES : Applied path from heinz for... 1) fixes bug 527 2) adds mod version to windows stuff 3) fixes some ugly indentation in install.js 4) cleans up manifest files on spotless
git-svn-id: svn://svn.anope.org/anope/trunk@1078 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@802 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-28 16:50:46 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ddbaca79df BUILD : 1.7.14 (1077) BUGS : N/A NOTES : renamed set_key to chan_set_key, modified modules Makefiles to not link against anope libs (its unneeded)
git-svn-id: svn://svn.anope.org/anope/trunk@1077 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@801 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-28 16:02:09 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b1bfa4028b BUILD : 1.7.14 (1076) BUGS : N/A NOTES : Missing space
git-svn-id: svn://svn.anope.org/anope/trunk@1076 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@800 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-26 21:59:43 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 6bb8ba1f1f BUILD : 1.7.14 (1075) BUGS : N/A NOTES : multiple file modules now respect mod_version, and ./configure is checked for and executed.
git-svn-id: svn://svn.anope.org/anope/trunk@1075 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@799 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-26 21:43:33 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 5dd84294b7 BUILD : 1.7.14 (1074) BUGS : N/A NOTES : Small patch by ThaPrince for ircds with modes on id
git-svn-id: svn://svn.anope.org/anope/trunk@1074 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@798 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-25 22:05:00 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 90252bbecc BUILD : 1.7.14 (1073) BUGS : N/A NOTES : Added a string privmsg option, which can force services to only accept /msg nick@host
git-svn-id: svn://svn.anope.org/anope/trunk@1073 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@797 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-25 18:07:48 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 74cc91636a BUILD : 1.7.14 (1072) BUGS : NOTES : Fixed a mistake in en_us.nl and updated inspircd support module
git-svn-id: svn://svn.anope.org/anope/trunk@1072 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@796 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-25 14:13:12 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b cc4984f262 BUILD : 1.7.14 (1071) BUGS : N/A NOTES : plexus3 now uses the ircd struct when deciding which modes to send for svid_umode3 calls
git-svn-id: svn://svn.anope.org/anope/trunk@1071 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@795 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-22 19:37:46 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3e27318fcf BUILD : 1.7.14 (1070) BUGS : N/A NOTES : Added N as a root mode on id for plexus3.c
git-svn-id: svn://svn.anope.org/anope/trunk@1070 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@794 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-22 18:24:14 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b cff6e7eb1a BUILD : 1.7.14 (1069) BUGS : N/A NOTES : Added support for ircd modules to set extra modes based on services access (plexus needs this)
git-svn-id: svn://svn.anope.org/anope/trunk@1069 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@793 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-22 17:04:21 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 6690784bff BUILD : 1.7.14 (1068) BUGS : N/A NOTES : Added -nothird and -support command line options
git-svn-id: svn://svn.anope.org/anope/trunk@1068 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@792 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-22 07:48:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3379d00c8e BUILD : 1.7.14 (1067) BUGS : NOTES : Updating VERSION_BUILD with am
git-svn-id: svn://svn.anope.org/anope/trunk@1067 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@791 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-21 10:10:18 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b f059dbc236 Added version of module on error
git-svn-id: svn://svn.anope.org/anope/trunk@1066 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@790 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20 22:15:27 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a6f7ffef9b Modules wont load invalid revisions - NOT FULLY COMPLETE YET (altho it works to some degree)
git-svn-id: svn://svn.anope.org/anope/trunk@1065 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@789 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20 22:04:47 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3a14edd254 BUILD : 1.7.14 (1064) BUGS : NOTES : Fixed booboo with win32.rc.template.. it was seeing double!
git-svn-id: svn://svn.anope.org/anope/trunk@1064 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@788 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20 21:21:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 94693239a9 BUILD : 1.7.14 (1063) BUGS : 526 NOTES : Applied win32-maintenance patch by heinz
git-svn-id: svn://svn.anope.org/anope/trunk@1063 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@787 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20 18:40:47 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f4baaed86c BUILD : 1.7.14 (1062) BUGS : NOTES : Fixed the makefiles to not recompile the core if nothing changed, and to not always re-link all modules if not needed
git-svn-id: svn://svn.anope.org/anope/trunk@1062 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@786 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20 18:31:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f191314c0f BUILD : 1.7.14 (1061) BUGS : 408 NOTES : Added support for Visual Studio 2005, partially by replacing install.vbs by a more robust install.js -- thanks heinz!
git-svn-id: svn://svn.anope.org/anope/trunk@1061 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@785 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20 11:10:49 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ad0a95da48 BUILD : 1.7.14 (1060) BUGS : 523 NOTES : Module data was cleared before calling AnopeFini, thus being evil to saving-routines and such (like in ns_noop)
git-svn-id: svn://svn.anope.org/anope/trunk@1060 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@784 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-18 21:44:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 02db7e6438 BUILD : 1.7.14 (1059) BUGS : 525 NOTES : In cs_xop, copied the check from ADD to DEL, so you still need AOP to remove people from any XOP list (HOP could delete VOP)
git-svn-id: svn://svn.anope.org/anope/trunk@1059 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@783 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-18 21:26:26 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c82494e3a8 BUILD : 1.7.14 (1058) BUGS : 496 NOTES : Removed legacy my_vsnprintf() code and anything related; detection for it was already gone...
git-svn-id: svn://svn.anope.org/anope/trunk@1058 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@782 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-18 14:01:20 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 5d0cebfa23 # BUILD : 1.7.14 (1054) # BUGS : 524 # NOTES : fixed typo in a function name.
git-svn-id: svn://svn.anope.org/anope/trunk@1057 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@781 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-16 21:48:19 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b fe01470ff6 just a coding booboo.
git-svn-id: svn://svn.anope.org/anope/trunk@1056 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@780 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-16 21:41:42 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b ee9aa52d7f # BUILD : 1.7.14 (1052) # BUGS : # NOTES : Fixed several memleaks in ns_noop.c. Certus 4 teh win!
git-svn-id: svn://svn.anope.org/anope/trunk@1055 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@779 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-16 21:31:20 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 2eee213724 langcomp should now compile even with _GNU_SOURCES defined, some compiles/oss seem to do it by default
git-svn-id: svn://svn.anope.org/anope/trunk@1054 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@778 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-15 17:54:31 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a4370c21c3 Bug 519, OpenBSD compile issue
git-svn-id: svn://svn.anope.org/anope/trunk@1053 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@777 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-15 17:33:41 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9b23ec6f19 Added resend delay patch provided by Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@1052 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@776 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-15 17:07:28 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b dffa3a16fe BUILD : 1.7.14 (1051) BUGS : NOTES : Changed mysql detection to use mysql_config instead of home brewn mysql.m4
git-svn-id: svn://svn.anope.org/anope/trunk@1051 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@775 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-14 21:34:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4b2c1c6512 BUILD : 1.7.14 (1050) BUGS : 498 NOTES : Removed last traces of threading support and added a W-flag in our version response if we run on windows
git-svn-id: svn://svn.anope.org/anope/trunk@1050 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@774 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-14 14:29:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 33a07509f5 BUILD : 1.7.14 (1049) BUGS : NOTES : Two small win32 fixes...
git-svn-id: svn://svn.anope.org/anope/trunk@1049 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@773 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13 17:01:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b95c53765c BUILD : 1.7.14 (1048) BUGS : 510 NOTES : Fixed a lot of redundant function declarations
git-svn-id: svn://svn.anope.org/anope/trunk@1048 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@772 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13 12:37:17 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b aaa81d2dfb BUILD : 1.7.14 (1047) BUGS : 464 NOTES : Added cleanup code to tools/anopesmtp to clear out used memory etc...
git-svn-id: svn://svn.anope.org/anope/trunk@1047 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@771 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13 11:09:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d4674e1e67 BUILD : 1.7.14 (1046) BUGS : NOTES : We were walking memory in moduleGetConfigDirecte with an allocated pointer, and free-ing it later when it was past the allocatrd space... We now store the original pointer so we can free it correctly :)
git-svn-id: svn://svn.anope.org/anope/trunk@1046 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@770 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13 10:27:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f1d0119044 BUILD : 1.7.14 (1045) BUGS : NOTES : Fixed ano_modclearerr() - it was not POSIX-compliant
git-svn-id: svn://svn.anope.org/anope/trunk@1045 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@769 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-11 17:04:12 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7a97a4e659 BUILD : 1.7.14 (1044) BUGS : NOTES : Update InspIRCd protocol support module
git-svn-id: svn://svn.anope.org/anope/trunk@1044 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@768 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-11 16:31:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 189845ea90 BUILD : 1.7.14 (1043) BUGS : NOTES : NULLified *s and *t in moduleGetConfigDirective in src/modules.c by default
git-svn-id: svn://svn.anope.org/anope/trunk@1043 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@767 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-11 16:26:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b0f345e5a8 BUILD : 1.7.14 (1042) BUGS : 520 NOTES : Fixed src/protocol/Makefile.win32 for plexus->plexus2/plexus3 change
git-svn-id: svn://svn.anope.org/anope/trunk@1042 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@766 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-10 20:10:44 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 9e5bb79562 # BUILD : 1.7.14 (1041) # BUGS : 514 # NOTES : Fixed booboo. Thx to Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@1041 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@765 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-04 10:10:26 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 0118e0b185 # BUILD : 1.7.14 (1040) # BUGS : 509 511 # NOTES : Fixed compiler warnigs, thx to trystan. again.
git-svn-id: svn://svn.anope.org/anope/trunk@1040 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@764 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-03 09:25:38 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a3a787412b BUILD : 1.7.14 (1039) BUGS : 493 NOTES : Fixed /bs BOT CHANGE not setting new Q:Line when only nick was changed
git-svn-id: svn://svn.anope.org/anope/trunk@1039 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@763 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-25 14:29:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 295d457c44 BUILD : 1.7.14 (1038) BUGS : 500 NOTES : Updated register script; it now accepts YES, yes, and Yes as valid values and tells about ./Config instead of ./configure
git-svn-id: svn://svn.anope.org/anope/trunk@1038 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@762 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-25 13:20:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f77340e9eb BUILD : 1.7.14 (1037) BUGS : 507 NOTES : Fixed NICKIP/NICKv2 support for unreal32
git-svn-id: svn://svn.anope.org/anope/trunk@1037 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@761 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-25 12:56:29 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 7fd3544e50 Applied small plexus 3 patch
git-svn-id: svn://svn.anope.org/anope/trunk@1036 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@760 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-19 21:19:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 07ac6a79eb Fixed texts in example.conf / README now we support plexus3
git-svn-id: svn://svn.anope.org/anope/trunk@1035 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@759 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-19 08:52:51 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 5e17394e20 Added the fact plexus3 supports SVSHOLD to example.conf
git-svn-id: svn://svn.anope.org/anope/trunk@1034 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@758 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-19 06:39:36 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a4c7be75c4 Added plexus 3.0 support
git-svn-id: svn://svn.anope.org/anope/trunk@1033 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@757 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-19 06:30:59 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 3b8d876270 # BUILD : 1.7.14 (1032) # BUGS : # NOTE : suspended nicks/chans won't expire
git-svn-id: svn://svn.anope.org/anope/trunk@1032 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@756 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-16 17:08:23 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 3808a70cd9 # BUILD : 1.7.14 (1031) # BUGS : 504 # NOTES : fixed memleak, thx to trystan
git-svn-id: svn://svn.anope.org/anope/trunk@1031 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@755 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-13 09:20:19 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 77059470fb # BUILD : 1.7.14 (1030) # BUGS : # NOTES : fixed coding booboo, thx to viper
git-svn-id: svn://svn.anope.org/anope/trunk@1030 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@754 5417fbe8-f217-4b02-8779-1006273d7864
2006-04-29 11:40:46 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b adce568fc2 # BUILD : 1.7.14 (1029) # BUGS : 501 # NOTES : several fixes.
git-svn-id: svn://svn.anope.org/anope/trunk@1029 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@753 5417fbe8-f217-4b02-8779-1006273d7864
2006-04-29 09:29:34 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b4de451c19 # BUILD : 1.7.14 (1028) # BUGS : 499 # NOTES : fixed index of backtrace(), thx craig
git-svn-id: svn://svn.anope.org/anope/trunk@1028 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@752 5417fbe8-f217-4b02-8779-1006273d7864
2006-04-20 20:18:31 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 77c8e1b767 # BUILD : 1.7.14 (1027) # BUGS : # NOTES : removed threads.h
git-svn-id: svn://svn.anope.org/anope/trunk@1027 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@751 5417fbe8-f217-4b02-8779-1006273d7864
2006-04-08 15:00:45 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 18383f90f8 # BUILD : 1.7.14 (1026) # BUGS : 487 488 489 # NOTES : some fixes.
git-svn-id: svn://svn.anope.org/anope/trunk@1026 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@750 5417fbe8-f217-4b02-8779-1006273d7864
2006-04-08 14:44:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0e7cd3403b BUILD : 1.7.14 (1025) BUGS : NOTES : Development Framework (1.7.14-svn)
git-svn-id: svn://svn.anope.org/anope/trunk@1025 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@749 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-28 08:53:54 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 83db4924d0 BUILD : 1.7.14 (1023) BUGS : N/A NOTES : Anope 1.7.14 Release.
git-svn-id: svn://svn.anope.org/anope/trunk@1023 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@748 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-26 22:22:13 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 4314d649e5 # BUILD : 1.7.14 (1022) # BUGS : 483 # NOTES : important seg fix
git-svn-id: svn://svn.anope.org/anope/trunk@1022 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@747 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-24 12:42:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 605353f9ef BUILD : 1.7.14 (1021) BUGS : NOTES : Anope 1.7.14 RC1
git-svn-id: svn://svn.anope.org/anope/trunk@1021 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@746 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-23 21:23:05 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c5536f67df # BUILD : 1.7.13 (1020) # BUGS : # NOTES : fixed main.c after last commit :)
git-svn-id: svn://svn.anope.org/anope/trunk@1020 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@745 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-23 13:10:04 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 660e2e9e8a # BUILD : 1.7.13 (1019) # BUGS 390 : # NOTES : fixed some obsolete defines. hopefully :P
git-svn-id: svn://svn.anope.org/anope/trunk@1019 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@744 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-23 13:06:24 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c14bdc3d69 # BUILD : 1.7.13 (1018) # BUGS : # NOTES : fixed winver var in init.c
git-svn-id: svn://svn.anope.org/anope/trunk@1018 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@743 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-22 17:16:49 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b be0c17ea3e version.log updated :P
git-svn-id: svn://svn.anope.org/anope/trunk@1017 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@742 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-22 08:44:59 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 20978059d7 fixed some broken strings in de.l
git-svn-id: svn://svn.anope.org/anope/trunk@1016 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@741 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-22 08:42:26 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 644eba4d9e # BUILD : 1.7.13 (1015) # BUGS : # NOTES : Fixed distclean.
git-svn-id: svn://svn.anope.org/anope/trunk@1015 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@740 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-22 08:38:32 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b be5eab2cd0 # BUILD : 1.7.13 (1014) # BUGS : # NOTES : de.l updated, thx to monk.
git-svn-id: svn://svn.anope.org/anope/trunk@1014 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@739 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-22 07:14:23 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b bbfd6d0469 # BUILD : 1.7.13 (1013) # BUGS : # NOTES : bs will now check for a bot on /bs kick
git-svn-id: svn://svn.anope.org/anope/trunk@1013 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@738 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-21 07:45:48 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 8c363e309e # BUILD : 1.7.13 (1012) # BUGS : 453 # NOTES : gcc4 compiling fixes
git-svn-id: svn://svn.anope.org/anope/trunk@1012 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@737 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-19 10:57:57 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 4b326805dd # BUILD : 1.7.13 (1011) # BUGS : 472 478 # NOTES : new w32 icon and fixed file pointer
git-svn-id: svn://svn.anope.org/anope/trunk@1011 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@736 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-18 17:59:05 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 64cedd2e43 # BUILD : 1.7.13 (1010) # BUGS : 471 # NOTES : fixed charybdis umodes.
git-svn-id: svn://svn.anope.org/anope/trunk@1010 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@735 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-18 11:31:57 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d500efe45d # BUILD : 1.7.13 (1009) # BUGS : 460 # NOTES : fixed sstrdup(NULL) in cs_akick.c
git-svn-id: svn://svn.anope.org/anope/trunk@1009 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@734 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-18 11:06:29 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b f653137275 # BUILD : 1.7.13 (1008) # BUGS : 473 474 # NOTES : gcc switches and win98 stop, thx 2 trystan
git-svn-id: svn://svn.anope.org/anope/trunk@1008 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@733 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-14 15:01:51 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b ba935451d8 BUILD : 1.7.13 (1007)# BUGS : 476 # NOTES : Applied Trystan's patch.
git-svn-id: svn://svn.anope.org/anope/trunk@1007 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@732 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-13 16:02:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 663b243c59 BUILD : 1.7.13 (1006) BUGS : 468 NOTES : Fixed a counting issue in /os stats uplink and ran indent on src/core/os_uplink.c
git-svn-id: svn://svn.anope.org/anope/trunk@1006 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@731 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-07 15:27:35 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 0db8644763 # BUILD : 1.7.13 (1005)
# BUGS  : 469
# NOTES : Applied Trystan's moduleNoticeLang() patch

git-svn-id: svn://svn.anope.org/anope/trunk@1005 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@730 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-05 09:48:41 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c98b577f21 # BUILD : 1.7.13 (1004)
# BUGS  : 333
# NOTES : Fixed botserv's mode stuff with protect umode

git-svn-id: svn://svn.anope.org/anope/trunk@1004 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@729 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-03 10:57:27 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 2bd37f21b5 # BUILD : 1.7.13 (1003)
# BUGS  : 467
# NOTES : Fixed server desc for several ircds

git-svn-id: svn://svn.anope.org/anope/trunk@1003 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@728 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-03 10:14:38 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b803c903b0 BUILD : 1.7.13 (1002) BUGS : 440 NOTES : Made bs_init and hostserv_init useless when BotServ/HostServ are disabled; fixed compile errors/warnings introduced by Certus
git-svn-id: svn://svn.anope.org/anope/trunk@1002 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@727 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-02 10:45:46 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 012ae7436e # BUILD : 1.7.13 (1001)
# BUGS  : 
# NOTES : NickServ will now check anope_valid_nick()

git-svn-id: svn://svn.anope.org/anope/trunk@1001 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@726 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-02 09:32:38 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 708f566ffb # BUILD : 1.7.13 (1000)
# BUGS  : 424
# NOTES : Added TS6 Save support. This is #1000!

git-svn-id: svn://svn.anope.org/anope/trunk@1000 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@725 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-02 09:25:02 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 0f18525a2c # BUILD : 1.7.13 (999)
# BUGS  : 430
# NOTES : Fixed memleak in do_cmode()

git-svn-id: svn://svn.anope.org/anope/trunk@999 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@724 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-02 08:55:57 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b90dfa435a # BUILD : 1.7.13 (998)
# BUGS  : 445
# NOTES : Tixed possible overflow in process()

git-svn-id: svn://svn.anope.org/anope/trunk@998 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@723 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-02 08:40:41 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b bd1c639428 # BUILD : 1.7.13 (997)
# BUGS  : 418
# NOTES : Fixed TS6 stuff in channels.c, thx 2 Trystan.

git-svn-id: svn://svn.anope.org/anope/trunk@997 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@722 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-02 08:23:26 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d7d057ea80 forgot the !
git-svn-id: svn://svn.anope.org/anope/trunk@996 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@721 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 20:29:34 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 4cd8034616 ircd.anope_valid_chan is added to all protocol modules to allow for things like unreal who add extra restircitons...
git-svn-id: svn://svn.anope.org/anope/trunk@995 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@720 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 20:19:11 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 90bdc0f9af Updated inspircd protocol files from Brain, and it now compiles with make strict.
git-svn-id: svn://svn.anope.org/anope/trunk@994 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@719 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 19:00:34 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b cb7dc8881a git-svn-id: svn://svn.anope.org/anope/trunk@993 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@718 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 18:55:30 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 035e196c0f # BUILD : 1.7.13 (992)
# BUGS  : 450 447
# NOTES : Fixed more memleaks.

git-svn-id: svn://svn.anope.org/anope/trunk@992 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@717 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 18:43:35 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a7a2d3fa8a Applied Ultiamte3 chan SQline fix by trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@991 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@716 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 18:00:43 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 587bf2e4ce # BUILD : 1.7.13 (989)
# BUGS  : 444
# NOTES : Fixed memleak in os_mode.c

git-svn-id: svn://svn.anope.org/anope/trunk@990 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@715 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 17:56:46 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b613503e7e # BUILD : 1.7.13 (988)
# BUGS  : 421 436 438
# NOTES : Hooray, it's still bug-fixing-day!

git-svn-id: svn://svn.anope.org/anope/trunk@989 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@714 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 17:36:58 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ba2da27fa1 xop char is a const char * now, as that is what is returned.
git-svn-id: svn://svn.anope.org/anope/trunk@988 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@713 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 17:21:10 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c00fd1215e # BUILD : 1.7.13 (987)
# BUGS  : 456
# NOTES : Added fix for unreal's local channels

git-svn-id: svn://svn.anope.org/anope/trunk@987 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@712 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 16:32:40 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 902eedeb6f BUILD : 1.7.13 (986) BUGS : n/a NOTES : Propagated CHAN_X_INVALID to all languages and Changes.lang
git-svn-id: svn://svn.anope.org/anope/trunk@986 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@711 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 15:20:15 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 4c6ce41202 # BUILD : 1.7.13 (985)
# BUGS  : 
# NOTES : added new langstring CHAN_X_INVALID

git-svn-id: svn://svn.anope.org/anope/trunk@985 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@710 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 15:12:19 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c7c2ca7b51 # BUILD : 1.7.13 (984)
# BUGS  : 451 459
# NOTES : bug fixing day!

git-svn-id: svn://svn.anope.org/anope/trunk@984 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@709 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 14:37:56 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 47e4ace8cc Updated version.log by hand :P
git-svn-id: svn://svn.anope.org/anope/trunk@983 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@708 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 14:26:19 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b fed9959312 # BUILD : 1.7.13 (982)
# BUGS  : 457
# NOTES : Fixed wasteful finduser() in os_oline.c

git-svn-id: svn://svn.anope.org/anope/trunk@982 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@707 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 14:16:54 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 88b67f00f7 git-svn-id: svn://svn.anope.org/anope/trunk@981 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@706 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 14:08:00 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 3a61b5a606 git-svn-id: svn://svn.anope.org/anope/trunk@980 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@705 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 13:29:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4caab14b2b BUILD : 1.7.13 (979) BUGS : 455 NOTES : Fixed ns_saset: swapped args to createCommand and added check to see if nick was set
git-svn-id: svn://svn.anope.org/anope/trunk@979 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@704 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 10:52:02 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 0afacb171d BUILD : 1.7.13 (978) BUGS : 417 NOTES : fixed events on /join 0.
git-svn-id: svn://svn.anope.org/anope/trunk@978 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@703 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 10:39:29 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 79fbeb90c1 BUILD : 1.7.13 (977) BUGS : 461 463 NOTES : happy bug-fixing-day to all of you.
git-svn-id: svn://svn.anope.org/anope/trunk@977 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@702 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 10:20:50 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b aff742a18e BUILD : 1.7.13 (976) BUGS : 396 NOTES : Fixed TS6 issues with handling nick changes and channel modes
git-svn-id: svn://svn.anope.org/anope/trunk@976 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@701 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 09:57:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3f7afe4d02 BUILD : 1.7.13 (975) BUGS : 435 NOTES : Added messages explaining what module status numbers mean
git-svn-id: svn://svn.anope.org/anope/trunk@975 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@700 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 09:52:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a249b69fa9 BUILD : 1.7.13 (974) BUGS : 454 NOTES : Fixed a crash when passing a NULL-user to moduleGetLangString
git-svn-id: svn://svn.anope.org/anope/trunk@974 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@699 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01 09:43:27 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 910a99d284 Applied ThaPrinces fantasy patch for protected umodes.
git-svn-id: svn://svn.anope.org/anope/trunk@973 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@698 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-28 17:38:33 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 2656ad9f63 BUILD : 1.7.13 (972) BUGS : NOTES : Fixed a bug involving EVENT_ACCESS_DEL.
git-svn-id: svn://svn.anope.org/anope/trunk@972 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@697 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-28 14:31:45 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e601d54a68 Removed redundant int, should make gcc 2 a little happier :)
git-svn-id: svn://svn.anope.org/anope/trunk@971 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@696 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-24 10:30:47 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 1ee02bdfb5 Applied Trystans patch for bug: 448
git-svn-id: svn://svn.anope.org/anope/trunk@970 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@695 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-23 07:29:59 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 755f87ec42 BUILD : 1.7.13 (969) BUGS : NOTES : Fixed position of EVENT_ACCESS_DEL. HEADACHE!
git-svn-id: svn://svn.anope.org/anope/trunk@969 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@694 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-19 15:55:31 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 36a29e1b17 BUILD : 1.7.13 (968) BUGS : NOTES : Fixed cs_getpass.c, thx to Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@968 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@693 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-18 21:20:00 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 7df341a7d1 Fixed va_list issue with process_list
git-svn-id: svn://svn.anope.org/anope/trunk@967 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@692 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-13 18:35:40 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 66248d41ff Applied patches by neno and trystan
git-svn-id: svn://svn.anope.org/anope/trunk@966 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@691 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-12 10:11:23 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b a3e5ec9638 BUILD : 1.7.13 (965) BUGS : 442 437 432 431 420 NOTES : Fixed a few memleaks.
git-svn-id: svn://svn.anope.org/anope/trunk@965 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@690 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-11 21:42:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 80e5f30a49 BUILD : 1.7.13 (962) BUGS : NOTES : Added events for channel kicks and nickserv logout
git-svn-id: svn://svn.anope.org/anope/trunk@962 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@689 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-04 20:51:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 5c0f1b8691 BUILD : 1.7.13 (961) BUGS : NOTES : Added support for Charybdis IRCd
git-svn-id: svn://svn.anope.org/anope/trunk@961 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@688 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-03 17:22:48 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 74edf282e9 Bug: 425 - export buildStringList for modules to use.
git-svn-id: svn://svn.anope.org/anope/trunk@960 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@687 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-26 17:14:49 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 033ce65255 Added va_copy macro, along with a autoconf test.
git-svn-id: svn://svn.anope.org/anope/trunk@959 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@686 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-25 20:44:50 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 9435ddae0c BUILD : 1.7.13 (958) BUGS : NOTES : Applied the new french translation provided by illu.
git-svn-id: svn://svn.anope.org/anope/trunk@958 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@685 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-25 13:42:10 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 4a54fdec5e git-svn-id: svn://svn.anope.org/anope/trunk@957 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@684 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-24 07:54:48 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 0dc104f20d BUILD : 1.7.13 (956) BUGS : NOTES : applied patch provided by trystan
git-svn-id: svn://svn.anope.org/anope/trunk@956 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@683 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-23 19:43:56 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d86dddd6e7 BUILD : 1.7.13 (955) BUGS : NOTES : updated config.guess and config.sub
git-svn-id: svn://svn.anope.org/anope/trunk@955 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@682 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-23 19:39:10 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 661585a941 Applied nenolods patch for bug 415. Also done a check over the code, i cant see any other instance where we use the result from va_arg() repeatadly.
Depending on how many non C99 compilers are out there, we might have to include an autoconf check for va_copy and provide our own alternative using memcpy() if it isnt present.  We'll see how it goes for now assuming its there.



git-svn-id: svn://svn.anope.org/anope/trunk@954 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@681 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-15 19:06:34 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b838452d26 BUILD : 1.7.13 (953) BUGS : NOTES : Fixed SGLine removal on all ircds.
git-svn-id: svn://svn.anope.org/anope/trunk@953 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@680 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-14 11:36:29 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 977c94c854 BUILD : 1.7.13 (952) BUGS : NOTES : Development Framework ; made .BANNER version dynamic
git-svn-id: svn://svn.anope.org/anope/trunk@952 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@679 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-28 10:16:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 19d47a9191 BUILD : 1.7.13 (951) BUGS : NOTES : Anope 1.7.13 release
git-svn-id: svn://svn.anope.org/anope/trunk@951 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@678 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-26 23:25:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3d122d2607 BUILD : 1.7.13 (949) BUGS : NOTES : Anope 1.7.13 release
git-svn-id: svn://svn.anope.org/anope/trunk@949 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@677 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-26 19:20:09 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b eed69ec200 BUILD : 1.7.13 (948) BUGS : NOTES : Anope 1.7.13-rc1
git-svn-id: svn://svn.anope.org/anope/trunk@948 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@676 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-26 16:31:32 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0426f86966 BUILD : 1.7.12 (947) BUGS : NOTES : Updated inspircd support module and fixed error with generating language.h on certain setups
git-svn-id: svn://svn.anope.org/anope/trunk@947 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@675 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-26 15:59:05 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 86ccb584dd BUILD : 1.7.12 (945) BUGS : 405 410 NOTES : Fixed: first user on HelpChannel always got +h, even if it had no access at all; enforcers had incorrect user when only user was specified; missing quitmessage when catching unknown signals
git-svn-id: svn://svn.anope.org/anope/trunk@945 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@674 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-11 09:48:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b da183c9107 Applied uid fix provided by trystan (delayed in commiting as svn was playing up)
git-svn-id: svn://svn.anope.org/anope/trunk@942 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@673 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-04 11:51:12 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e93a95d876 Updated os_stats to not crash wen no nickchars are present. Im not sure this is the best fix, could GD take a look since he knows about capab? :)
git-svn-id: svn://svn.anope.org/anope/trunk@940 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@672 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-14 08:38:34 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 210a1158ea Removed ! from fantasy command
git-svn-id: svn://svn.anope.org/anope/trunk@938 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@671 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-10 16:44:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b fbf820b4e6 Remove tmp modules from the runtime folder when we can. Currently we cant remove them if we segfaulted, pretty much every other instance is now dealt with.
git-svn-id: svn://svn.anope.org/anope/trunk@936 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@670 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-08 20:47:50 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 2cfdc08695 Fixed bug #403
Fixed segfault on /os modload a non-existing file



git-svn-id: svn://svn.anope.org/anope/trunk@931 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@669 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-02 17:42:52 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 42db280b0f Put change line in the right place
git-svn-id: svn://svn.anope.org/anope/trunk@928 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@668 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-01 20:23:35 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b acacc71a01 use sstrdup on the BSFantasyChar if not specified in the config file.
git-svn-id: svn://svn.anope.org/anope/trunk@925 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@667 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-01 20:14:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b be5d35717d BUILD : 1.7.12 (924) BUGS : NOTES : Updated docs/FAQ
git-svn-id: svn://svn.anope.org/anope/trunk@924 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@666 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-30 08:33:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7d1d0ef9ed BUILD : 1.7.12 (920) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@920 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@665 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-28 21:09:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 429fa4e741 BUILD : 1.7.12 (918) BUGS : NOTES : 1.7.12 Release
git-svn-id: svn://svn.anope.org/anope/trunk@918 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@664 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-28 17:21:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 08f523a239 BUILD : 1.7.12 (917) BUGS : NOTES : Fixed module loading code to get rid of a few memory leaks and to (hopefully) correctly remove runtime copies when loading fails
git-svn-id: svn://svn.anope.org/anope/trunk@917 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@663 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-26 21:07:36 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 60d4067370 Updated randomnews to use randomnews help, instead of opernews
git-svn-id: svn://svn.anope.org/anope/trunk@916 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@662 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-26 16:09:49 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 211a7ac4d3 BUILD : 1.7.12 (915) BUGS : NOTES : Fixed indenting errors in last commit (1.7.12-rc1)
git-svn-id: svn://svn.anope.org/anope/trunk@915 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@661 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-21 14:30:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4e09ffe9b4 BUILD : 1.7.12 (914) BUGS : NOTES : Anope 1.7.12-rc1 stuffs
git-svn-id: svn://svn.anope.org/anope/trunk@914 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@660 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-21 14:20:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 96c98e6eea BUILD : 1.7.11 (913) BUGS : NOTES : Turned NickLen into RECOMMENDED and BSFantasyCharacter into OPTIONAL
git-svn-id: svn://svn.anope.org/anope/trunk@913 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@659 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-05 15:22:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6d2b700767 BUILD : 1.7.11 (912) BUGS : NOTES : Turned identical userkeys error into a warning and added hs_request to src/modules/makefile.inc.win32
git-svn-id: svn://svn.anope.org/anope/trunk@912 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@658 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-04 14:53:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b1dc23a455 BUILD : 1.7.11 (911) BUGS : NOTES : Added a check to os_stats to see if we actually have a param to avoid segs
git-svn-id: svn://svn.anope.org/anope/trunk@911 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@657 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-02 20:18:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 33191186fe BUILD : 1.7.11 (910) BUGS : NOTES : Fixed some stats not passing the correct letter to anope_cmd_219
git-svn-id: svn://svn.anope.org/anope/trunk@910 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@656 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-02 11:52:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 978415e320 BUILD : 1.7.11 (909) BUGS : NOTES : Fixed /cs hop being available on ircds without halfop support
git-svn-id: svn://svn.anope.org/anope/trunk@909 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@655 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-02 11:34:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9207683d9d BUILD : 1.7.11 (908) BUGS : NOTES : Created a CapabInfo table to allow easier handling of capab tokens/flags
git-svn-id: svn://svn.anope.org/anope/trunk@908 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@654 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-01 21:54:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d486661031 BUILD : 1.7.11 (907) BUGS : NOTES : Fixed capab parsing on hybrid/plexus/ratbox and a typo in example.conf
git-svn-id: svn://svn.anope.org/anope/trunk@907 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@653 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-01 21:30:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f835ac55cb BUILD : 1.7.11 (906) BUGS : NOTES : Added information on the uplink server via /os stats uplink
git-svn-id: svn://svn.anope.org/anope/trunk@906 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@652 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-01 18:58:56 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9602733b2f BUILD : 1.7.11 (905) BUGS : NOTES : Fixed up config; UserKeys can be safely missing again, you get a real warning when they are identical, and fixed a small grammar error in the GlobalOnCycle warning just above
git-svn-id: svn://svn.anope.org/anope/trunk@905 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@651 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-01 15:29:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9416d19204 BUILD : 1.7.11 (904) BUGS : NOTES : Stripping fantasy char from fantasy commands now
git-svn-id: svn://svn.anope.org/anope/trunk@904 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@650 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-30 11:11:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0281b73406 BUILD : 1.7.11 (903) BUGS : NOTES : Added BSFantasyCharacter configuration option to change the fantasy prefix character
git-svn-id: svn://svn.anope.org/anope/trunk@903 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@649 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-29 08:21:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 08c234b850 BUILD : 1.7.11 (902) BUGS : NOTES : Changed how /os modload and /os modunload load/unload modules; they are now handled in a queue instead of using the mod_current_* variables
git-svn-id: svn://svn.anope.org/anope/trunk@902 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@648 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-28 15:52:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0ea76ce21f BUILD : 1.7.11 (901) BUGS : NOTES : Updated Italian translation (by Hal9000); updated German translation for cs_appendtopic (by Cloud); added Changes message for ns_saset fix accidently comitted when comitting the dev framework
git-svn-id: svn://svn.anope.org/anope/trunk@901 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@647 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-28 14:02:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 619b109b52 BUILD : 1.7.11 (900) BUGS : NOTES : Added an event for fantasy commands triggered by people without CA_FANTASY access on the channel
git-svn-id: svn://svn.anope.org/anope/trunk@900 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@646 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-28 13:56:12 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 05a6d13bb0 BUILD : 1.7.11 (899) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@899 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@645 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-28 13:47:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ec2020434a BUILD : 1.7.11 (897) BUGS : NOTES : Anope 1.7.11 Release
git-svn-id: svn://svn.anope.org/anope/trunk@897 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@644 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-25 16:27:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 00bda9fa4b BUILD : 1.7.11 (896) BUGS : NOTES : Fixed minor issues: forgot an End
git-svn-id: svn://svn.anope.org/anope/trunk@896 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@643 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-25 16:14:57 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b bee4bee532 BUILD : 1.7.11 (895) BUGS : NOTES : Fixed a typo in en_us.l
git-svn-id: svn://svn.anope.org/anope/trunk@895 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@642 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-24 07:29:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4a13e8096e BUILD : 1.7.11 (894) BUGS : NOTES : Anope 1.7.11-rc3
git-svn-id: svn://svn.anope.org/anope/trunk@894 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@641 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-21 16:55:51 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 00bf5bcace BUILD : 1.7.11 (893) BUGS : NOTES : Fixed a segfault in find_byuid() if it was passed with a NULL-argument
git-svn-id: svn://svn.anope.org/anope/trunk@893 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@640 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-21 16:43:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f13848d99e BUILD : 1.7.11 (892) BUGS : NOTES : Applied patch by Trystan to [1] strip CR/LF as well with normalizeBuffer() [2] fix various issues with hs_request (makes use of #1 in hs_request so that lines that are \n only are not processed; Adds check of tmp before allowing strtol() to get its hands on it; HSRequestDBName is set during the config load, if not by the config its sstrdup() with the default value.. so that the message at the end of the load does not read (NULL); frees the HSRequestDBName on unload; ran indent again it)
git-svn-id: svn://svn.anope.org/anope/trunk@892 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@639 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-21 14:12:02 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a7b8148370 BUILD : 1.7.11 (891) BUGS : NOTES : Fixed bot ident length checking and sending a reponse when loading a non-existing module
git-svn-id: svn://svn.anope.org/anope/trunk@891 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@638 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-20 19:22:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 717e1a1d58 BUILD : 1.7.11 (890) BUGS : NOTES : Fixed common_get_vhost/vident to also return vhost/vident on ircds without usermode for vhost/vident
git-svn-id: svn://svn.anope.org/anope/trunk@890 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@637 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-18 14:50:57 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 05879f80d9 BUILD : 1.7.11 (889) BUGS : NOTES : Applied patches by Trystan to: (1) Fix memleak when AddAkiller was enabled (2) Fix MySQL detection on win32 with install.vbs (3) Remove color codes from tools on win32
git-svn-id: svn://svn.anope.org/anope/trunk@889 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@636 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-18 11:46:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4d649ac1be BUILD : 1.7.11 (888) BUGS : NOTES : Anope 1.7.11-rc2
git-svn-id: svn://svn.anope.org/anope/trunk@888 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@635 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-17 10:33:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b bea6e2f2ee BUILD : 1.7.11 (887) BUGS : NOTES : Fixed various errors with version handling, mostly related to VERSION_EXTRA on win32
git-svn-id: svn://svn.anope.org/anope/trunk@887 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@634 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-14 21:10:27 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a3bd30298a BUILD : 1.7.11 (886) BUGS : NOTES : Redid the gcc4 fixes for the db-merger
git-svn-id: svn://svn.anope.org/anope/trunk@886 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@633 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-13 20:56:40 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 56d21793fc Applied Trystans patch, fixed other issues he pointed out.
Note: make strict will still show a couple of warnings, i think we should leave it as is.



git-svn-id: svn://svn.anope.org/anope/trunk@885 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@632 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-13 16:59:11 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 2a5d384b07 BUILD : 1.7.11 (884) BUGS : n/a NOTES : Version bump. First release candidate for .11
git-svn-id: svn://svn.anope.org/anope/trunk@884 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@631 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-12 17:54:32 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 97e7f94ec2 BUILD : 1.7.10 (883) BUGS : n/a NOTES : Making use of VERSION_EXTRA for release candidates.
git-svn-id: svn://svn.anope.org/anope/trunk@883 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@630 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-12 17:48:30 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b f470726c34 BUILD : 1.7.10 (882) BUGS : n/a NOTES : Typo fix
git-svn-id: svn://svn.anope.org/anope/trunk@882 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@629 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-11 21:19:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 78030c9c0a BUILD : 1.7.10 (881) BUGS : NOTES : Added a NickLen directive to make sure bot nicks are not longer than the nets
git-svn-id: svn://svn.anope.org/anope/trunk@881 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@628 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-11 18:06:27 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 46c42cbee4 BUILD : 1.7.10 (880) BUGS : n/a NOTES : Version 0.2 for db-merge fixing corruptions. By Certus.
git-svn-id: svn://svn.anope.org/anope/trunk@880 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@627 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-11 13:39:56 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 22e3b01cd4 BUILD : 1.7.10 (879) BUGS : n/a NOTES : The anoperc scripts is now generate for the user. By DrStein
git-svn-id: svn://svn.anope.org/anope/trunk@879 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@626 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-11 13:32:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8735d2becb BUILD : 1.7.10 (878) BUGS : NOTES : Applied patch by ThaPrince to fix XLINEs with plexus
git-svn-id: svn://svn.anope.org/anope/trunk@878 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@625 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-10 20:43:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 757f70de67 BUILD : 1.7.10 (877) BUGS : NOTES : Added two more globops warnings when a database cannott be opened
git-svn-id: svn://svn.anope.org/anope/trunk@877 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@624 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-09 21:20:16 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b da76fe52f0 BUILD : 1.7.10 (876) BUGS : NOTES : Added something about DevNull to the FAQ
git-svn-id: svn://svn.anope.org/anope/trunk@876 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@623 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-08 20:00:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f810dae28b BUILD : 1.7.10 (873) BUGS : NOTES : Added SGLINE support for plexus, and fixed minor other things (by ThaPrince)
git-svn-id: svn://svn.anope.org/anope/trunk@873 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@622 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-06 19:30:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4f48f74861 BUILD : 1.7.10 (872) BUGS : NOTES : Fixed delete_user to always free any allocated memory for vhost/vident
git-svn-id: svn://svn.anope.org/anope/trunk@872 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@621 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-06 12:53:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 40b676e953 BUILD : 1.7.10 (871) BUGS : NOTES : Applied two patches by ThaPrince to add the correct nicks to SQLINE/SGLINE with plexus and ratbox
git-svn-id: svn://svn.anope.org/anope/trunk@871 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@620 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-04 20:52:27 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 5e4760f2b5 BUILD : 1.7.10 (870) BUGS : NOTES : Move on, nothing to see here (typo fix in Changes)
git-svn-id: svn://svn.anope.org/anope/trunk@870 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@619 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-04 18:16:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ea09f79cb4 BUILD : 1.7.10 (869) BUGS : NOTES : pmodule_cmd_unsgline for plexus set plexus_cmd_unsqline instead of pmodule_cmd_unsgline (so unsQline instead of unsGline)
git-svn-id: svn://svn.anope.org/anope/trunk@869 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@618 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-04 17:56:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9e5fdf958f BUILD : 1.7.10 (868) BUGS : NOTES : Fixed duplicate Changes entries for Hal9000
git-svn-id: svn://svn.anope.org/anope/trunk@868 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@617 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-03 12:18:39 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 79a81468e6 BUILD : 1.7.10 (866) BUGS : NOTES : Added a moduleGetLangString() function to allow modules to retrieve their language strings instead of only being able to send a NOTICE with them
git-svn-id: svn://svn.anope.org/anope/trunk@866 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@616 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-01 15:56:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 79ef8a938a BUILD : 1.7.10 (865) BUGS : NOTES : Fixed the "limited to" line in the help for /os modlist
git-svn-id: svn://svn.anope.org/anope/trunk@865 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@615 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-31 21:08:19 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1aa132117d BUILD : 1.7.10 (864) BUGS : NOTES : Changed UserKeys from REQUIRED to RECOMMENDED
git-svn-id: svn://svn.anope.org/anope/trunk@864 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@614 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-30 20:18:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 75deeba7c7 BUILD : 1.7.10 (862) BUGS : NOTES : Fixed anope_cmd_part passing on "\0" instead of NULL when given NULL-arg
git-svn-id: svn://svn.anope.org/anope/trunk@862 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@613 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-29 14:09:02 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 01bfee779b Memory leak when using mysql to save data.
git-svn-id: svn://svn.anope.org/anope/trunk@860 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@612 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-29 12:34:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0d8069941a BUILD : 1.7.10 (858) BUGS : NOTES : Converted docs/FAQ to a more organized format
git-svn-id: svn://svn.anope.org/anope/trunk@858 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@611 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-29 11:28:25 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 22f84c8288 BUILD : 1.7.10 (857) BUGS : NOTES : Another FAQ update
git-svn-id: svn://svn.anope.org/anope/trunk@857 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@610 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-28 15:36:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 324f137e3e BUILD : 1.7.10 (856) BUGS : NOTES : Fixed gcc4 warnings for db-merger and epona2anope
git-svn-id: svn://svn.anope.org/anope/trunk@856 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@609 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-25 17:27:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 17df8a1110 BUILD : 1.7.10 (855) BUGS : NOTES : Fixed default location of services.conf in example.conf being incorrect
git-svn-id: svn://svn.anope.org/anope/trunk@855 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@608 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-21 20:55:51 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 628c9ca855 BUILD : 1.7.10 (854) BUGS : NOTES : Added ns_saset to the win32 makefiles
git-svn-id: svn://svn.anope.org/anope/trunk@854 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@607 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-21 14:15:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b5d9a59746 BUILD : 1.7.10 (853) BUGS : NOTES : Moved SET for other nicks (SA only) to a seperate SASET command
git-svn-id: svn://svn.anope.org/anope/trunk@853 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@606 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-21 12:48:15 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 92fbc6c1dc BUILD : 1.7.10 (852) BUGS : NOTES : Added the new windows installation files
git-svn-id: svn://svn.anope.org/anope/trunk@852 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@605 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-10 15:56:09 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b70fa90b8d BUILD : 1.7.10 (851) BUGS : NOTES : Fixed a few memleaks in os_info (thanks Certus)
git-svn-id: svn://svn.anope.org/anope/trunk@851 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@604 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-10 15:47:42 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 866d7cc99b BUILD : 1.7.10 (850) BUGS : NOTES : Fixed NS SET sometimes using the option as nick if it existed and updated docs/NEWS for 1.7
git-svn-id: svn://svn.anope.org/anope/trunk@850 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@603 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-07 14:52:04 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9937d54225 Applied max length check to bot nick
git-svn-id: svn://svn.anope.org/anope/trunk@849 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@602 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-05 06:34:16 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 4d842e5ab2 Edited the version of rage2 supported.
git-svn-id: svn://svn.anope.org/anope/trunk@848 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@601 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-09 12:48:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 65665505f4 BUILD : 1.7.10 (847) BUGS : NOTES : Fixed a typo when loading two protocol modules
git-svn-id: svn://svn.anope.org/anope/trunk@847 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@600 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-07 19:13:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1e1cdee5d4 BUILD : 1.7.10 (846) BUGS : NOTES : Clarified comments above SendMailPath in the config, thanks IcyLiquid
git-svn-id: svn://svn.anope.org/anope/trunk@846 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@599 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-07 15:27:25 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 796a834547 BUILD : 1.7.10 (845) BUGS : NOTES : Added a warning for *NIX when running as root
git-svn-id: svn://svn.anope.org/anope/trunk@845 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@598 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-03 22:10:10 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f657bbbd5c BUILD : 1.7.10 (844) BUGS : NOTES : Fixed module languages defaulting to english instead of NSDefLanguage
git-svn-id: svn://svn.anope.org/anope/trunk@844 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@597 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-02 17:30:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a9c7109070 BUILD : 1.7.10 (843) BUGS : NOTES : Fixed various compile warnings on AMD64 systems
git-svn-id: svn://svn.anope.org/anope/trunk@843 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@596 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-02 13:10:09 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e31758b72f BUILD : 1.7.10 (842) BUGS : NOTES : Added 3 new events for channel access/xop list modifications
git-svn-id: svn://svn.anope.org/anope/trunk@842 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@595 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-01 22:19:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 5e079dce4b BUILD : 1.7.10 (841) BUGS : 400 NOTES : Modules will now get a more random filename in the runtime/ folder, which makes sure that no duplicate filenames will occur, which makes sure listchans can run at the same time as services since they both use the same protocol module, which in turn fixes bug 400. And all modules are now properly unloaded on shutdown :)
git-svn-id: svn://svn.anope.org/anope/trunk@841 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@594 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-01 21:32:09 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0190e74b31 BUILD : 1.7.10 (840) BUGS : NOTES : Fixed most core compile warnings when using make strict
git-svn-id: svn://svn.anope.org/anope/trunk@840 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@593 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-01 13:23:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0d5132c0c7 BUILD : 1.7.10 (839) BUGS : NOTES : Removed the requirement of a valid config file when running ./services -version
git-svn-id: svn://svn.anope.org/anope/trunk@839 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@592 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-01 12:24:20 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 07c7cda90d Removed extra CC in protocol makefile *rolls eyes* :)
git-svn-id: svn://svn.anope.org/anope/trunk@838 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@591 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-30 15:39:00 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e049ed2574 Removed extra CC
git-svn-id: svn://svn.anope.org/anope/trunk@837 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@590 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-29 22:01:17 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 89249b2383 BUILD : 1.7.10 (836) BUGS : NOTES : Added italian translations for all modpack modules
git-svn-id: svn://svn.anope.org/anope/trunk@836 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@589 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-27 15:39:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e530d7e814 BUILD : 1.7.10 (835) BUGS : NOTES : Added portugese translation to hs_request, applied win32 fixes by heinz (or should i say heniz?)
git-svn-id: svn://svn.anope.org/anope/trunk@835 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@588 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-26 20:23:10 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c848a3a6a5 BUILD : 1.7.10 (834) BUGS : NOTES : Added hs_request to the modpack, made memo_send a real global, and fixed a bug with module config stuff and PARAM_SET options
git-svn-id: svn://svn.anope.org/anope/trunk@834 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@587 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-26 13:27:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b9760a6353 BUILD : 1.7.10 (833) BUGS : NOTES : Fixed some fuckups in the previous commit
git-svn-id: svn://svn.anope.org/anope/trunk@833 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@586 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-25 21:10:12 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c638cd622d BUILD : 1.7.10 (832) BUGS : NOTES : Updated Italian langfile and removed some leftovers of userban stuff
git-svn-id: svn://svn.anope.org/anope/trunk@832 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@585 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-25 20:58:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2ea6359a1a BUILD : 1.7.10 (831) BUGS : NOTES : Removing userban code for now
git-svn-id: svn://svn.anope.org/anope/trunk@831 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@584 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-25 20:29:11 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b efddd4fb36 added some hostcore calls to extern.h - i didnt use am as i really am tired of ident breaking files, its past a joke.
git-svn-id: svn://svn.anope.org/anope/trunk@830 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@583 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-22 22:12:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 16924b3fa2 BUILD : 1.7.10 (829) BUGS : NOTES : Forgot a comment and a return in userban.c, and various win32 fixed by heinz
git-svn-id: svn://svn.anope.org/anope/trunk@829 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@582 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-05 14:07:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a6e9356357 BUILD : 1.7.10 (828) BUGS : NOTES : Added a new ban system which should be faster than what we have now and also supports CIDR bans -- not yet in use, but will be used for akills andeventually channel bans -- hashing and cidr bans are not tested yet
git-svn-id: svn://svn.anope.org/anope/trunk@828 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@581 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-05 10:46:25 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 843f9f38a8 BUILD : 1.7.10 (827) BUGS : 394 NOTES : Fixed /src/bin/register
git-svn-id: svn://svn.anope.org/anope/trunk@827 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@580 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-04 10:48:58 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d5e3e6c921 BUILD : 1.7.10 (826) BUGS : 384 NOTES : Removed --with-ircd stuff from configure(.in)
git-svn-id: svn://svn.anope.org/anope/trunk@826 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@579 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-04 10:45:19 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 12a1feea09 BUILD : 1.7.10 (825) BUGS : 398 NOTES : Forgot to enable finish_sync() for ultimate3, it was still using the old way to do it
git-svn-id: svn://svn.anope.org/anope/trunk@825 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@578 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-04 10:13:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ca25d6e252 BUILD : 1.7.10 (824) BUGS : 389 NOTES : Added the possibility for protocol files to override the code setting mod_current_buffer, which is needed for InspIRCd
git-svn-id: svn://svn.anope.org/anope/trunk@824 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@577 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-03 20:44:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e0cba0bb71 BUILD : 1.7.10 (823) BUGS : 385 391 NOTES : Moved checks for UseTokens, UseTS6, and Numeric into protocol_module_init because they need the ircd struct, and split init() into two functions to load the protocol module for listnicks/listchans.
git-svn-id: svn://svn.anope.org/anope/trunk@823 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@576 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-03 14:27:40 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 31163a2cbc BUILD : 1.7.10 (822) BUGS : none NOTES : Added pt.l and bundled modules pt.l patch. Thanx to Ricardo.
git-svn-id: svn://svn.anope.org/anope/trunk@822 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@575 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-30 21:50:20 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 33e8c9c083 Synced with brains cvs server
git-svn-id: svn://svn.anope.org/anope/trunk@821 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@574 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-30 11:32:45 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b f23b7e5b7f Commited using svn commit, as indent is breaking everything
git-svn-id: svn://svn.anope.org/anope/trunk@820 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@573 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-29 22:34:50 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 259405a7da again with the indent, i hate this...
git-svn-id: svn://svn.anope.org/anope/trunk@819 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@572 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-29 22:05:34 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3300b82551 re-commiting as indent broke it, AGAIN
git-svn-id: svn://svn.anope.org/anope/trunk@818 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@571 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-29 22:01:01 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b6090524fa BUILD : 1.7.10 (817) BUGS : N/A NOTES : Synced inspircd.c with brains cvs server
git-svn-id: svn://svn.anope.org/anope/trunk@817 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@570 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-29 22:00:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ec5c03f7bf BUILD : 1.7.10 (816) BUGS : NOTES : Updated the FAQ
git-svn-id: svn://svn.anope.org/anope/trunk@816 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@569 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-27 16:18:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ea4ae84f85 BUILD : 1.7.10 (815) BUGS : 383 NOTES : Added value checking for deleting ignores, which fixes a (very rare) segfault
git-svn-id: svn://svn.anope.org/anope/trunk@815 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@568 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-25 16:33:45 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9f88e2d9fe BUILD : 1.7.10 (814) BUGS : 381 NOTES : Removed a double extern definition of rdb_tag_table; Fixed mydbgen so it sends the pass and installs in the data dir
git-svn-id: svn://svn.anope.org/anope/trunk@814 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@567 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-25 15:42:43 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 11e50c8100 BUILD : 1.7.10 (813) BUGS : 380 NOTES : Fixed a bug with listnicks option displaying
git-svn-id: svn://svn.anope.org/anope/trunk@813 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@566 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-25 15:25:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 538d452baa BUILD : 1.7.10 (811) BUGS : NOTES : Development Framework
git-svn-id: svn://svn.anope.org/anope/trunk@811 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@565 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-25 15:07:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 68f7fc089e BUILD : 1.7.10 (810) BUGS : NOTES : And heniz (yes, heniz!) made a boo-boo with the version of install.vbs :)
git-svn-id: svn://svn.anope.org/anope/trunk@810 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@564 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-23 17:32:46 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 239986e4f3 BUILD : 1.7.10 (809) BUGS : NOTES : Updated install.vbs to detect SDK paths (by heinz)
git-svn-id: svn://svn.anope.org/anope/trunk@809 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@563 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-23 17:11:18 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 177fa3974f BUILD : 1.7.10 (808) BUGS : NOTES : Updated banner for 1.7.10
git-svn-id: svn://svn.anope.org/anope/trunk@808 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@562 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-23 17:00:14 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b daa8a90011 Again, removing null lines added by indent...
git-svn-id: svn://svn.anope.org/anope/trunk@807 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@561 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-22 13:22:44 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 2b1df0a547 Commited without am, to remove indent crap
git-svn-id: svn://svn.anope.org/anope/trunk@806 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@560 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-22 13:20:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8e75141235 BUILD : 1.7.10 (803) BUGS : NOTES : Anope 1.7.10 Release
git-svn-id: svn://svn.anope.org/anope/trunk@803 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@559 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-21 15:44:56 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a41f38c2e4 avoiding indent breakage
git-svn-id: svn://svn.anope.org/anope/trunk@802 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@558 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-17 20:27:12 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a0b268dab3 using svn commit to try and avoid indent bug thing
git-svn-id: svn://svn.anope.org/anope/trunk@800 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@557 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-17 20:04:58 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 296c1d8a5a BUILD : 1.7.9 (797) BUGS : N/A NOTES : Applied some nicities for sun boxs
git-svn-id: svn://svn.anope.org/anope/trunk@797 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@556 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-17 18:01:26 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b3ad96ad3c BUILD : 1.7.9 (796) BUGS : N/A NOTES : Updated inspircd module to work with inspircd beta 5 and up
git-svn-id: svn://svn.anope.org/anope/trunk@796 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@555 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-14 15:32:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e024944b6d BUILD : 1.7.9 (795) BUGS : 379 NOTES : Fixed the channelname issue in do_part once and for all with sstrdup(tm) power
git-svn-id: svn://svn.anope.org/anope/trunk@795 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@554 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-13 19:58:49 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f50b00cdb6 BUILD : 1.7.9 (794) BUGS : 377 NOTES : Removed any ! and further from topicsetters, since Unreal sometimes sends a nick!user@host topicsetter instead of just nick
git-svn-id: svn://svn.anope.org/anope/trunk@794 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@553 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-13 14:57:15 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 532b7f2e14 BUILD : 1.7.9 (793) BUGS : 378 NOTES : Applied patch
git-svn-id: svn://svn.anope.org/anope/trunk@793 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@552 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-13 13:19:33 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 4b8b499383 BUILD : 1.7.9 (792) BUGS : N/A NOTES : Added a check for last_quit when infoing a suspended nick, this should never happen, but it seems a few networks have odd databases which are using the suspend flag for something else, i think its related to networks that have merged databases, but i dont know, anyway, we check for it before using it now. (this dosnt fix the fact they are using a nc->flag that core wants for something else)
git-svn-id: svn://svn.anope.org/anope/trunk@792 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@551 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-13 08:25:40 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b dada762c9e BUILD : 1.7.9 (790) BUGS : N/A NOTES : Removed some comments from config.c
git-svn-id: svn://svn.anope.org/anope/trunk@790 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@550 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-12 18:49:41 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 1e064cc126 BUILD : 1.7.9 (789) BUGS : 375 NOTES : NSOperListOnly and CSOperListOnly are correctly formated in the help now.
git-svn-id: svn://svn.anope.org/anope/trunk@789 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@549 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-12 18:38:55 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b df7cd78fa8 BUILD : 1.7.9 (788) BUGS : 374 NOTES : Moved free() to after sending the EVENT_PART_CHANNEL event, so the event does not use an already freed variable
git-svn-id: svn://svn.anope.org/anope/trunk@788 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@548 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-12 16:51:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e203904efd BUILD : 1.7.9 (787) BUGS : 369 NOTES : Added a dummy folder/makefile to keep older shells happen with doing processing Makefile.inc subs
git-svn-id: svn://svn.anope.org/anope/trunk@787 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@547 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-11 12:44:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7c586a83dd BUILD : 1.7.9 (786) BUGS : NOTES : Applied patch by crazy for language updates and removal of IRCDFILE stuff
git-svn-id: svn://svn.anope.org/anope/trunk@786 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@546 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-10 14:48:26 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d2b08b8e04 BUILD : 1.7.9 (785) BUGS : 371 372 NOTES : Set mod_current_module_name for AnopeFini and updated get_access to return -1 for non-identified users instead of 0.
git-svn-id: svn://svn.anope.org/anope/trunk@785 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@545 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-10 14:45:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6760f98c6b BUILD : 1.7.9 (784) BUGS : NOTES : Fixed another segfault in ns_maxemail, forget a check for nc->email this time.
git-svn-id: svn://svn.anope.org/anope/trunk@784 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@544 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-09 20:14:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6825c4c6dc BUILD : 1.7.9 (783) BUGS : NOTES : Fixed most compiler warnings for the core (not modules) when using make strict
git-svn-id: svn://svn.anope.org/anope/trunk@783 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@543 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-06 09:16:55 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ea554c0f00 BUILD : 1.7.9 (782) BUGS : 357 NOTES : Fixed a segfault in os_clearmodes when clearing invites -- it used the exception list for the invite hosts, not the invite list, which is bad :)
git-svn-id: svn://svn.anope.org/anope/trunk@782 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@542 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-06 06:27:38 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b dcb587f4ca BUILD : 1.7.9 (781) BUGS : 358 364 NOTES : Changed chan_set_correct_modes() to allow identified founders to get founder is SECUREFOUNDER is on. Added code in delchan() to logout people identified as founder to the channel dropped.
git-svn-id: svn://svn.anope.org/anope/trunk@781 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@541 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-06 06:15:18 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 4b55c52751 BUILD : 1.7.9 (780) BUGS : none NOTES : Language to clarify configuration directive dependencies.
git-svn-id: svn://svn.anope.org/anope/trunk@780 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@540 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-06 01:51:44 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1fc19209fd BUILD : 1.7.9 (779) BUGS : none NOTES : TS6 nick tracking fix by static
git-svn-id: svn://svn.anope.org/anope/trunk@779 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@539 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-06 01:37:08 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ac4c6f37b9 BUILD : 1.7.9 (778) BUGS : N/A NOTES : inspircd fixs, debug output fix
git-svn-id: svn://svn.anope.org/anope/trunk@778 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@538 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05 20:53:54 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b f7dd15d127 BUILD : 1.7.9 (777) BUGS : N/A NOTES : Synced with [brain]s cvs server
git-svn-id: svn://svn.anope.org/anope/trunk@777 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@537 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05 20:24:34 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b d754468e29 BUILD : 1.7.9 (776) BUGS : none NOTES : Prepended all debug messages for consistency.
git-svn-id: svn://svn.anope.org/anope/trunk@776 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@536 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05 16:58:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7a731e504b BUILD : 1.7.9 (775) BUGS : NOTES : Fixed possible segfaults in ns_maxemail
git-svn-id: svn://svn.anope.org/anope/trunk@775 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@535 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05 16:34:41 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9496304952 BUILD : 1.7.9 (774) BUGS : 366 NOTES : Updated chan_set_correct_modes() to work ok with U:Lined servers and added checking for OPDEOPME next to AUTOOP levels (same for the other modes)
git-svn-id: svn://svn.anope.org/anope/trunk@774 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@534 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05 16:11:41 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b a33e31d790 BUILD : 1.7.9 (773) BUGS : none NOTES : Development Framework.
git-svn-id: svn://svn.anope.org/anope/trunk@773 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@533 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 23:55:01 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 6db22fcbfb BUILD : 1.7.9 (771) BUGS : none NOTES : Anope 1.7.9 Release (fixed compiler warning).
git-svn-id: svn://svn.anope.org/anope/trunk@771 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@532 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 18:26:36 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 6f7b56163e BUILD : 1.7.9 (770) BUGS : none NOTES : Anope 1.7.9 Release.
git-svn-id: svn://svn.anope.org/anope/trunk@770 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@531 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 18:10:49 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 8fc3075dbe BUILD : 1.7.8 (769) BUGS : N/A NOTES : Quick tidy up to cs_enforce
git-svn-id: svn://svn.anope.org/anope/trunk@769 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@530 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 17:44:58 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 0d6b0dcf6e BUILD : 1.7.8 (768) BUGS : N/A NOTES : synced with [brain]s cvs server
git-svn-id: svn://svn.anope.org/anope/trunk@768 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@529 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 17:18:45 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 783857b1c0 BUILD : 1.7.8 (767) BUGS : N/A NOTES : Removed some pointless alogs
git-svn-id: svn://svn.anope.org/anope/trunk@767 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@528 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 16:49:38 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b c29ebf0b35 BUILD : 1.7.8 (766) BUGS : N/A NOTES : Added author/version and type to cs_tban
git-svn-id: svn://svn.anope.org/anope/trunk@766 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@527 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 16:30:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 96832f34e7 BUILD : 1.7.8 (765) BUGS : 352 NOTES : Fixed various PTlink vhost handling bugs. Added a fake umode to indicate we have a vHost, to not break other IRCDs which DO use umodes. Ignoring PTlinks NEWMASK on SVSMODE +r, as that would desynch the services internal vhost.
git-svn-id: svn://svn.anope.org/anope/trunk@765 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@526 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 11:17:29 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a075334df1 BUILD : 1.7.8 (764) BUGS : 363 NOTES : Missing (c->)ci check in do_topic(), causing segfaults...
git-svn-id: svn://svn.anope.org/anope/trunk@764 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@525 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-04 10:12:32 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 21ef2c095f BUILD : 1.7.8 (763) BUGS : none NOTES : Final file normalization, Languages ready for dev release.
git-svn-id: svn://svn.anope.org/anope/trunk@763 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@524 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-03 23:41:53 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 104ae92aaa BUILD : 1.7.8 (762) BUGS : none NOTES : Language file normalization
git-svn-id: svn://svn.anope.org/anope/trunk@762 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@523 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-03 18:02:04 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 24aa73984f BUILD : 1.7.8 (761) BUGS : N/A NOTES : Tidied up tr.l in trunk
git-svn-id: svn://svn.anope.org/anope/trunk@761 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@522 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-03 17:58:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e8974f0d3e BUILD : 1.7.8 (759) BUGS : NOTES : Various updates to the modulepack, and fixed an issue with mod_current_module set incorrectly in some cases, making the lang functions fail
git-svn-id: svn://svn.anope.org/anope/trunk@759 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@521 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-03 15:20:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 22bf8b43b8 BUILD : 1.7.8 (758) BUGS : 332 NOTES : FIXED: anope_event_away() doing dangerous things with ac/av, viagra had issues in notice_ops, anope_cmd_mode() used wrongly for dreamforge and ultimate2
git-svn-id: svn://svn.anope.org/anope/trunk@758 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@520 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02 22:37:32 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7a1d87fd7b BUILD : 1.7.8 (757) BUGS : 355 361 NOTES : FIXED: Seperated +q/+a and +o in chan_set_correct_modes, and used +Z (and not +R) for services roots with ultimate3.
git-svn-id: svn://svn.anope.org/anope/trunk@757 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@519 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02 20:57:55 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 862291c151 BUILD : 1.7.8 (756) BUGS : N/A NOTES : Turnend -x off
git-svn-id: svn://svn.anope.org/anope/trunk@756 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@518 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02 19:33:21 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d9ba3b01b6 BUILD : 1.7.8 (754) BUGS : N/A NOTES : store default vales in Config properly
git-svn-id: svn://svn.anope.org/anope/trunk@754 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@517 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02 19:06:53 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e058391883 BUILD : 1.7.8 (753) BUGS : N/a NOTES : Merged anope-dev with trunk
git-svn-id: svn://svn.anope.org/anope/trunk@753 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@516 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02 19:02:12 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4949177038 BUILD : 1.7.8 (707) BUGS : NOTES : Added src/tools/Makefile.win32, which was missing since last commit
git-svn-id: svn://svn.anope.org/anope/trunk@707 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@515 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-21 15:38:16 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ab7a624ef9 BUILD : 1.7.8 (687) BUGS : N/A NOTES : Another heinz makefile.win32 patch :)
git-svn-id: svn://svn.anope.org/anope/trunk@687 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@514 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-16 18:38:35 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d8512f028c BUILD : 1.7.8 (686) BUGS : N/A NOTES : Applied small makefile patch for win32
git-svn-id: svn://svn.anope.org/anope/trunk@686 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@513 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-16 18:28:12 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 81da370760 BUILD : 1.7.8 (685) BUGS : none NOTES : svn FSFS test.
git-svn-id: svn://svn.anope.org/anope/trunk@685 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@512 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-16 15:28:23 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c2ab9b982d BUILD : 1.7.8 (663) BUGS : NOTES : Small typo in last commit
git-svn-id: svn://svn.anope.org/anope/trunk@663 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@511 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-14 19:18:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f4d6f50ebf BUILD : 1.7.8 (662) BUGS : 342 NOTES : I should know that real_av and av are not identical, thanks for pointing that out heinz :P
git-svn-id: svn://svn.anope.org/anope/trunk@662 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@510 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-14 18:36:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c9b0122863 BUILD : 1.7.8 (661) BUGS : 341 342 NOTES : Fixed removing modes when users with insufficient rights entered a channel, and added a check to make sure the guestnick is not in use yet
git-svn-id: svn://svn.anope.org/anope/trunk@661 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@509 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-12 19:53:08 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 3209eb56ee BUILD : 1.7.8 (660) BUGS : NOTES : Added .BANNER file for the Config script
git-svn-id: svn://svn.anope.org/anope/trunk@660 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@508 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-12 17:17:47 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d8535cddda BUILD : 1.7.8 (659) BUGS : N/A NOTES : dbgen script will now accept a blank sql pass if you tell it too...
git-svn-id: svn://svn.anope.org/anope/trunk@659 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@507 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-11 20:09:26 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 6f25f8bbce BUILD : 1.7.8 (658) BUGS : 658 NOTES : Applied qa patch for bug 658
git-svn-id: svn://svn.anope.org/anope/trunk@658 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@506 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-11 20:01:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4a051a7fe1 BUILD : 1.7.8 (657) BUGS : 346 351 341 328 345 NOTES : Added channame to XOP/ACCESS/AKICK CLEAR, added checks to /hs off, fixed guest nick to take an unused nick, added SVN revision to win32 versions, fixed /ns alist to not accept invalid access levels, improved Config script, fixed responses for /ns glist/alist -- ty qa ;)
git-svn-id: svn://svn.anope.org/anope/trunk@657 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@505 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-07 17:45:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ce2c4d02c8 BUILD : 1.7.8 (656) BUGS : 331 NOTES : (1) Updated de.l (2) mydbgen will now be installed correctly (3) added support for cmodes +SN to solidircd
git-svn-id: svn://svn.anope.org/anope/trunk@656 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@504 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-04 14:25:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d31359dcdc BUILD : 1.7.8 (655) BUGS : NOTES : We need to update the sync-state for leaf servers as well, or strange things will happen...
git-svn-id: svn://svn.anope.org/anope/trunk@655 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@503 5417fbe8-f217-4b02-8779-1006273d7864
2005-04-04 14:16:25 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b b738b7d6bc BUILD : 1.7.8 (654) BUGS : NOTES : DrSteins Makefile Patches...
git-svn-id: svn://svn.anope.org/anope/trunk@654 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@502 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-30 00:01:00 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 7b4c661d80 BUILD : 1.7.8 (653) BUGS : 339 NOTES : Chanserv now sets topic when channel is recreated.
git-svn-id: svn://svn.anope.org/anope/trunk@653 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@501 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-29 23:19:29 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 30b5214eef BUILD : 1.7.8 (652) BUGS : NOTES : Changed anoperc to use numerics for compliance.
git-svn-id: svn://svn.anope.org/anope/trunk@652 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@500 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-29 21:50:51 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b e97d88fa34 BUILD : 1.7.8 (651) BUGS : none NOTES : Applied shadowirc.c patch from nenolod.
git-svn-id: svn://svn.anope.org/anope/trunk@651 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@499 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-29 03:18:40 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 049a272fa4 BUILD : 1.7.8 (650) BUGS : 338 NOTES : Moved GlobalOnCycleUP again...
git-svn-id: svn://svn.anope.org/anope/trunk@650 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@498 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28 22:46:54 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b cd1213e22f BUILD : 1.7.8 (649) BUGS : 336 NOTES : Moved code for GlobalOnCycleUP to after the server has connected.
git-svn-id: svn://svn.anope.org/anope/trunk@649 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@497 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28 16:44:20 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b b58eb5f7f2 BUILD : 1.7.8 (648) BUGS : 337 NOTES : Fixed the db query for anope_cs_akicks in display name change function.
git-svn-id: svn://svn.anope.org/anope/trunk@648 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@496 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28 15:06:22 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 91ab20aefb BUILD : 1.7.8 (647) BUGS : 326 NOTES : Changed usermode for ultimate3 SRA to +Z
git-svn-id: svn://svn.anope.org/anope/trunk@647 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@495 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28 14:55:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b30ca2f8f2 BUILD : 1.7.8 (646) BUGS : 327 329 334 335 NOTES : Fixed quite a few bugs with mode handling (not always removed correctly, added/removed modes were split), fixed a segfault in chan_set_correct_modes, fixed some issues with topic setting, made stripModePrefix really stripping the mode prefix instead of the first char
git-svn-id: svn://svn.anope.org/anope/trunk@646 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@494 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28 12:59:44 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 0783c0d875 BUILD : 1.7.8 (645) BUGS : none NOTES : Language file normalization.
git-svn-id: svn://svn.anope.org/anope/trunk@645 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@493 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28 04:11:54 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b dca8847adc BUILD : 1.7.8 (644) BUGS : 330 NOTES : Fixed bugs with nickserv suspend
git-svn-id: svn://svn.anope.org/anope/trunk@644 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@492 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28 00:25:26 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b baaef79283 BUILD : 1.7.8 (643) BUGS : NOTES : Fixed: (1) memleak in nickIsServices [src/misc.c] (2) Fixed language files to reflect r641 (3) Updated nl.l (4) Added event of r642 to docs/EVENTS
git-svn-id: svn://svn.anope.org/anope/trunk@643 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@491 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-26 10:26:43 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b f3d7f8e676 BUILD : 1.7.8 (642) BUGS : NOTES : Minor Update (Event Handler) for SUSPENDING
git-svn-id: svn://svn.anope.org/anope/trunk@642 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@490 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-26 10:13:29 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b c4cdb1fe36 BUILD : 1.7.8 (641) BUGS : NOTES : Added SUSPEND and UNSUSPEND to NickServ. Also added running as root check to anoperc.
git-svn-id: svn://svn.anope.org/anope/trunk@641 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@489 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-26 10:05:57 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2225f58c39 BUILD : 1.7.8 (640) BUGS : 323 NOTES : Fixed /ns update setting +a if you had rights to get +q but already had it
git-svn-id: svn://svn.anope.org/anope/trunk@640 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@488 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-22 14:24:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b f005ab7da5 BUILD : 1.7.8 (639) BUGS : NOTES : Some more fixing of the topic stuff to get it to work better with UnrealIRCd
git-svn-id: svn://svn.anope.org/anope/trunk@639 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@487 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-22 11:53:27 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2489bd7551 BUILD : 1.7.8 (638) BUGS : NOTES : Accidently left 2 lines too much while fixing the topics being re-set on sync, causing them to be re-set on every normal join sent via SJOIN
git-svn-id: svn://svn.anope.org/anope/trunk@638 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@486 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-22 11:35:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 4c5d97a62a BUILD : 1.7.8 (637) BUGS : NOTES : Changed the email addy of Simba in Changes
git-svn-id: svn://svn.anope.org/anope/trunk@637 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@485 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-22 08:48:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 250c3f8ab1 BUILD : 1.7.8 (636) BUGS : NOTES : When the topic was fully identical to the topiclocked one it still was being re-set, fixed that
git-svn-id: svn://svn.anope.org/anope/trunk@636 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@484 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-21 21:02:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a53f209c7f BUILD : 1.7.8 (635) BUGS : NOTES : Topics should be only updated when really needed during bursts now (on IRCDs that support it)
git-svn-id: svn://svn.anope.org/anope/trunk@635 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@483 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-21 16:10:05 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 28dd482006 BUILD : 1.7.8 (634) BUGS : 321 NOTES : Applied Trystans patch for shadow-ircd nick changing and vhosting - there are still issues with it tho.
git-svn-id: svn://svn.anope.org/anope/trunk@634 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@482 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-18 19:03:45 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 7983a0acbd BUILD : 1.7.8 (633) BUGS : none NOTES : OS SET SQL ON shall warn about SQL disabled in services.conf
git-svn-id: svn://svn.anope.org/anope/trunk@633 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@481 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-17 14:52:28 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e8275af54a BUILD : 1.7.8 (632) BUGS : 315 NOTES : 422 is sent if the file dosnt exist, 375 and 376 are no longer sent, if the error numeric is sent.
git-svn-id: svn://svn.anope.org/anope/trunk@632 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@480 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-16 20:24:47 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1fec2a9abd BUILD : 1.7.8 (631) BUGS : 320 NOTES : Fixed an error in the big if/else if thing when setting the modes on SJOIN, should now give correct modes
git-svn-id: svn://svn.anope.org/anope/trunk@631 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@479 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-16 20:19:14 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 89e28df398 BUILD : 1.7.8 (630) BUGS : N/A NOTES : Use sstrdup instead of strdup
git-svn-id: svn://svn.anope.org/anope/trunk@630 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@478 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-16 09:10:04 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 6536e8c850 BUILD : 1.7.8 (629) BUGS : 313 NOTES : Updated mydbgen and Changes.mysql to remove anope_os_cache
git-svn-id: svn://svn.anope.org/anope/trunk@629 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@477 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-16 01:12:10 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b ba0611d994 BUILD : 1.7.8 (628) BUGS : none NOTES : Moved ALIST from CHAN_HELP to NICK_HELP on es.l (Reported by alladus)
git-svn-id: svn://svn.anope.org/anope/trunk@628 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@476 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-16 00:56:07 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b f7aa1f69be BUILD : 1.7.8 (627) BUGS : 318 NOTES : ChanServ will now include the channel name in SET responses. By Drstein
git-svn-id: svn://svn.anope.org/anope/trunk@627 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@475 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-16 00:39:23 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b f52c92f2d8 BUILD : 1.7.8 (626) BUGS : N/A NOTES : Moved the protect defines out of the ircd protocol header files.
git-svn-id: svn://svn.anope.org/anope/trunk@626 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@474 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-15 23:18:30 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1d4db8b86d BUILD : 1.7.8 (625) BUGS : 319 NOTES : Globalized do_getkey by DrStein.
git-svn-id: svn://svn.anope.org/anope/trunk@625 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@473 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-15 15:39:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b cce547c6a9 BUILD : 1.7.8 (624) BUGS : 312 NOTES : Revision 623 was the bugfix for bug 312, noted it in Changes now
git-svn-id: svn://svn.anope.org/anope/trunk@624 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@472 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14 20:05:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 49b15a6d68 BUILD : 1.7.8 (623) BUGS : NOTES : FAQ update (thx DrS)
git-svn-id: svn://svn.anope.org/anope/trunk@623 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@471 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14 19:57:32 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b c3b9f7f542 BUILD : 1.7.8 (622) BUGS : 317 NOTES : Applied Trystans patch to remove old ifdef convertor code
git-svn-id: svn://svn.anope.org/anope/trunk@622 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@470 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14 19:23:27 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ccf124e35a BUILD : 1.7.8 (621) BUGS : 314 NOTES : Fixed normalizeBuffer not being freed twice (anope_cmd_ctcp / delete_user)
git-svn-id: svn://svn.anope.org/anope/trunk@621 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@469 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14 18:47:29 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 55c14ce52f BUILD : 1.7.8 (620) BUGS : 313 NOTES : Fixed various mistakes, as listed in bug 313 (only the mydbgen issue is not done yet)
git-svn-id: svn://svn.anope.org/anope/trunk@620 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@468 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14 18:27:28 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b dcfcd9302f BUILD : 1.7.8 (619) BUGS : NOTES : Fixed the recording of server sync state more reliable, which fixes a bug where servers which did not report bursts would always remain in burst-mode internally
git-svn-id: svn://svn.anope.org/anope/trunk@619 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@467 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14 18:01:08 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8c95c8f490 BUILD : 1.7.8 (618) BUGS : NOTES : Fixed a small error in my previous commit caused by making a few if/else if easier to read
git-svn-id: svn://svn.anope.org/anope/trunk@618 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@466 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-14 13:00:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7bdbe05535 BUILD : 1.7.8 (617) BUGS : NOTES : Fixed: [1] Will not set already set channel modes anymore [2] Do not display entrymsg/greet while syncing [3] Sync state for uplink not always set correctly
git-svn-id: svn://svn.anope.org/anope/trunk@617 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@465 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-13 15:05:26 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 5d30eeca09 BUILD : 1.7.8 (616) BUGS : NOTES : Added EVENT_DB_BACKUP and changed EVENT_BOT_ASSIGN to pass channel name instead of bot nick as argument
git-svn-id: svn://svn.anope.org/anope/trunk@616 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@464 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-11 17:09:30 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 9ef454c643 BUILD : 1.7.8 (615) BUGS : N/A NOTES : PTlink has +a
git-svn-id: svn://svn.anope.org/anope/trunk@615 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@463 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-10 05:14:47 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 583d8fde64 BUILD : 1.7.8 (614) BUGS : NOTES : Updated es.l - thx DrStein
git-svn-id: svn://svn.anope.org/anope/trunk@614 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@462 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-09 20:02:10 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7a654fbf85 BUILD : 1.7.8 (613) BUGS : NOTES : Documentation: 1) Added PROXY for information on the current state of the proxy detector 2) Updated the event list of EVENTS to be more clear
git-svn-id: svn://svn.anope.org/anope/trunk@613 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@461 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-09 19:31:44 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 3077e8f2b0 BUILD : 1.7.8 (612) BUGS : none NOTES : Updated pt.l by Ricardo.
git-svn-id: svn://svn.anope.org/anope/trunk@612 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@460 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-08 20:02:06 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 0ec837922c BUILD : 1.7.8 (611) BUGS : none NOTES : alogs display the real host instead of vhost.
git-svn-id: svn://svn.anope.org/anope/trunk@611 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@459 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-08 15:07:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 44c05660f4 BUILD : 1.7.8 (610) BUGS : NOTES : Update tools README for one documentation style
git-svn-id: svn://svn.anope.org/anope/trunk@610 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@458 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-08 13:33:24 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 4477ae4092 BUILD : 1.7.8 (609) BUGS : NOTES : Updated the README for tools.
git-svn-id: svn://svn.anope.org/anope/trunk@609 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@457 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-08 09:48:04 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 3e27304655 BUILD : 1.7.8 (608) BUGS : NOTES : Added db-merger and epona db converter. docs will follow.
git-svn-id: svn://svn.anope.org/anope/trunk@608 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@456 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-08 09:16:11 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 2278e8c77b BUILD : 1.7.8 (607) BUGS : N/A NOTES : Clean up after proxy was removed, some Win32 touch ups
git-svn-id: svn://svn.anope.org/anope/trunk@607 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@455 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-08 05:45:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2f44331e17 BUILD : 1.7.8 (606) BUGS : NOTES : Removed proxy detector code from the core, threads stuff still there. Needs good testing
git-svn-id: svn://svn.anope.org/anope/trunk@606 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@454 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-07 20:03:07 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 5ae91e374c BUILD : 1.7.8 (605) BUGS : N/A NOTES : Win32 encryption fixed
git-svn-id: svn://svn.anope.org/anope/trunk@605 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@453 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-07 19:19:40 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 91ff890d23 BUILD : 1.7.8 (604) BUGS : N/A NOTES : tolower/toupper compiler errors on Win32.
git-svn-id: svn://svn.anope.org/anope/trunk@604 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@452 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-07 05:53:29 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 45a9f587db BUILD : 1.7.8 (603) BUGS : N/A NOTES : Fixed EVENT_DEFCON_LEVEL
git-svn-id: svn://svn.anope.org/anope/trunk@603 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@451 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-07 03:07:00 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 84a39def3d BUILD : 1.7.8 (602) BUGS : 308, 311 NOTES : Fixed a couple of bugs, some smelling errors, and only in debug will nonexistent warnings display
git-svn-id: svn://svn.anope.org/anope/trunk@602 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@450 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-07 01:56:32 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b cd81294abf BUILD : 1.7.8 (601) BUGS : N/A NOTES : Only module subfolders which contain Makefiles will be compiled on nix
git-svn-id: svn://svn.anope.org/anope/trunk@601 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@449 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-06 14:14:55 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e0b79e1552 BUILD : 1.7.8 (600) BUGS : N/A NOTES : Added UPDATE to the ns help menu
git-svn-id: svn://svn.anope.org/anope/trunk@600 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@448 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-05 20:24:47 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 517946bdaa BUILD : 1.7.8 (599) BUGS : N/A NOTES : Cleaned up debug message for Win32 users
git-svn-id: svn://svn.anope.org/anope/trunk@599 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@447 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-05 17:34:42 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b d99358cc4a BUILD : 1.7.8 (598) BUGS : 310 NOTES : Updated Unreal 3.2 token support.
git-svn-id: svn://svn.anope.org/anope/trunk@598 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@446 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-05 16:51:13 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 512125c522 BUILD : 1.7.8 (596) BUGS : N/A NOTES : Added clean_modules and distclean_modules as valid make targets
git-svn-id: svn://svn.anope.org/anope/trunk@596 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@445 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-04 17:26:49 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b a22d9ec3b0 BUILD : 1.7.8 (595) BUGS : N/A NOTES : ShadowIRCD, and cleaned up Numeric
git-svn-id: svn://svn.anope.org/anope/trunk@595 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@444 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-04 03:44:07 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 1a1781fd0c BUILD : 1.7.8 (594) BUGS : N/A NOTES : Changes strdup to sstrdup - doh!
git-svn-id: svn://svn.anope.org/anope/trunk@594 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@443 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-03 09:15:06 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 30f8519717 BUILD : 1.7.8 (593) BUGS : 307 NOTES : Fixed admin/owner mode handling
git-svn-id: svn://svn.anope.org/anope/trunk@593 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@442 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-03 09:06:14 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b bfa12b9fe4 BUILD : 1.7.8 (591) BUGS : 306 NOTES : Fixed LogUser message, normalizes the "realname" on nick change.
git-svn-id: svn://svn.anope.org/anope/trunk@592 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@441 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-03 05:46:40 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a8ed2b9244 BUILD : 1.7.8 (590) BUGS : 288 / N/A NOTES : Fixed 288, moved updated all set/unset admin/owner calls to use the ircd protocol files. This needs a fair good test, but it seems all ok, and i cant see anything wrong with it :)
git-svn-id: svn://svn.anope.org/anope/trunk@590 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@440 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-02 20:45:12 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 4e33836bd5 BUILD : 1.7.8 (589) BUGS : 303 NOTES : normalizeBuffer() now strips two digit color codes
git-svn-id: svn://svn.anope.org/anope/trunk@589 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@439 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-01 00:35:15 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 03573ab139 BUILD : 1.7.8 (588) BUGS : 304 NOTES : 1. nickIsServices() no longer alters the buffer 2. Fixes +I on Unreal and Bahamut 3. Anope Feature Request 285 4. Updates documentation 5. Ratbox compiles clean with make strict 6. Trap and storing of NICKCHARS
git-svn-id: svn://svn.anope.org/anope/trunk@588 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@438 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-28 20:18:28 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 607478cb0d BUILD : 1.7.8 (587) BUGS : N/A NOTES : Fixed a typo in the win32 makefile.inc
git-svn-id: svn://svn.anope.org/anope/trunk@587 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@437 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-27 21:33:01 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 530199c7bf BUILD : 1.7.8 (586) BUGS : N/A NOTES : Added multifile module support for win32 - thanks heinz :)
git-svn-id: svn://svn.anope.org/anope/trunk@586 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@436 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-27 18:02:12 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 03079a5ceb BUILD : 1.7.8 (585) BUGS : N/A NOTES : removed veriable that isnt used anymore :)
git-svn-id: svn://svn.anope.org/anope/trunk@585 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@435 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-27 16:37:29 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 954371d881 BUILD : 1.7.8 (584) BUGS : N/A NOTES : Removed ircd_catserv.c and added ./src/modules/catserv/ subfolder
git-svn-id: svn://svn.anope.org/anope/trunk@584 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@434 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-27 16:33:13 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ab7325c56f BUILD : 1.7.8 (583) BUGS : N/A NOTES : Added multifile module support for nix, win32 will follow
git-svn-id: svn://svn.anope.org/anope/trunk@583 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@433 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-27 16:12:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b d6711043b4 BUILD : 1.7.8 (582) BUGS : NOTES : Another update in the docs/ dir. All thats
git-svn-id: svn://svn.anope.org/anope/trunk@582 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@432 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-23 19:15:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 521a3e1d2b BUILD : 1.7.8 (581) BUGS : NOTES : Another docs/ style update - has been noted in Changes at r578
git-svn-id: svn://svn.anope.org/anope/trunk@581 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@431 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-22 16:04:24 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 593bfaea76 BUILD : 1.7.8 (580) BUGS : 301 302 NOTES : Fixed (1) uninitialized var in nickserv do_drop (2) remote whois returning incorrect numeric (3) some operserv commands using notice() instead of notice_user()
git-svn-id: svn://svn.anope.org/anope/trunk@580 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@430 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-22 15:05:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e9f57f1f42 BUILD : 1.7.8 (579) BUGS : NOTES : Updated a small leftover from my previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@579 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@429 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-21 20:29:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 984677b5a4 BUILD : 1.7.8 (578) BUGS : NOTES : Updates of documentation (BUGS, IRCD, EVENTS, MYSQL, INSTALL, MODULES, DEFCON) for one style and some smaller fixes and updates.
git-svn-id: svn://svn.anope.org/anope/trunk@578 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@428 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-21 17:12:47 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 1ee7364fb3 BUILD : 1.7.8 (577) BUGS : NOTES : Applied a patch in behalf of heinz.
git-svn-id: svn://svn.anope.org/anope/trunk@577 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@427 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-19 22:33:01 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 4ad737abc2 BUILD : 1.7.8 (576) BUGS : N/A NOTES : Build flag to show its Win32
git-svn-id: svn://svn.anope.org/anope/trunk@576 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@426 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-16 19:45:41 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 1da30bfdea BUILD : 1.7.8 (575) BUGS : N/A NOTES : Some event clean ups found by heinz today
git-svn-id: svn://svn.anope.org/anope/trunk@575 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@425 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-15 02:15:57 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 59f3a38ffd BUILD : 1.7.8 (574) BUGS : N/A NOTES : Internal Events, Win32 can build with encryption, nickIsServices() works if format is nick@services
git-svn-id: svn://svn.anope.org/anope/trunk@574 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@424 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-14 06:01:38 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f194129217 BUILD : 1.7.8 (573) BUGS : 296 NOTES : mod_current_buffer was not set in all possible cases
git-svn-id: svn://svn.anope.org/anope/trunk@573 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@423 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-11 05:37:05 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d7ad5a8d62 BUILD : 1.7.8 (572) BUGS : NOTES : fixed grammar.
git-svn-id: svn://svn.anope.org/anope/trunk@572 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@422 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-07 12:09:55 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d91f67d8eb BUILD : 1.7.8 (571) BUGS : NOTES : Updated userkey infos in example.conf.
git-svn-id: svn://svn.anope.org/anope/trunk@571 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@421 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-07 11:57:03 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b e578c64f8f BUILD : 1.7.8 (570) BUGS : 294 NOTES : Win32 Module Load Errors
git-svn-id: svn://svn.anope.org/anope/trunk@570 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@420 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-06 22:09:25 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b d07eaff34a BUILD : 1.7.8 (569) BUGS : N/A NOTES : Cleaned up the win32 makefiles, fixed hs_moo
git-svn-id: svn://svn.anope.org/anope/trunk@569 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@419 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-06 20:31:43 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b fd5951062d BUILD : 1.7.8 (568) BUGS : N/A NOTES : Set default value for botmodes
git-svn-id: svn://svn.anope.org/anope/trunk@568 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@418 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-06 19:39:31 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 9b3a357193 BUILD : 1.7.8 (565) BUGS : 293 NOTES : Merge of Win32 branch into the main, support for Unreal +I, German language updated, fixed bug vidents not updating, Setting and Removal of sqlines on forbid or drop
git-svn-id: svn://svn.anope.org/anope/trunk@567 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@417 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-06 19:18:15 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f8ac398b86 BUILD : 1.7.8 (564) BUGS : 285 NOTES : Compiling modules under MacOSX, and fixes up some ChanServ stuff
git-svn-id: svn://svn.anope.org/anope/trunk@564 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@416 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-30 21:19:28 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b f51d7384c3 BUILD : 1.7.8 (563) BUGS : none NOTES : SVN Framework.
git-svn-id: svn://svn.anope.org/anope/trunk@563 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@415 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-30 02:07:35 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 84c5b799cc BUILD : 1.7.8 (561) BUGS : none NOTES : Anope 1.7.8 Release.
git-svn-id: svn://svn.anope.org/anope/trunk@561 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@414 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-30 01:57:38 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 6fe351588f BUILD : 1.7.7 (560) BUGS : 290, 291 NOTES : Fixes HS HELP LIST, and improves on Robs fix for RSEND
git-svn-id: svn://svn.anope.org/anope/trunk@560 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@413 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-29 03:02:15 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b c8a8473bf6 BUILD : 1.7.7 (559) BUGS : 291 NOTES : Fixed memoserv issue :)
git-svn-id: svn://svn.anope.org/anope/trunk@559 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@412 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-29 01:07:44 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 08008cf252 BUILD : 1.7.7 (558) BUGS : N/A NOTES : Should really fix gcc2 stuff
git-svn-id: svn://svn.anope.org/anope/trunk@558 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@411 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-28 02:59:44 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 7193a60506 BUILD : 1.7.7 (557) BUGS : N/A NOTES : Should fix gcc2 compiler warnings with ratbox
git-svn-id: svn://svn.anope.org/anope/trunk@557 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@410 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-28 02:17:45 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f91057c662 BUILD : 1.7.7 (556) BUGS : N/A NOTES : synced headers so our copyright is 2005, Solid IRCD compiles again, fixed sstrdup() error, updated the documentation a bit, cleaned up ratbox a bit.
git-svn-id: svn://svn.anope.org/anope/trunk@556 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@409 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-27 06:10:08 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 01f32cf288 BUILD : 1.7.7 (555) BUGS : N/A NOTES : TS6 support, Ratbox support, lots of little bug fixes, updated documentation
git-svn-id: svn://svn.anope.org/anope/trunk@555 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@408 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-23 07:32:56 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b ba7b29bba7 BUILD : 1.7.7 (554) BUGS : none NOTES : Updated pt.l by Ricardo.
git-svn-id: svn://svn.anope.org/anope/trunk@554 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@407 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-20 22:32:09 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 0d094946b6 BUILD : 1.7.7 (553) BUGS : none NOTES : Forgot Changes file :)
git-svn-id: svn://svn.anope.org/anope/trunk@553 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@406 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-20 22:29:56 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 3781575b24 BUILD : 1.7.7 (552) BUGS : none NOTES : Fixed misplaced MEMO_NO_RSEND_SELF in es.l
git-svn-id: svn://svn.anope.org/anope/trunk@552 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@405 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-20 22:16:51 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 66e649fea6 BUILD : 1.7.7 (551) BUGS : 25 NOTES : OperServ HELP cleaned up to show only commands that work on the given ircd
git-svn-id: svn://svn.anope.org/anope/trunk@551 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@404 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-20 06:26:19 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 278a99ca2d BUILD : 1.7.7 (550) BUGS : N/A NOTES : Anope SMTP client
git-svn-id: svn://svn.anope.org/anope/trunk@550 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@403 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-20 05:37:46 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 1ef4a60c46 BUILD : 1.7.7 (549) BUGS : N/A NOTES : Fixes a segfault with the last commit
git-svn-id: svn://svn.anope.org/anope/trunk@549 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@402 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-17 04:31:45 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 4797b990aa BUILD : 1.7.7 (548) BUGS : N/A NOTES : Support for PTlinks VHOST (NEWMASK) command.
git-svn-id: svn://svn.anope.org/anope/trunk@548 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@401 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-17 03:19:41 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 50fb0cd6e7 BUILD : 1.7.7 (547) BUGS : 272 275 NOTES : Fixes up help for their access levels, and ircops except from ignore in all places
git-svn-id: svn://svn.anope.org/anope/trunk@547 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@400 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-17 01:37:10 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 1aa79bb712 BUILD : 1.7.7 (546) BUGS : 271 NOTES : Help for /OS HELP SET IGNORE.
git-svn-id: svn://svn.anope.org/anope/trunk@546 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@399 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-17 00:46:29 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 5059cb173d BUILD : 1.7.7 (545) BUGS : 278 NOTES : On vhost unset show the correct vhost character
git-svn-id: svn://svn.anope.org/anope/trunk@545 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@398 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-16 23:23:09 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b fb1a1829b8 BUILD : 1.7.7 (544) BUGS : N/A NOTES : Forgot the changelog
git-svn-id: svn://svn.anope.org/anope/trunk@544 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@397 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-16 22:07:30 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 26e99c667a BUILD : 1.7.7 (543) BUGS : 276 NOTES : Disables UseRDB when MysqlSecure is enable, since we use one way encryption on the sql databases
git-svn-id: svn://svn.anope.org/anope/trunk@543 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@396 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-16 22:05:24 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 26bd7c0418 BUILD : 1.7.7 (542) BUGS : 263 NOTES : BotServ bots would flood if they were attempting to reset modes on themselves ie.. (-oooooo), this fix makes them check if they set the mode last on themselves, if so it ignores and continues. This should also fix if you did -v to a bot as it would says non-existant user
git-svn-id: svn://svn.anope.org/anope/trunk@542 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@395 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-16 20:11:15 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 4bf0358e8f BUILD : 1.7.7 (541) BUGS : 274, 281 NOTES : IRCops are not killed on sqline/sgline when set KillOnSQline or KillOnSGline are enabled, made it so uline servers are except from NOJOIN settings
git-svn-id: svn://svn.anope.org/anope/trunk@541 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@394 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-16 18:35:51 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b bafd62e477 BUILD : 1.7.7 (540) BUGS : 277 NOTES : BotServ Badwords (START) would return a false positivie when BSCaseSensitive is enabled
git-svn-id: svn://svn.anope.org/anope/trunk@540 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@393 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-16 18:13:29 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a3d993d02c BUILD : 1.7.7 (539) BUGS : 279 NOTES : Fixed typo in example.conf...
git-svn-id: svn://svn.anope.org/anope/trunk@539 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@392 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-15 15:13:53 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 779fccb17f BUILD : 1.7.7 (538) BUGS : none NOTES : Framework for svn development.
git-svn-id: svn://svn.anope.org/anope/trunk@538 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@391 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-14 16:03:58 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b dbcb6f050e BUILD : 1.7.7 (536) BUGS : none NOTES : Added mysql schema change to mydbgen and created Changes.mysql
git-svn-id: svn://svn.anope.org/anope/trunk@536 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@390 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-13 20:59:47 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 30c7604d7f BUILD : 1.7.7 (535) BUGS : N/A NOTES : Added +h halfop support for plexus - plexus is now fully supported according to ThaPrince (plexus coder) :)
git-svn-id: svn://svn.anope.org/anope/trunk@535 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@389 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-13 11:00:30 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 81351ff93b BUILD : 1.7.7 (534) BUGS : N/A NOTES : Added support for plexus user timestamping
git-svn-id: svn://svn.anope.org/anope/trunk@534 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@388 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-13 10:11:35 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b64b5373dd BUILD : 1.7.7 (533) BUGS : N/A NOTES : Added make profile to allow for gprof profiling
git-svn-id: svn://svn.anope.org/anope/trunk@533 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@387 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-12 18:54:31 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b d2da37da06 BUILD : 1.7.7 (532) NOTES : Updated es.l by DrStein
git-svn-id: svn://svn.anope.org/anope/trunk@532 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@386 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-10 00:20:58 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 24f6bac83c BUILD : 1.7.7 (531) NOTES : Language file normalization.
git-svn-id: svn://svn.anope.org/anope/trunk@531 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@385 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-09 23:10:29 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 73df6da75c BUILD : 1.7.7 (530) BUGS : N/A NOTES : Fixed /ns status to be consistant with what help reports it will do.
git-svn-id: svn://svn.anope.org/anope/trunk@530 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@384 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-08 14:41:19 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 7db7984a21 BUILD : 1.7.7 (529) BUGS : NOTES : Fixed example.conf syntax error, token was space and not comma space.
git-svn-id: svn://svn.anope.org/anope/trunk@529 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@383 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-07 23:48:17 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 52ad82ad70 BUILD : 1.7.7 (528) BUGS : N/A NOTES : Rolled back hs_moo - which i didnt mean to commit in the first place :)
git-svn-id: svn://svn.anope.org/anope/trunk@528 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@382 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-06 15:13:51 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b96ce5e1fd BUILD : 1.7.7 (527) BUGS : 269 NOTES : You can no longer request a reciept when sending a memo to yourself.
git-svn-id: svn://svn.anope.org/anope/trunk@527 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@381 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-06 15:12:02 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b f991272e4f BUILD : 1.7.7 (526) NOTES : Anope 1.7.7 Release.
git-svn-id: svn://svn.anope.org/anope/trunk@526 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@380 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-06 14:37:21 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 637bcee227 BUILD : 1.7.6 (525) BUGS : NOTES : Updated nl.l a bit
git-svn-id: svn://svn.anope.org/anope/trunk@525 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@379 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-05 20:22:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8dfbdaeae6 BUILD : 1.7.6 (524) BUGS : NOTES : bot_raw_ban was not adjusted for TSMODE capable IRCDs yet
git-svn-id: svn://svn.anope.org/anope/trunk@524 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@378 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-05 20:12:47 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b db826b63e1 BUILD : 1.7.6 (523) BUGS : 267 NOTES : Internal last topic was not emptied on channel creation when KEEPTOPIC was off
git-svn-id: svn://svn.anope.org/anope/trunk@523 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@377 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-05 19:51:20 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 8188843d09 BUILD : 1.7.6 (522) BUGS : 254 NOTES : Memo INFO should finallly be fixed
git-svn-id: svn://svn.anope.org/anope/trunk@522 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@376 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-05 14:47:44 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 6f72ea0278 BUILD : 1.7.6 (521) BUGS : 254, 266 NOTES : Fixed up some alog() messages, and MemoServ INFO showing -1 for no hard limit
git-svn-id: svn://svn.anope.org/anope/trunk@521 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@375 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-05 05:24:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b bb9c7b1c7b BUILD : 1.7.6 (520) BUGS : 265 NOTES : Fixed a few issues with chanserv, botserv, symbiosis, and topics
git-svn-id: svn://svn.anope.org/anope/trunk@520 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@374 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-04 16:21:15 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 8114b5be04 BUILD : 1.7.6 (519) BUGS : N/A NOTES : Ultimate3 bug fixes, they have NICKIP, and some channel modes were defined the same causing problems
git-svn-id: svn://svn.anope.org/anope/trunk@519 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@373 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-01 20:15:33 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 59122c8ca2 BUILD : 1.7.6 (518) BUGS : 262 NOTES : CS ACCESS was also affected by the overflow
git-svn-id: svn://svn.anope.org/anope/trunk@518 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@372 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-31 06:30:04 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 17d9d5a990 BUILD : 1.7.6 (517) BUGS : 262 NOTES : Fixed integer overflow error with CS LEVELS.
git-svn-id: svn://svn.anope.org/anope/trunk@517 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@371 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-31 06:09:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2a8bc51cb1 BUILD : 1.7.6 (516) BUGS : 261 NOTES : This should be it finally! The moduleAddData function was using the old head to append/prepend the new moduleData to, but it had to use the new head. Thanks to DrStein for finding the cause! :)
git-svn-id: svn://svn.anope.org/anope/trunk@516 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@370 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 17:38:35 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 35096dbb8c BUILD : 1.7.6 (515) BUGS : 261 NOTES : Fixed a few memleaks with moduleData functions returning early, and fixed the list handling with deleting moduleData (thanks DrStein)
git-svn-id: svn://svn.anope.org/anope/trunk@515 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@369 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 17:12:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ae23e2f86a BUILD : 1.7.6 (514) BUGS : 261 NOTES : Modules can no longer call addCommand directly. The mod_name of the command MUST be set if it is a module.
git-svn-id: svn://svn.anope.org/anope/trunk@514 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@368 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 16:51:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ae0f3c487d BUILD : 1.7.6 (513) BUGS : NOTES : Added warnings for NULL-args with sstrdup, and NULL modname with module*Data functions. Fixed Catserv to use moduleAddCommand instead of addCommand.
git-svn-id: svn://svn.anope.org/anope/trunk@513 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@367 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 15:00:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2be6713785 BUILD : 1.7.6 (512) BUGS : NOTES : Indenting src/modules.c correctly.... it got skipped somehow...
git-svn-id: svn://svn.anope.org/anope/trunk@512 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@366 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 14:27:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1fe375c972 BUILD : 1.7.6 (511) BUGS : NOTES : Rollback to 507
git-svn-id: svn://svn.anope.org/anope/trunk@511 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@365 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 14:25:56 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 428c78c62a BUILD : 1.7.6 (510) BUGS : N/A NOTES : Clean up after the last commit
git-svn-id: svn://svn.anope.org/anope/trunk@510 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@364 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 05:55:10 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 4266675358 BUILD : 1.7.6 (509) BUGS : 261 NOTES : Doc found more to the bug 261, should to be the last
git-svn-id: svn://svn.anope.org/anope/trunk@509 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@363 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 05:39:28 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 67aed6fdc2 BUILD : 1.7.6 (508) BUGS : 261 NOTES : docs fix to bug 261, seems to fix it for me, Certus care to test?
git-svn-id: svn://svn.anope.org/anope/trunk@508 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@362 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30 05:25:48 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b ad8db21c15 BUILD : 1.7.6 (507) BUGS : N/A NOTES : Fixed not freeing memory when a channel got deleted.
git-svn-id: svn://svn.anope.org/anope/trunk@507 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@361 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-28 00:51:54 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 003f690519 BUILD : 1.7.6 (506) BUGS : 260 NOTES : Fixed segfaults in the user-list walking with KillonSGline/KillonSQline
git-svn-id: svn://svn.anope.org/anope/trunk@506 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@360 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-27 19:29:09 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b d0b1978f62 BUILD : 1.7.6 (505) BUGS : N/A NOTES : Some documentation updated, fixed compiler errors with ptlink, and fixed a segfault with some options when set with just quotes
git-svn-id: svn://svn.anope.org/anope/trunk@505 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@359 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-27 03:22:46 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 0607b8c2b2 BUILD : 1.7.6 (504) BUGS : 245 NOTES : Enforce SGLINE/SQLINE where the ircd does not do it on its own, and updated ptlink support to be more complaint
git-svn-id: svn://svn.anope.org/anope/trunk@504 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@358 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-26 07:20:45 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 90974e3636 BUILD : 1.7.6 (503) BUGS : N/A NOTES : Fixes alot of user and channel modes on various ircd, also applied two patches provided by DrStein
git-svn-id: svn://svn.anope.org/anope/trunk@503 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@357 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-26 06:11:14 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 92d13d1e06 BUILD : 1.7.6 (502) BUGS : N/A NOTES : SolidIRCD can mlock +R again
git-svn-id: svn://svn.anope.org/anope/trunk@502 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@356 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-25 23:47:21 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 66682c0a7f BUILD : 1.7.6 (501) BUGS : N/A NOTES : Added Flag to tell if we need to enforce SGlines or not so GD can fix 245
git-svn-id: svn://svn.anope.org/anope/trunk@501 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@355 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-25 18:51:56 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 53d288cf9d BUILD : 1.7.6 (500) BUGS : 259 NOTES : Added support for hybrid TBURST -- merry xmas :)
git-svn-id: svn://svn.anope.org/anope/trunk@500 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@354 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-25 13:26:09 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 250a9f71cf BUILD : 1.7.6 (499) BUGS : NOTES : Fixed several compiler warnings with make strict, removed 2 deprecated config vars.
git-svn-id: svn://svn.anope.org/anope/trunk@499 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@353 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-25 13:16:18 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 44e6352387 BUILD : 1.7.6 (498) BUGS : N/A NOTES : Updated plexus.c/.h as per patch from ThaPrince
git-svn-id: svn://svn.anope.org/anope/trunk@498 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@352 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-22 11:42:41 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f02336dc6b BUILD : 1.7.6 (497) BUGS : 256, 258 NOTES : support for QS, and fixed a /away bug
git-svn-id: svn://svn.anope.org/anope/trunk@497 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@351 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-22 04:41:39 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 4fa5060dcc BUILD : 1.7.6 (496) BUGS : N/A NOTES : Dreamforge now compiles properly again :)
git-svn-id: svn://svn.anope.org/anope/trunk@496 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@350 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-21 11:08:56 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b fbdf252876 BUILD : 1.7.6 (495) BUGS : N/A NOTES : Moved global regarding the deletion of non-existing session toinside the if(debug) as anope will call that function when users ping out etc
git-svn-id: svn://svn.anope.org/anope/trunk@495 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@349 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-21 10:14:38 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3668ba1543 BUILD : 1.7.6 (494) BUGS : N/A NOTES : Added support for plexus IRCD - provided by ThaPrince
git-svn-id: svn://svn.anope.org/anope/trunk@494 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@348 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-20 22:03:27 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d90468a033 BUILD : 1.7.6 (493) BUGS : N/A NOTES : Applied patch from mitch regarding unclear password emails.
git-svn-id: svn://svn.anope.org/anope/trunk@493 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@347 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-20 19:13:27 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 90228e81bc BUILD : 1.7.6 (492) BUGS : N/A NOTES : Some gcc2 errors fixed
git-svn-id: svn://svn.anope.org/anope/trunk@492 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@346 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-20 04:18:44 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 086424f523 BUILD : 1.7.6 (491) BUGS : N/A NOTES : Forgot to update the change log
git-svn-id: svn://svn.anope.org/anope/trunk@491 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@345 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-19 18:28:29 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 422bc90c45 BUILD : 1.7.6 (490) BUGS : 253 NOTES : Fixed loguser where the nickip is 0
git-svn-id: svn://svn.anope.org/anope/trunk@490 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@344 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-19 18:25:20 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b ada71328a9 BUILD : 1.7.6 (489) BUGS : 244, 246, 247, 248, 249, 250, 251, 252, 254, 255 NOTES : 1. In some cases READONLY was not respected, and data was saved. 2. Corrected a few mistakes in example.conf. 3. Wrong column type in tables.sql for nick alias status fiag. 4. listchans and listnicks work under Cygwin. 5. NickRegDelay no longer accepts negative values. 6. -is44 option not show if converter not built. 7. Removed #ifndef STREAMLINE from the code as its no longer set during build time 8. MS MAX LIMIT was set incorrectly 9. Segfault if USERDB enabled and tables does not exist 10. Provides clear message of SUPERADMIN is not enabled
git-svn-id: svn://svn.anope.org/anope/trunk@489 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@343 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-19 17:42:17 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b fb2191240c BUILD : 1.7.6 (488) BUGS : N/A NOTES : del_session() warning messages when LimitSessions is disabled.
git-svn-id: svn://svn.anope.org/anope/trunk@488 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@342 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-11 22:50:51 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 45ae3f1a55 BUILD : 1.7.6 (487) BUGS : NOTES : Fixed possible NULL-free() in delcore()
git-svn-id: svn://svn.anope.org/anope/trunk@487 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@341 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-11 13:03:09 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 67d3b46dfd BUILD : 1.7.6 (486) BUGS : 243 NOTES : docs patch to bug 243, and removed shut_clean_user() it started to do more harm then good
git-svn-id: svn://svn.anope.org/anope/trunk@486 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@340 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-10 05:21:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 66bb7e7b0b BUILD : 1.7.6 (485) BUGS : NOTES : Fixed a segfault when unsetting registration modes on hybrid
git-svn-id: svn://svn.anope.org/anope/trunk@485 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@339 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-09 20:33:17 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 29a7052bc0 BUILD : 1.7.6 (484) BUGS : 167 NOTES : Made BotServ !seen recognize the channel founder
git-svn-id: svn://svn.anope.org/anope/trunk@484 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@338 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-09 20:03:55 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 00fc166d09 BUILD : 1.7.6 (483) BUGS : 240 NOTES : 1. ChanServ ACCESS wrong when dealing negative numbers, 2. make strict under FreeBSD works again
git-svn-id: svn://svn.anope.org/anope/trunk@483 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@337 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-09 03:44:50 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 3ac7283055 BUILD : 1.7.6 (482) BUGS : N/A NOTES : Minor updates to the Unreal32 protocol for NICK and NETINFO
git-svn-id: svn://svn.anope.org/anope/trunk@482 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@336 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-07 05:19:02 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b f39ad6ac1c BUILD : 1.7.6 (481) BUGS : NOTES : Fixed misplaced pointer in moduleaddData().
git-svn-id: svn://svn.anope.org/anope/trunk@481 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@335 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06 21:11:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 15000f6284 BUILD : 1.7.6 (480) BUGS : NOTES : Updated some formatting in the Changes file
git-svn-id: svn://svn.anope.org/anope/trunk@480 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@334 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06 20:10:44 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b a16cbf9a35 BUILD : 1.7.6 (479) BUGS : 239 NOTES : Fixes infinite loop with moduleGetData()
git-svn-id: svn://svn.anope.org/anope/trunk@479 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@333 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06 19:52:28 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 8433084035 BUILD : 1.7.6 (478) BUGS : N/A NOTES : 1. CS CLEAR strips +q/+a 2. CS CLEAR uses SVSMODE with Unreal to strip +q/a/o/h/v 3. SVSMODE unban works again on Viagra 4. Adds anope_cmd_svsmode_chan() to for SVSMODE on channels 5. OS CLEARMODES uses SVSMODE with Unreal to strip +q/a/o/h/v 6. memory.c, servers.c, slist.c, sockutil.c, misc. is doxygen ready 7. Unreal32 pseduo clients use SJOIN now to join the channels 8. clean out the process() buffers before we start to use them, maybe less garbage in them when we do bts 9. Few memory cleans up in hostserv do_setall() 10. Tons of clean up, only a handful left when you make strict
git-svn-id: svn://svn.anope.org/anope/trunk@478 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@332 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06 05:55:46 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 0df82a3dcf BUILD : 1.7.6 (477) BUGS : N/A NOTES : list.c and mail.c are doxygen ready now
git-svn-id: svn://svn.anope.org/anope/trunk@477 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@331 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-05 07:37:15 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b a7a948262a BUILD : 1.7.6 (476) BUGS : N/A NOTES : Fixed Ultimate3 not setting +a on channel admins
git-svn-id: svn://svn.anope.org/anope/trunk@476 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@330 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-05 07:06:25 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b e31a0356a4 BUILD : 1.7.6 (475) BUGS : 126 NOTES : Some valgrind clean up, should fix 126
git-svn-id: svn://svn.anope.org/anope/trunk@475 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@329 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-05 02:27:29 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 671d6c57da BUILD : 1.7.6 (474) BUGS : N/A NOTES : Unreal 391 TIME replies
git-svn-id: svn://svn.anope.org/anope/trunk@474 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@328 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-04 05:17:24 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 94429dba92 BUILD : 1.7.6 (473) BUGS : N/A NOTES : In some cases if you set TOPICLOCK on the channel before it ever got a TOPIC, then attempted to set a TOPIC, services would try to set a maliformed TOPIC message to the ircd.
git-svn-id: svn://svn.anope.org/anope/trunk@473 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@327 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-04 04:54:14 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 8a5b74dfcc BUILD : 1.7.6 (472) BUGS : N/A NOTES : 1. Bahamut +I support 2. Changes file updated (merged my items under the dev banner)
git-svn-id: svn://svn.anope.org/anope/trunk@472 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@326 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-04 01:57:15 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 51500715c0 BUILD : 1.7.6 (471) BUGS : N/A NOTES : Redid Services Mode stuff to be config option called UlineServers this allows you to state what servers can set channel modes and we are to respecet the mode. Gotta clean this up some more in a bit
git-svn-id: svn://svn.anope.org/anope/trunk@471 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@325 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-03 07:48:01 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f3315d9518 BUILD : 1.7.6 (470) BUGS : N/A NOTES : add mode.. not remove mode.. from the previous commit
git-svn-id: svn://svn.anope.org/anope/trunk@470 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@324 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-03 06:13:28 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 1aaeba38f4 BUILD : 1.7.6 (469) BUGS : N/A NOTES : 1. ultimate3 setting the wrong channel mode on botserv bots 2. helpserv.c is doxygen ready, did some code clean up 3. Services Clients (+S) now override channel modes (yeah no more deopping NeoStats), this only works on ircds where there is a clear services mode (Unreal, Viagra, Ultimeate2/3) 4. send.c is doxygen ready, did some code clean up 5. commands.c id doxygen ready, did some code clean up
git-svn-id: svn://svn.anope.org/anope/trunk@469 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@323 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-03 06:07:44 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f18d506cad BUILD : 1.7.6 (468) BUGS : N/A NOTES : 1. fixes del_session() warning when LimitSessions is disabled 2. actions.c is doxygen ready, along with code clean up 3. sessions.c cleaned up and moved some items around 4. ChanServ AKICK (pointed to freed memory) 5. servers.c is doxygen ready, along with some code clean up
git-svn-id: svn://svn.anope.org/anope/trunk@468 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@322 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-02 06:06:47 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 541f11e4b8 BUILD : 1.7.6 (467) BUGS : NOTES : Fixed bug with ircd->chanmodes. Thanks to Syzop.
git-svn-id: svn://svn.anope.org/anope/trunk@467 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@321 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-30 15:11:38 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b b28a698891 BUILD : 1.7.6 (466) BUGS : 237 NOTES : docs patch to bug 237
git-svn-id: svn://svn.anope.org/anope/trunk@466 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@320 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-29 05:36:04 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b bd4d81fb5f BUILD : 1.7.6 (465) BUGS : 218, 235 NOTES : 1. correct the grammer in the example.conf 2. SolidIRCD cmode +S 3. NSSecureAdmins now restricts /NS SET EMAIL 4. Unreals version of SVSHOLD 5. SolidIRCD halfop support 6. /os set list
git-svn-id: svn://svn.anope.org/anope/trunk@465 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@319 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-29 02:26:59 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 28bb054da1 BUILD : 1.7.6 (464) BUGS : N/A NOTES : gcc 2.x compiler errors
git-svn-id: svn://svn.anope.org/anope/trunk@464 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@318 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-28 06:21:23 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f373142341 BUILD : 1.7.6 (463) BUGS : 192, 210, 222, 234 NOTES : 1. Removed +d references from the ptlink protocol code, since they do not timestamp the nicks 2. Memos sent as notification of receipt can not be cancelled. 3. Unreal3.2 supports SVSMODE -b on clearing bans 4. fixed do_kill() not remove the user from the user list 5. /os set sql [on|off] runtime sql toggle 6. Segfaults logged to the services log when DumpCore is disabled 7. fixed RUNGROUP not passed during build time 8. Exceptions now update if the limit is changed 9. Solid-IRCD support 10. Fixed TSMODE warnings when using FANTASY commands 11. Fixed read_int32 warnings (fixes compiling and running under cygwin) - Thats all..
git-svn-id: svn://svn.anope.org/anope/trunk@463 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@317 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-28 06:10:17 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b c55942927e BUILD : 1.7.6 (462) BUGS : 226 NOTES : 1. RageIRCD sends TSMODE which is part of their beta7 2. RageIRCD protocol file now has anope_cmd_chghost() 3. RageIRCD SVINFO more in line with what we get 4. Bahamut protocol file now has anope_cmd_chghost() to prevent undefined symbol messages 5. Bahamut SZLINE and UNSZLINE dealt with per documentation, left the old commands behind for now, till we decide to move our base Bahamut version forward
git-svn-id: svn://svn.anope.org/anope/trunk@462 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@316 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-24 05:14:41 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 9233f879d1 BUILD : 1.7.6 (461) BUGS : 230 NOTES : 1. Moving Services Operators to Services Admins and vice-versa (230), 2. PTlink anope_cmd_server() had a minor issue thats now fixed
git-svn-id: svn://svn.anope.org/anope/trunk@461 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@315 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-24 03:54:03 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b a82bbfb6a1 BUILD : 1.7.6 (460) BUGS : 223 NOTES : HelpChan +h mode not being given if status was greater then op.
git-svn-id: svn://svn.anope.org/anope/trunk@460 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@314 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-22 14:57:55 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 9f2191b82c BUILD : 1.7.6 (459) BUGS : N/A NOTES : Got Unreals SVSNLINE (sgline) working
git-svn-id: svn://svn.anope.org/anope/trunk@459 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@313 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-22 06:14:11 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 089557ed87 BUILD : 1.7.6 (458) BUGS : N/A NOTES : Updated our SGLINE/SZLINE support to all ircd where avaiable, this fixes some issues as well 1. Unreal still doesnt do SGLINE well so its still disabled at this time 2. We now enforce SZLINE on ircd with NICKIP 3. Added check_szline() so we can check for szline matches 4. Ultimate3 (s)zline work as documented, which is AKILL without the user part
git-svn-id: svn://svn.anope.org/anope/trunk@458 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@312 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-22 03:45:32 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 958bf62152 BUILD : 1.7.6 (457) BUGS : NOTES : Fixed session decrease on /NS GHOST.
git-svn-id: svn://svn.anope.org/anope/trunk@457 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@311 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-21 08:48:28 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 2d7e6c5e2d BUILD : 1.7.6 (456) BUGS : N/A NOTES : Disables UseRDB if SQL fails to init
git-svn-id: svn://svn.anope.org/anope/trunk@456 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@310 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-21 01:31:23 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b cad9c9365d BUILD : 1.7.6 (455) BUGS : N/A NOTES : Clean up changelog
git-svn-id: svn://svn.anope.org/anope/trunk@455 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@309 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-20 16:58:10 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b a565117555 BUILD : 1.7.6 (454) BUGS : 225 NOTES : MS CHECK now checks if the nick is forbidden.
git-svn-id: svn://svn.anope.org/anope/trunk@454 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@308 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-20 16:56:49 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 18cfa4226c BUILD : 1.7.6 (453) BUGS : 224 NOTES : Removing Sqline on bot nicks change if the nick was registered
git-svn-id: svn://svn.anope.org/anope/trunk@453 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@307 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-20 16:28:56 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 623440ac9e BUILD : 1.7.6 (452) BUGS : N/A NOTES : 1. Fixed some config options could overflow strtol(), 2. Fixed CTCP Ping replies when UsePrivmsg is enabled
git-svn-id: svn://svn.anope.org/anope/trunk@452 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@306 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-20 05:45:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b a4c34ef876 BUILD : 1.7.6 (451) BUGS : 221 NOTES : Fixes for wrong string for bot nick registration check, and added the check to bot change
git-svn-id: svn://svn.anope.org/anope/trunk@451 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@305 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-19 17:56:11 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 1303b4971a BUILD : 1.7.6 (450) BUGS : NOTES : Updated en_us.l for new BotServ BOT ADD behaviour
git-svn-id: svn://svn.anope.org/anope/trunk@450 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@304 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-19 17:00:59 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 0bbb4afde1 BUILD : 1.7.6 (449) NOTES : Language normalization.
git-svn-id: svn://svn.anope.org/anope/trunk@449 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@303 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-18 18:24:20 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 8e846fa002 BUILD : 1.7.6 (448) BUGS : NOTES : Added NSAddAccessOnReg config directive
git-svn-id: svn://svn.anope.org/anope/trunk@448 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@302 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-18 18:18:07 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b e5e98cc9e5 BUILD : 1.7.6 (447) BUGS : NOTES : New botserv bot nicks need to be unregistered nicks from now on
git-svn-id: svn://svn.anope.org/anope/trunk@447 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@301 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-18 16:33:37 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b fd63b1d276 BUILD : 1.7.6 (446) BUGS : N/A NOTES : 1. Added a debug message to do_kill(), 2. nsCheckNickTracking() could return true in some cases where the nick was forbidden
git-svn-id: svn://svn.anope.org/anope/trunk@446 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@300 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-17 04:54:58 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 848538fc00 BUILD : 1.7.6 (445) NOTES : Setup for devel.
git-svn-id: svn://svn.anope.org/anope/trunk@445 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@299 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-16 14:50:25 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 85892193be BUILD : 1.7.6 (443) BUGS : 217 NOTES : minor typo with OS CLEARMODES
git-svn-id: svn://svn.anope.org/anope/trunk@443 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@298 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-13 10:10:46 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 019c90b4b2 BUILD : 1.7.6 (442) BUGS : N/A NOTES : padded RDB database updates with pongs to help prevent time outs
git-svn-id: svn://svn.anope.org/anope/trunk@442 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@297 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-12 21:21:24 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b ee7afa7eca BUILD : 1.7.6 (441) BUGS : 215, 216 NOTES : Fixed some last minute bugs, and fixed make strict under Redhat
git-svn-id: svn://svn.anope.org/anope/trunk@441 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@296 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-12 19:53:10 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f0c53b4727 BUILD : 1.7.6 (440) BUGS : 211 NOTES : 1. Updated PTLink support, 2. OperServ takes +q/+a on CLEARMODES, 3. fixed a segfault in do_match_wild() reported by DJ
git-svn-id: svn://svn.anope.org/anope/trunk@440 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@295 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-12 05:37:12 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b c58d37f49d BUILD : 1.7.6 (439) BUGS : 68, 170, 209 NOTES : 1. DrSteins XOP patch (bug# 170), 2. Cleaned up the English language file for grammar (bug# 209), 3. Patch that fixes segfaults under NetBSD, 4. Cleaned up some places that could lead to segfaults, 5. DrSteins patch for NS ACCESS LIST, 6. Chanserv taking modes more than once (bug #68), 7. Fixed errors when doing "make" under some BSD systems, 8. Fixed syntax error when NSForceEmail is disabled
git-svn-id: svn://svn.anope.org/anope/trunk@439 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@294 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-07 03:36:30 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b b4489cffed BUILD : 1.7.6 (438) BUGS : 160 NOTES : configure warning about sysproto.h resolved
git-svn-id: svn://svn.anope.org/anope/trunk@438 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@293 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-31 15:46:33 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 98124021a7 BUILD : 1.7.6 (437) NOTES : Anope 1.7.6 Release
git-svn-id: svn://svn.anope.org/anope/trunk@437 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@292 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 22:05:14 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 6e55319bdb BUILD : 1.7.5 (436) BUGS : 207 NOTES : Fixed up OS CLEARMODES
git-svn-id: svn://svn.anope.org/anope/trunk@436 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@291 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 15:42:11 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 327bead939 BUILD : 1.7.5 (435) BUGS : 203, 204, 205 NOTES : 1. minor fix to CS CLEAR, 2. Added to DrSteins more CS obsecure password, 3. fixed memoserv not using the correct message, 4. fixed botserv info to tell the channel is forbidden
git-svn-id: svn://svn.anope.org/anope/trunk@435 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@290 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 15:25:04 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 8b59411646 BUILD : 1.7.5 (434) BUGS : N/A NOTES : 1. fixed typo in the lang files, 2. updated de.l from Crazytoon, 3. UnRestrictSAdmin for Bahamut to allow them the usage of +a without being a Service Admin
git-svn-id: svn://svn.anope.org/anope/trunk@434 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@289 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 05:16:48 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 039ea7f083 BUILD : 1.7.5 (433) BUGS : 182 NOTES : Fixed CS not resetting the modes after CS CLEAR MODES
git-svn-id: svn://svn.anope.org/anope/trunk@433 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@288 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 04:22:42 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b da0d4d0498 BUILD : 1.7.5 (432) BUGS : 199 NOTES : 1. fixed unused var from previous commit, 2. normalized the realname when doing LogUsers (199)
git-svn-id: svn://svn.anope.org/anope/trunk@432 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@287 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 03:59:03 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 3ea6c80b9b BUILD : 1.7.5 (431) BUGS : 193 NOTES : 1. extern normalizeBuffer() helpful in some many other places not just botserv, 2. fixed BS ACT, if the string contained a control char 001, it would cause the string to act like SAY
git-svn-id: svn://svn.anope.org/anope/trunk@431 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@286 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 03:28:46 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 0038ed05f4 BUILD : 1.7.5 (430) BUGS : 187, 201, 202 NOTES : Reorder fixes, Obsecure password for chanserv registeration (DrStein), minor tweak to hybrid support (TSL)
git-svn-id: svn://svn.anope.org/anope/trunk@430 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@285 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-30 02:16:09 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b a5ef39373a BUILD : 1.7.5 (429) NOTES : Minor fix on example.conf
git-svn-id: svn://svn.anope.org/anope/trunk@429 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@284 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-29 18:43:23 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b e769d30b90 BUILD : 1.7.5 (426) BUGS : 133, 196, 200 NOTES : Add method to deal with hardcored sqline in the ircd (133), fixes timestamp errors with TOPIC (196), modes structs externed so mod coders can get to them easier (N/A), MS CHECK now checks the right value (200)
git-svn-id: svn://svn.anope.org/anope/trunk@426 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@283 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-28 05:09:33 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 5c5e36be3b BUILD : 1.7.5 (424) BUGS : N/A NOTES : Updated de.l per crazytoon
git-svn-id: svn://svn.anope.org/anope/trunk@424 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@282 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-25 03:33:19 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 8ca85197f7 BUILD : 1.7.5 (423) BUGS : N/A NOTES : code tidy up fixes stuff under Freebsd
git-svn-id: svn://svn.anope.org/anope/trunk@423 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@281 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-25 03:31:33 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 593b0d1799 BUILD : 1.7.5 (421) BUGS : 198 NOTES : 1. fixes TSMODE warnings found by SGR, 2. Fixed OPNOTICE when doing /CS OP
git-svn-id: svn://svn.anope.org/anope/trunk@421 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@280 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-25 00:22:52 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 297b11d1a8 BUILD : 1.7.5 (418) BUGS : N/A NOTES : 1. Fixed Rage IRCD compiler error, 2. Added hook for Unreal SJOIN +I support, 3. wallops() is back, 4. depricated.h added to help older modules work with the new commands
git-svn-id: svn://svn.anope.org/anope/trunk@418 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@279 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-23 06:48:22 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 91e8ac0878 BUILD : 1.7.5 (415) BUGS : N/A NOTES : Fixes Unreal NICKIP and SVSMODE, Updated Base64 lib to fix NICKIP, Updated Spanish language file
git-svn-id: svn://svn.anope.org/anope/trunk@415 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@278 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-22 05:06:02 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b bb86fdcab2 BUILD : 1.7.5 (414) BUGS : N/A NOTES : Deleted compile.sh as it wont work anymore anyway
git-svn-id: svn://svn.anope.org/anope/trunk@414 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@277 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-21 22:08:30 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 5f86503277 BUILD : 1.7.5 (412) BUGS : 169 NOTES : A minor touch up to prevent issues
git-svn-id: svn://svn.anope.org/anope/trunk@412 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@276 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-21 19:58:47 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 5b565cd77c BUILD : 1.7.5 (411) BUGS : 197 NOTES : Fixed hostserv message on removal of vhost
git-svn-id: svn://svn.anope.org/anope/trunk@411 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@275 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-17 23:49:32 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 760ada1274 BUILD : 1.7.5 (410) BUGS : NOTES : Added shot note in example.conf regarding NsRestrictOperNick or whatever it is called.
git-svn-id: svn://svn.anope.org/anope/trunk@410 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@274 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-17 10:32:01 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 48a35170a0 BUILD : 1.7.5 (409) BUGS : NOTES : Made expire_all() extern instead of static.
git-svn-id: svn://svn.anope.org/anope/trunk@409 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@273 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-17 09:27:20 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 95240438aa BUILD : 1.7.5 (408) BUGS : 189, 191 NOTES : segfault fix, and vident sent to logs when set
git-svn-id: svn://svn.anope.org/anope/trunk@408 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@272 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 21:43:54 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f3a1ab41ad BUILD : 1.7.5 (407) BUGS : 185, 190 NOTES : TTB work again, and RestrictOperNicks is no longer case sensitive
git-svn-id: svn://svn.anope.org/anope/trunk@407 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@271 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 20:36:54 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 0700ca7742 BUILD : 1.7.5 (406) BUGS : N/A NOTES : Forgot the changes file
git-svn-id: svn://svn.anope.org/anope/trunk@406 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@270 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 15:56:40 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 6856ec2aae BUILD : 1.7.5 (405) BUGS : 180 NOTES : Fixed tsbuf not being sent, which caused issues with ircds whom have +d (deaf)
git-svn-id: svn://svn.anope.org/anope/trunk@405 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@269 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 15:54:31 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b1e213ccf0 BUILD : 1.7.5 (404) BUGS : NOTES : Fixed bug 188.
git-svn-id: svn://svn.anope.org/anope/trunk@404 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@268 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 15:25:18 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 37831b4e53 BUILD : 1.7.5 (403) BUGS : 186 NOTES : Fixed anope_cmd_server() in some protocol files it was broken
git-svn-id: svn://svn.anope.org/anope/trunk@403 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@267 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 15:03:59 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 659525324b BUILD : 1.7.5 (402) BUGS : N/A NOTES : Forgot to get chanserv.c and nickserv.c in the last commit
git-svn-id: svn://svn.anope.org/anope/trunk@402 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@266 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 05:36:26 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b ec2b8ac549 BUILD : 1.7.5 (401) BUGS : 147, 179, 181, 183, 184, 186 NOTES : Lots of little fixes, should fix OS JUPE issues
git-svn-id: svn://svn.anope.org/anope/trunk@401 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@265 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-16 05:32:52 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b fc34ca3d24 BUILD : 1.7.5 (400) BUGS : N/A NOTES : Removed debug left over from last commit
git-svn-id: svn://svn.anope.org/anope/trunk@400 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@264 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-15 05:10:39 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 4ed066cc22 BUILD : 1.7.5 (399) BUGS : 180, 181 NOTES : code tidy up, fixes a few items from bug 180 and 181
git-svn-id: svn://svn.anope.org/anope/trunk@399 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@263 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-15 05:08:53 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3bdbd74fc6 BUILD : 1.7.5 (398) BUGS : N/A NOTES : Tiny change to save 1*len bytes per line said in a botserv channel - they are freeed anyway, so... :)
git-svn-id: svn://svn.anope.org/anope/trunk@398 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@262 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13 20:21:39 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b d24c7ebd16 BUILD : 1.7.5 (396) BUGS : N/A NOTES : Added arvg[0] to AnopeInit call, it will contain the nick of the person who loaded the module. All existing modules are un-effected :)
git-svn-id: svn://svn.anope.org/anope/trunk@396 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@261 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13 19:31:24 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e6ed7b9eb5 BUILD : 1.7.5 (395) BUGS : N/A NOTES : Fixed a typo in all source files, and merged sstrdup and anopeStrDup, as they do the same thing
git-svn-id: svn://svn.anope.org/anope/trunk@395 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@260 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13 18:28:55 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 655889c154 BUILD : 1.7.5 (394) BUGS : N/A NOTES : More code tidying, added make strict_modules etc, incase module coders what to use it :)
git-svn-id: svn://svn.anope.org/anope/trunk@394 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@259 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13 18:10:23 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 65ed982a17 BUILD : 1.7.5 (393) BUGS : N/A NOTES : Ultimate3 EOBURST support
git-svn-id: svn://svn.anope.org/anope/trunk@393 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@258 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13 15:05:23 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 3fb17634a0 BUILD : 1.7.5 (392) BUGS : N/A NOTES : More code tidy with strict enabled, some clean up of Unreal32
git-svn-id: svn://svn.anope.org/anope/trunk@392 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@257 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13 05:22:13 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ee5de492f7 BUILD : 1.7.5 (391) BUGS : N/A NOTES : Code tidy, added make strict to the makefile, allowing ansi Wall pedantic to be used for compiling
git-svn-id: svn://svn.anope.org/anope/trunk@391 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@256 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-12 21:48:40 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 61ad72831e BUILD : 1.7.5 (390) BUGS : 149 NOTES : Bug in MySQL debug, possibly causing segfaults.
git-svn-id: svn://svn.anope.org/anope/trunk@390 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@255 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-12 05:38:09 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ce4151b462 BUILD : 1.7.5 (385) BUGS : N/A NOTES : Moved more veriable declarations above the new null checking code
git-svn-id: svn://svn.anope.org/anope/trunk@385 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@254 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-10 10:37:08 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3f487b80d9 BUILD : 1.7.5 (384) BUGS : N/A NOTES : Moved veriable declaration to the top of function - btw, are all these null checks needed? createCommand should never be passed NULL values, its a wasted if imho... *shrug*
git-svn-id: svn://svn.anope.org/anope/trunk@384 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@253 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-10 10:31:24 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 20d3109377 BUILD : 1.7.5 (383) BUGS : N/A NOTES : glist fix - DrStein, improved on DrStein typo fix to init.c - TSL, tons of NULL crash checks - TSL
git-svn-id: svn://svn.anope.org/anope/trunk@383 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@252 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-10 05:51:21 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b e087af8c27 BUILD : 1.7.5 (382) BUGS : N/A NOTES : Really fix news.c (I hope)
git-svn-id: svn://svn.anope.org/anope/trunk@382 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@251 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-09 21:54:35 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b bb2f19c3c0 BUILD : 1.7.5 (381) BUGS : N/A NOTES : fixed up news.c
git-svn-id: svn://svn.anope.org/anope/trunk@381 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@250 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-09 21:52:52 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 560c2b2b8b BUILD : 1.7.5 (379) BUGS : 176 NOTES : Fixed a possible segfault due to a bug in LogChannel
git-svn-id: svn://svn.anope.org/anope/trunk@379 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@249 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-09 20:21:56 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 048ddbeb2f BUILD : 1.7.5 (378) BUGS : N/A NOTES : News reodering - DrStein, TSMODE issues - TSL, NULL crash fixes - TSL
git-svn-id: svn://svn.anope.org/anope/trunk@378 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@248 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-08 04:09:53 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 1d34d1f8fe Updated to the latest GNU files
git-svn-id: svn://svn.anope.org/anope/trunk@377 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@247 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-07 15:34:09 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b b1e78499cb BUILD : 1.7.5 (376) BUGS : N/A NOTES : CS INFO - DrStein, init.c typo - DrStein, Bahamut +j support - TSL, more protocol clean up
git-svn-id: svn://svn.anope.org/anope/trunk@376 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@246 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-07 05:32:21 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b a7b79e36cd BUILD : 1.7.5 (375) BUGS : NOTES : Fixed Changes files errors.
git-svn-id: svn://svn.anope.org/anope/trunk@375 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@245 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-06 07:56:42 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b c9cb911e14 BUILD : 1.7.5 (374) BUGS : N/A NOTES : One last time for hybrid.c
git-svn-id: svn://svn.anope.org/anope/trunk@374 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@244 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-06 03:48:18 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b bf36b3740f BUILD : 1.7.5 (373) BUGS : N/A NOTES : Try again
git-svn-id: svn://svn.anope.org/anope/trunk@373 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@243 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-06 03:40:48 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 151ba1748e BUILD : 1.7.5 (372) BUGS : N/A NOTES : hybrid.c got screwed by indent try from backup
git-svn-id: svn://svn.anope.org/anope/trunk@372 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@242 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-06 03:38:43 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b a2e4eeb666 BUILD : 1.7.5 (371) BUGS : 175? NOTES : Fixed some ircd protcol mistakes, clean up clear modes, also a patch form DrStein
git-svn-id: svn://svn.anope.org/anope/trunk@371 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@241 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-06 03:31:37 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b f150f55ef0 BUILD : 1.7.5 (369) BUGS : N/A NOTES : Updates BUGS, fixed compiler warning if DEBUG_COMMANDS had been enabled
git-svn-id: svn://svn.anope.org/anope/trunk@369 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@240 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-04 05:05:14 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 59e7ad6024 BUILD : 1.7.5 (368) BUGS : N/A NOTES : IRCD protocol clean up, and support for Numerics on Unreal32/RageIRCD
git-svn-id: svn://svn.anope.org/anope/trunk@368 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@239 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-04 03:32:40 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 8d89775ceb BUILD : 1.7.5 (367) BUGS : NOTES : Changed UserKeys from uint to long uint.
git-svn-id: svn://svn.anope.org/anope/trunk@367 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@238 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-03 18:19:37 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 96ec4cf401 BUILD : 1.7.5 (366) BUGS : NOTES : Fixed a typo in T his previous commit (logins on -> logs on)
git-svn-id: svn://svn.anope.org/anope/trunk@366 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@237 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-03 06:39:07 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b 04afc85480 BUILD : 1.7.5 (365) BUGS : 172 NOTES : - New directive NewsCount - fr.l updated - do_memocheck() globalized the time display - getmemoinfo() improved to return info about being forbidden - fixes svsnick on Unreal - anope_event_null to allow ircd devs to point events that go to no where some where - fixed SQUIT
git-svn-id: svn://svn.anope.org/anope/trunk@365 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@236 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-03 03:58:43 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 7bc5f4a8ed BUILD : 1.7.5 (364) NOTES : Added nullfix patch from Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@364 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@235 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-01 02:26:24 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b a9dd1756cf BUILD : 1.7.5 (363) NOTES : Added unreal fix from Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@363 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@234 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-30 01:36:34 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 676b8eaf7f BUILD : 1.7.5 (362) BUGS : 17 143 147 166 172 173 NOTES : Applied patch 927 provided by Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@362 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@233 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-29 20:19:18 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b6f83ea4db BUILD : 1.7.5 (356) BUGS : N/A NOTES : Fuixed mysql include issue, it should now detect to use mysql/mysql/h or not
git-svn-id: svn://svn.anope.org/anope/trunk@356 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@232 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-22 14:17:36 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 474ee0c00a BUILD : 1.7.5 (355) BUGS : N/A NOTES : An option to not detect mysql has been added to ./Config
git-svn-id: svn://svn.anope.org/anope/trunk@355 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@231 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-21 16:02:58 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b fcd9c968ee BUILD : 1.7.5 (354) BUGS : NOTES : Added RestrictOpernicks by request. Small feature.
git-svn-id: svn://svn.anope.org/anope/trunk@354 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@230 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-20 17:05:47 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3a4570a131 BUILD : 1.7.5 (353) BUGS : N/A NOTES : Fixed version booboo :)
git-svn-id: svn://svn.anope.org/anope/trunk@353 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@229 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-19 10:50:23 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 13503f0a21 BUILD : 1.7.5 (352) BUGS : N/A NOTES : corrected a semi-colon that my compiled dosnt mind, but certuss does :)
git-svn-id: svn://svn.anope.org/anope/trunk@352 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@228 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-19 10:40:24 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b fe0992a6ab BUILD : 1.7.5 (351) BUGS : N/A NOTES : Rewrote the internals of moduleData, this will save _lots_ of memory especially on larger networks. The downside is modules using it need to make a tiny, tiny change... :/
git-svn-id: svn://svn.anope.org/anope/trunk@351 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@227 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-19 10:28:02 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b aa896a87ac BUILD : 1.7.5 (350) BUGS : NOTES : Changed mysql init checks so they are only done if mysql is enabled. Many Thanks to DrStein for the patch.
git-svn-id: svn://svn.anope.org/anope/trunk@350 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@226 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-17 18:23:48 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6c710bb9df BUILD : 1.7.5 (349) BUGS : NOTES : Gave the Doc a mail addy
git-svn-id: svn://svn.anope.org/anope/trunk@349 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@225 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-16 17:16:02 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 60915bd2f8 BUILD : 1.7.5 (348) BUGS : NOTES : /os MODE was not functioning, by joining 2 seperate if statements into one the problem was solved. Many Thanks to DrStein for the patch.
git-svn-id: svn://svn.anope.org/anope/trunk@348 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@224 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-14 21:17:18 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ff5c52e680 BUILD : 1.7.5 (347) BUGS : NOTES : Fixed PROTECT_UNSET_MODE from +a to -a -- Certus was too lazy to do it so he asked if i could :\
git-svn-id: svn://svn.anope.org/anope/trunk@347 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@223 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-14 16:47:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6a8be73c99 BUILD : 1.7.5 (346) BUGS : NOTES : nl.l updates
git-svn-id: svn://svn.anope.org/anope/trunk@346 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@222 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-12 20:09:58 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 87f6636c25 BUILD : 1.7.5 (345) BUGS : NOTES : Renamed anope_cmd_relase_svshold to anope_cmd_release_svshold
git-svn-id: svn://svn.anope.org/anope/trunk@345 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@221 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-10 18:00:22 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 9737fafd75 BUILD : 1.7.5 (344) BUGS : NOTES : Fixed bug with an uninitialized buffer in check_sqline()
git-svn-id: svn://svn.anope.org/anope/trunk@344 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@220 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-10 11:47:40 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b ec3d8bda5e BUILD : 1.7.5 (343) BUGS : #00 NOTES : Fixed previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@343 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@219 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-09 16:07:28 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b e41e4cd69e BUILD : 1.7.5 (342) BUGS : #00 NOTES : Certus: Replaced current rand-implementation with arc4random and replaced C++ comments with C-style comments (gcc 2.95 might complain).
git-svn-id: svn://svn.anope.org/anope/trunk@342 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@218 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-09 15:51:33 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 6c2674da5a BUILD : 1.7.5 (341) BUGS : none NOTES : Fixed minor bug in /CS LOGOUT
git-svn-id: svn://svn.anope.org/anope/trunk@341 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@217 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-07 18:19:18 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b b0c19c6702 BUILD : 1.7.5 (340) BUGS : none NOTES : Applied patch 830 provided by Trystan to resolve several issues.
git-svn-id: svn://svn.anope.org/anope/trunk@340 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@216 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-07 17:29:07 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b eb0d83719b Fixed unreal 3.1 support in the configure.in script, as it was left out :)
git-svn-id: svn://svn.anope.org/anope/trunk@339 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@215 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-29 18:29:05 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 4305c6e2e9 BUILD : 1.7.5 (338) BUGS : N/A NOTES : Ran autoconf, as configure.in was changed in a previous commit
git-svn-id: svn://svn.anope.org/anope/trunk@338 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@214 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-26 18:03:34 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 7e7f83a2df BUILD : 1.7.5 (337) BUGS : N/A NOTES : Moved new channel registeration checks
git-svn-id: svn://svn.anope.org/anope/trunk@337 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@213 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-26 17:18:51 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 6c61225920 BUILD : 1.7.5 (336) BUGS : 159 NOTES : German langfile fixed
git-svn-id: svn://svn.anope.org/anope/trunk@336 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@212 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-26 15:53:01 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 5c3ee8a19a BUILD : 1.7.5 (335) BUGS : 142, 152, 154, 155, 156, 157, 158 NOTES : Applied bugfix bundle patch from Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@335 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@211 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-26 14:26:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b b05797bb10 BUILD : 1.7.5 (334) BUGS : NOTES : Oops in the Changes file... (bad me)
git-svn-id: svn://svn.anope.org/anope/trunk@334 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@210 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-24 17:59:45 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 551eb62672 BUILD : 1.7.5 (333) BUGS : none NOTES : Fixed verbose Makefile echo
git-svn-id: svn://svn.anope.org/anope/trunk@333 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@209 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-24 17:55:58 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1bb4ed5e19 BUILD : 1.7.5 (332) BUGS : none NOTES : Added -l option to am script to list possible selectors and fixed destination directory guessing for tags.
git-svn-id: svn://svn.anope.org/anope/trunk@332 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@208 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-24 17:39:00 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 0a8ba0dee2 BUILD : 1.7.5 (331) BUGS : NOTES : Fixed a compile error on gcc2, caused by a misplaced variable declaration
git-svn-id: svn://svn.anope.org/anope/trunk@331 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@207 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-24 13:01:18 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ad71495d16 BUILD : 1.7.5 (330) BUGS : N/A NOTES : More indent fun!
git-svn-id: svn://svn.anope.org/anope/trunk@330 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@206 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23 19:22:42 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b efbabe7b2a BUILD : 1.7.5 (329) BUGS : N/A NOTES : Fixed more indent crap
git-svn-id: svn://svn.anope.org/anope/trunk@329 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@205 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23 19:19:01 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 95755079a0 BUILD : 1.7.5 (328) BUGS : N/A NOTES : Fixed a couple of null char entrys on svn
git-svn-id: svn://svn.anope.org/anope/trunk@328 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@204 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23 19:07:34 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 61a23cd017 BUILD : 1.7.5 (327) BUGS : none NOTES : Merged anope-capab into main trunk...
git-svn-id: svn://svn.anope.org/anope/trunk@327 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@203 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23 18:36:58 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 26ea4bc11b BUILD : 1.7.5 (325) BUGS : 128 139 146 147 148 NOTES : Applied patch supplied by Trystan to fix bugs listed above.
git-svn-id: svn://svn.anope.org/anope/trunk@325 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@202 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-17 14:22:08 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b e885253744 BUILD : 1.7.5 (323) BUGS : NOTES : fix seriously stupid booboo introduced by myself (ifdef stuff finally fixed)
git-svn-id: svn://svn.anope.org/anope/trunk@323 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@201 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-11 17:07:14 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d62538be69 BUILD : 1.7.5 (322) BUGS : NOTES : fixed small lang mistake
git-svn-id: svn://svn.anope.org/anope/trunk@322 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@200 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-11 14:57:10 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 7bbc80af47 BUILD : 1.7.5 (321) BUGS : none NOTES : Fixed make distclean and updated hun.l
git-svn-id: svn://svn.anope.org/anope/trunk@321 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@199 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-11 14:54:43 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 93ccd1541e BUILD : 1.7.5 (320) BUGS : NOTES : Fixed support for Ultimate, Rage and Viagra.
git-svn-id: svn://svn.anope.org/anope/trunk@320 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@198 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-11 14:28:04 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 6a88f0558a BUILD : 1.7.5 (319) BUGS : NOTES : Hopefully fixed the Changes file now
git-svn-id: svn://svn.anope.org/anope/trunk@319 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@197 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-11 14:01:11 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 86d146b827 BUILD : 1.7.5 (318) BUGS : N/A NOTES : fixed a rearanging error in Changes which i caused :)
git-svn-id: svn://svn.anope.org/anope/trunk@318 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@196 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-10 21:22:04 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 1a1155a0ed BUILD : 1.7.5 (317) BUGS : N/A NOTES : autoconf should now deal with no mysql properly
git-svn-id: svn://svn.anope.org/anope/trunk@317 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@195 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-10 21:15:43 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b 8da5da23a9 BUILD : 1.7.5 (316) BUGS : 131 NOTES : Fixed bugs in previous BotServ buffer fix.
git-svn-id: svn://svn.anope.org/anope/trunk@316 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@194 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-10 17:22:47 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b ebe870906b BUILD : 1.7.5 (315) BUGS : NOTES : Updated documentation to suit the new build process
git-svn-id: svn://svn.anope.org/anope/trunk@315 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@193 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-10 13:22:57 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 2e53a443cc BUILD : 1.7.5 (313) BUGS : none NOTES : Anope 1.7.5 Release
git-svn-id: svn://svn.anope.org/anope/trunk@313 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@192 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-04 18:46:41 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b a450882289 BUILD : 1.7.4 (312) BUGS : none NOTES : Fixed bug on am script indent
git-svn-id: svn://svn.anope.org/anope/trunk@312 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@191 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-04 18:39:51 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 05ca5e301e BUILD : 1.7.4 (311) BUGS : none NOTES : Running am script with new am script.
git-svn-id: svn://svn.anope.org/anope/trunk@311 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@190 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-04 18:38:37 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 02c5ac9c67 BUILD : 1.7.4 (310) BUGS : none NOTES : Fixed am script to run indent on src dir if it exists.
git-svn-id: svn://svn.anope.org/anope/trunk@310 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@189 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-04 18:36:38 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b ca48e3ce66 BUILD : 1.7.4 (309) BUGS : none NOTES : Added Hungarian and Polish language files.
git-svn-id: svn://svn.anope.org/anope/trunk@309 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@188 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-04 18:32:29 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 91558de243 BUILD : 1.7.4 (299) BUGS : none NOTES : Fixed repository decteion and added -P flag for am script.
git-svn-id: svn://svn.anope.org/anope/trunk@299 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@187 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01 03:58:55 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b b40b4a247b BUILD : 1.7.4 (298) BUGS : none NOTES : Yet another rollback...
git-svn-id: svn://svn.anope.org/anope/trunk@298 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@186 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01 03:44:09 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b dfec5ed8a7 BUILD : 1.7.4 (296) BUGS : NOTES : Next try to commit.
git-svn-id: svn://svn.anope.org/anope/trunk@296 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@185 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01 03:03:39 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 3422f4a798 BUILD : 1.7.4 (295) BUGS : none NOTES : Rolling back previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@295 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@184 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01 02:47:29 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b a090c812cf BUILD : 1.7.4 (294) BUGS : NOTES : First import. Current status: anope_bs_core finished for new phase1, anope_cs_access working for cs access add.
git-svn-id: svn://svn.anope.org/anope/trunk@294 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@183 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01 02:27:43 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b e5e4057f22 BUILD : 1.7.4 (283) BUGS : N/A NOTES : Added better mysql detection to autoconf
git-svn-id: svn://svn.anope.org/anope/trunk@283 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@182 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-25 18:31:30 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b c6fe2b8f4d BUILD : 1.7.4 (282) BUGS : N/A NOTES : Starting to add better mysql detection / manaul option
git-svn-id: svn://svn.anope.org/anope/trunk@282 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@181 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-25 17:04:52 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b e89af04c1f BUILD : 1.7.4 (278) BUGS : NOTES : Forgot Changes *shrug*
git-svn-id: svn://svn.anope.org/anope/trunk@278 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@180 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-22 22:53:39 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b e72a16bd71 BUILD : 1.7.4 (277) BUGS : 131 NOTES : BotServ fantasy modified (module) buffer
git-svn-id: svn://svn.anope.org/anope/trunk@277 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@179 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-22 22:51:30 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 313417e92a BUILD : 1.7.4 (275) BUGS : 126 NOTES : Fixed the 3rd mem leak identified in this bug report, i didnt find the first two however :/
git-svn-id: svn://svn.anope.org/anope/trunk@275 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@178 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-22 18:42:51 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 58f85919b3 BUILD : 1.7.4 (273) BUGS : 121 NOTES : Applied patch provided by Trystan for +A +H support on viagra
git-svn-id: svn://svn.anope.org/anope/trunk@273 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@177 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-22 17:01:18 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b fe09b2e57a BUILD : 1.7.4 (272) BUGS : 111,115 NOTES : Fixed bugs 111 and 115, both need backporting to 1.6.x
git-svn-id: svn://svn.anope.org/anope/trunk@272 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@176 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-22 16:22:42 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b daadfe477e BUILD : 1.7.4 (271) BUGS : NOTES : Rolled Back to 291 for GeniusDex
git-svn-id: svn://svn.anope.org/anope/trunk@271 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@175 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-21 21:04:44 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 2a2d42ec80 BUILD : 1.7.4 (270) BUGS : NOTES : Adding +j mlock support for bahamut just before my vacation
git-svn-id: svn://svn.anope.org/anope/trunk@270 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@174 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-21 20:28:48 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9aca21408d BUILD : 1.7.4 (269) BUGS : N/A NOTES : dont use -funsigned-chars as the md5 encryption stuff (while it will still encrypt, probably in a way that is more normal md5) it wont be compatiable with the old md5 encryption, so for now, we will never use it, and itll be left to the OSs to just pick if chars are signed or unsigned....
git-svn-id: svn://svn.anope.org/anope/trunk@269 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@173 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-20 17:06:32 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 10ef68e7c4 BUILD : 1.7.4 (268) BUGS : N/A NOTES : Fixed position of text after ./Config and make
git-svn-id: svn://svn.anope.org/anope/trunk@268 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@172 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-20 15:12:58 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 338bb6d327 BUILD : 1.7.4 (266) BUGS : N/A NOTES : Added include/Makefile to svn
git-svn-id: svn://svn.anope.org/anope/trunk@266 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@171 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-19 14:20:24 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b faf3709fd8 BUILD : 1.7.4 (265) BUGS : N/A NOTES : Only forgot 2 changes :)
git-svn-id: svn://svn.anope.org/anope/trunk@265 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@170 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-19 14:11:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a1479a8775 BUILD : 1.7.4 (264) BUGS : N/A NOTES : Switched to autoconf - try to commit part 1
git-svn-id: svn://svn.anope.org/anope/trunk@264 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@169 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-19 14:08:30 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7fffea77ed BUILD : 1.7.4 (262) BUGS : 125 NOTES : Fixed the /ns release issue with UseSVSHOLD
git-svn-id: svn://svn.anope.org/anope/trunk@262 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@168 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-15 14:56:38 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 8ce96b1724 BUILD : 1.7.4 (261) BUGS : NOTES : fixed a tiny memleak in the db routine
git-svn-id: svn://svn.anope.org/anope/trunk@261 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@167 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-15 13:43:35 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b bc5c5e69b9 BUILD : 1.7.4 (260) BUGS : NOTES : Updated nl.l
git-svn-id: svn://svn.anope.org/anope/trunk@260 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@166 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-15 13:32:57 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 23642be61f BUILD : 1.7.4 (258) BUGS : NOTES : Added CHECK to the /msg memoserv help menu
git-svn-id: svn://svn.anope.org/anope/trunk@258 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@165 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-14 18:45:12 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b cadc0bf3bc BUILD : 1.7.4 (257) BUGS : N/A NOTES : Bots will join a channel even if the first user to join is being ignored
git-svn-id: svn://svn.anope.org/anope/trunk@257 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@164 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-12 19:25:48 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c3f5b95386 BUILD : 1.7.4 (230) BUGS : 97 NOTES : Fixed the need of hybrid to have Global in LogChan on startup
git-svn-id: svn://svn.anope.org/anope/trunk@230 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@163 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-05 19:11:01 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 7b2010245b BUILD : 1.7.4 (229) BUGS : 118 NOTES : Added warning for a config conflict between LocalAddress and RemoteServer
git-svn-id: svn://svn.anope.org/anope/trunk@229 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@162 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-05 18:48:30 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 3983d3accb BUILD : 1.7.4 (228) BUGS : NOTES : Fixed a bug with m_time.
git-svn-id: svn://svn.anope.org/anope/trunk@228 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@161 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-04 12:20:20 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 44c4af9df4 BUILD : 1.7.4 (223) BUGS : NOTES : Anope crontab failed because when path was too long the ps ux was cut short so grep failed. ps ux was changed to ps auwx to stop this problem (w is stops cutting the lines short)
git-svn-id: svn://svn.anope.org/anope/trunk@223 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@160 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-30 19:29:09 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c896700616 BUILD : 1.7.4 (218) BUGS : NOTES : Fixed compiling problem with Rage and Viagra
git-svn-id: svn://svn.anope.org/anope/trunk@218 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@159 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-29 16:37:08 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d2a865cdf1 BUILD : 1.7.4 (216) BUGS : NOTES : Fixed compiling bug with UltimateIRCd3 (thx to kenshinxl)
git-svn-id: svn://svn.anope.org/anope/trunk@216 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@158 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-28 14:32:28 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b c5e6b22912 BUILD : 1.7.4 (215) BUGS : NOTES : Forgot the Changes file
git-svn-id: svn://svn.anope.org/anope/trunk@215 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@157 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-26 13:49:03 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b 9ffff8c699 BUILD : 1.7.4 (214) BUGS : 112 NOTES : Removed TSMODE for usermodes on bahamut 1.8
git-svn-id: svn://svn.anope.org/anope/trunk@214 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@156 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-26 13:03:29 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 0d50842946 BUILD : 1.7.4 (213) BUGS : none NOTES : Testing svn mailing list.
git-svn-id: svn://svn.anope.org/anope/trunk@213 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@155 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-24 18:55:30 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b b55bed4001 BUILD : 1.7.4 (212) BUGS : none NOTES : Moved Changes entries around.
git-svn-id: svn://svn.anope.org/anope/trunk@212 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@154 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-24 18:39:15 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9d6a1b825c BUILD : 1.7.4 (211) BUGS : N/A NOTES : Fixed a booboo with my last commit :)
git-svn-id: svn://svn.anope.org/anope/trunk@211 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@153 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-22 18:58:30 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 2188f7af30 BUILD : 1.7.4 (210) BUGS : N/A NOTES : Changed strcasecmp to stricmp
git-svn-id: svn://svn.anope.org/anope/trunk@210 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@152 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-22 17:55:12 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 6f8139e131 BUILD : 1.7.4 (209) BUGS : none NOTES : Fixed implementation for dynamic server /OS GLOBAL
git-svn-id: svn://svn.anope.org/anope/trunk@209 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@151 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-22 01:40:33 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 2f0125c6fb BUILD : 1.7.4 (208) BUGS : none NOTES : New implementation for dynamic server /OS GLOBAL
git-svn-id: svn://svn.anope.org/anope/trunk@208 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@150 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-22 01:02:28 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ecfb58ca92 BUILD : 1.7.4 (207) BUGS : N/A NOTES : Fixed PTLink m_server incorrect argument count
git-svn-id: svn://svn.anope.org/anope/trunk@207 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@149 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-20 17:57:07 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1d1c478e4f BUILD : 1.7.4 (206) BUGS : 55 NOTES : Added proper Bahamut1.8 support. Merged r132:195 from branch branches/proto/anope-bahamut18 which should now be obsolete.
git-svn-id: svn://svn.anope.org/anope/trunk@206 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@148 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-18 16:38:43 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b bb02075387 BUILD : 1.7.4 (205) BUGS : none NOTES : SVN Framework.
git-svn-id: svn://svn.anope.org/anope/trunk@205 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@147 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-18 04:15:06 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 96e65b8602 BUILD : 1.7.4 (204) BUGS : none NOTES : Anope 1.7.4 Release
git-svn-id: svn://svn.anope.org/anope/trunk@204 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@146 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-18 04:10:04 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 6e356ba6cf BUILD : 1.7.4 (203) BUGS : none NOTES : Anope 1.7.4 Release
git-svn-id: svn://svn.anope.org/anope/trunk@203 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@145 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-18 03:56:07 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 135e0f1827 BUILD : 1.7.3 (202) BUGS : 99 NOTES : Completed user defined modes as per Trystan patch
git-svn-id: svn://svn.anope.org/anope/trunk@202 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@144 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-18 03:53:31 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 3ee8ec2d2d BUILD : 1.7.3 (201) BUGS : 91 NOTES : Fix provided by trystan - ty :)
git-svn-id: svn://svn.anope.org/anope/trunk@201 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@143 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-17 18:13:50 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 01224b732b BUILD : 1.7.3 (200) BUGS : 96 NOTES : Fixed wrong bug number on previous commit
git-svn-id: svn://svn.anope.org/anope/trunk@200 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@142 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-17 18:00:31 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1c4a32bea9 BUILD : 1.7.3 (199) BUGS : 91 NOTES : Added SQLINE to NICK() on PTlink.
git-svn-id: svn://svn.anope.org/anope/trunk@199 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@141 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-17 17:57:07 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 9e5f193f52 BUILD : 1.7.3 (198) BUGS : N/A NOTES : Fixed changes format for dengel
git-svn-id: svn://svn.anope.org/anope/trunk@198 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@140 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-16 19:41:08 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b a1c569ad4b BUILD : 1.7.3 (197) BUGS : none NOTES : More verbose error messages for services.conf checking.
git-svn-id: svn://svn.anope.org/anope/trunk@197 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@139 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-16 17:51:14 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 631b4f1cb7 BUILD : 1.7.3 (196) BUGS : 106 NOTES : Fixed module support for OpenBSD systems
git-svn-id: svn://svn.anope.org/anope/trunk@196 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@138 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-16 16:04:02 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 76fee36660 BUILD : 1.7.3 (194) BUGS : none NOTES : Rolled back win32 support files in lieu of a branch.
git-svn-id: svn://svn.anope.org/anope/trunk@194 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@137 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-15 18:44:04 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b a0211857cd BUILD : 1.7.3 (191) BUGS : 91 NOTES : Fixed bug 91 and added new win32 stuff for codemastr
git-svn-id: svn://svn.anope.org/anope/trunk@191 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@136 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-12 18:23:54 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d3956b7148 BUILD : 1.7.3 (190) BUGS : 90 NOTES : We check now for valid arguments in ModuleAddData().
git-svn-id: svn://svn.anope.org/anope/trunk@190 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@135 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-12 17:38:02 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 2f9803fa94 BUILD : 1.7.3 (189) BUGS : 95 NOTES : Removed duplicate user kill on hybrid.
git-svn-id: svn://svn.anope.org/anope/trunk@189 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@134 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-12 14:10:16 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b e8383c6ccd BUILD : 1.7.3 (188) BUGS : 101 NOTES : Unified kill_user function to handle all ircd protocols.
git-svn-id: svn://svn.anope.org/anope/trunk@188 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@133 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-12 14:02:30 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b ab0f2d3332 BUILD : 1.7.3 (187) BUGS : 102 NOTES : Removed duplicate ULTIMATE3 define.
git-svn-id: svn://svn.anope.org/anope/trunk@187 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@132 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-12 13:43:29 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b eece3847bf BUILD : 1.7.3 (186) BUGS : NOTES : Added langtool.c and modified some langcomp.c stuff in behalf of codemastr (win32 port)
git-svn-id: svn://svn.anope.org/anope/trunk@186 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@131 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-10 23:52:45 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 3bba983a61 BUILD : 1.7.3 (185) BUGS : 99 NOTES : User customizable pseudo-client modes.
git-svn-id: svn://svn.anope.org/anope/trunk@185 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@130 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-10 18:37:28 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 53c1fa0fda BUILD : 1.7.3 (184) BUGS : 98 NOTES : Improved handling of /NS INFO for pseudo-clients.
git-svn-id: svn://svn.anope.org/anope/trunk@184 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@129 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-10 14:18:44 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 1b30a95400 BUILD : 1.7.3 (183) BUGS : 92 NOTES : Added check to see if MysqlName and MysqlUser were not null to avoid any problems.
git-svn-id: svn://svn.anope.org/anope/trunk@183 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@128 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-10 00:08:49 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b dfad1f6a4d BUILD : 1.7.3 (182) BUGS : 94 NOTES : Fixed number of spelling errors in en_us.l. Thanks to Trystan for assisting corrections.
git-svn-id: svn://svn.anope.org/anope/trunk@182 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@127 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-09 23:06:56 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b ea7a35e3de BUILD : 1.7.3 (181) BUGS : 87 NOTES : Fixed several spelling and typing errors in the examples and docs. Thanks to GD for assisting corrections.
git-svn-id: svn://svn.anope.org/anope/trunk@181 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@126 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-09 22:50:49 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 5dacdbe497 BUILD : 1.7.3 (180) NOTES : Minor spelling fixes to es.l (needs porting to 1.6)
git-svn-id: svn://svn.anope.org/anope/trunk@180 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@125 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-09 14:23:47 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b dd01ffb2f0 BUILD : 1.7.3 (179) BUGS : 93 NOTES : Corrected compile warning for Hybrid support.
git-svn-id: svn://svn.anope.org/anope/trunk@179 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@124 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-09 14:13:49 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b ef536a1816 BUILD : 1.7.3 (176) BUGS : NOTES : Added check to make sure register script was being run from within the bin/ directory. If ./bin/register was used, the path to cache file would be incorrect (../config.cache)
git-svn-id: svn://svn.anope.org/anope/trunk@176 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@123 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-07 15:53:22 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 348ae63579 BUILD : 1.7.3 (174) BUGS : NOTES : Sorry, another changes file mistake, remember to have a fullstop at the end, AND bug number as [#00] if there is no bug
git-svn-id: svn://svn.anope.org/anope/trunk@174 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@122 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-07 00:56:32 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 97b5ecd9e5 BUILD : 1.7.3 (173) BUGS : NOTES : Fixed Changes file mistake
git-svn-id: svn://svn.anope.org/anope/trunk@173 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@121 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-07 00:54:28 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 6fa9c21f97 BUILD : 1.7.3 (172) BUGS : NOTES : Added register script in /bin/ to allow central registration of Anope using networks
git-svn-id: svn://svn.anope.org/anope/trunk@172 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@120 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-07 00:53:09 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 1c908480b6 BUILD : 1.7.3 (171) BUGS : NOTES : Fixed big with long NSGuestNickPrefixes. We just used them in a snprintf without checking their size. Fixed a second guestnick bug as well: if compiled for hybrid guestnum was increased, tho it was never used.
git-svn-id: svn://svn.anope.org/anope/trunk@171 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@119 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-06 18:16:08 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 019521bc09 BUILD : 1.7.3 (170) BUGS : 86 NOTES : Buffer initialization for encrypted MySQL passwords.
git-svn-id: svn://svn.anope.org/anope/trunk@170 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@118 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-05 02:28:32 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b f8bf964f64 BUILD : 1.7.3 (169) BUGS : 78 NOTES : Rewrite of del_exception() fixing segfault and memory leak
git-svn-id: svn://svn.anope.org/anope/trunk@169 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@117 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-05 00:36:58 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 24810b644d BUILD : 1.7.3 (167) BUGS : NOTES : Fixed a typo in my last submit, which caused a compile error.
git-svn-id: svn://svn.anope.org/anope/trunk@167 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@116 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-04 14:17:43 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b fafff9c13c BUILD : 1.7.3 (166) BUGS : #84 NOTES : MemoServ send limit does no longer apply for services operators. That fixed the problem with /MS STAFF for services ops (they got the "memo limit in time X reached" message).
git-svn-id: svn://svn.anope.org/anope/trunk@166 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@115 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-04 14:13:48 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b b72b59a4fb BUILD : 1.7.3 (165) BUGS : NOTES :
git-svn-id: svn://svn.anope.org/anope/trunk@165 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@114 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-03 18:28:29 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 2ca8def79f BUILD : 1.7.3 (164) BUGS : NOTES : Fixed Changes file formatted error
git-svn-id: svn://svn.anope.org/anope/trunk@164 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@113 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-03 18:20:22 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b b7ab4eea6d BUILD : 1.7.3 (163) BUGS : 67 NOTES : Reversed pthread library detection order on ./configure script.
git-svn-id: svn://svn.anope.org/anope/trunk@163 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@112 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-03 18:12:00 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 3e9e166cd4 BUILD : 1.7.3 (162) BUGS : 79 NOTES : Fixed bug 79 (memoserv set notify not working) also fixed a blocker bug in actions.c
git-svn-id: svn://svn.anope.org/anope/trunk@162 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@111 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-02 18:25:59 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 3f81431ca1 BUILD : 1.7.3 (161) NOTES : Fixed cut/paste error on mydbgen
git-svn-id: svn://svn.anope.org/anope/trunk@161 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@110 5417fbe8-f217-4b02-8779-1006273d7864
2004-06-02 17:21:43 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 6a43d8df86 BUILD : 1.7.3 (159) BUGS : NOTES : Fixed some internal errors with return values in void functions. codemastr needs it to be fixed for the windows port.
git-svn-id: svn://svn.anope.org/anope/trunk@159 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@109 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-31 21:20:46 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 9b74a53fc9 BUILD : 1.7.3 (157) NOTES : Fixed botched auto-akick enforcer. ? post 1207
git-svn-id: svn://svn.anope.org/anope/trunk@157 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@108 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-31 14:48:18 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 82fc4b2f99 BUILD : 1.7.3 (152) NOTES : Reverted chanserv.c changes.
git-svn-id: svn://svn.anope.org/anope/trunk@152 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@107 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-30 15:06:01 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 392806d317 BUILD : 1.7.3 (151) BUGS : 77 NOTES : HostServ functions no longer called for non VHOST capable ircds.
git-svn-id: svn://svn.anope.org/anope/trunk@151 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@106 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-30 14:54:13 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 5945a2cbed BUILD : 1.7.3 (144) BUGS : NOTES : Fixed botserv bug with HAS_EXCEPTION (chmode +e)
git-svn-id: svn://svn.anope.org/anope/trunk@144 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@105 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-28 16:22:34 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d34491673d BUILD : 1.7.3 (131) BUGS : NOTES : Translated daniels changes
git-svn-id: svn://svn.anope.org/anope/trunk@131 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@104 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-27 14:48:40 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 669b55625d BUILD : 1.7.3 (130) BUGS : 74 NOTES : Better /OS MODLIST output to include version information and a proper list header/footer.
git-svn-id: svn://svn.anope.org/anope/trunk@130 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@103 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-27 14:42:51 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c2ab3c1354 BUILD : 1.7.3 (129) BUGS : NOTES : Changed guestnum from static to extern (internal change)
git-svn-id: svn://svn.anope.org/anope/trunk@129 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@102 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-27 14:32:55 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 34ee289163 BUILD : 1.7.3 (128) NOTES : Typo no Changes file.
git-svn-id: svn://svn.anope.org/anope/trunk@128 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@101 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-27 13:33:28 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 433bf6124b BUILD : 1.7.3 (126) BUGS : 73 NOTES : Repaired /NS GROUP for compiled but disabled MySQL support.
git-svn-id: svn://svn.anope.org/anope/trunk@126 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@100 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-26 15:18:21 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b c104ba608a BUILD : 1.7.3 (125) BUGS : 72 NOTES : New /CS CLEAR HOPS for ircds that support halfops.
git-svn-id: svn://svn.anope.org/anope/trunk@125 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@99 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-25 20:20:02 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b d0a667d4bc BUILD : 1.7.3 (124) BUGS : 70 NOTES : Fixed typo in example.conf.
git-svn-id: svn://svn.anope.org/anope/trunk@124 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@98 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-25 02:36:06 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 3122fef4d5 BUILD : 1.7.3 (123) BUGS : None NOTES : Fixed Changes and version.log format and added reference bug number.
git-svn-id: svn://svn.anope.org/anope/trunk@123 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@97 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-25 02:21:13 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 4390d0ff74 BUILD : 1.7.3 (122) BUGS : None NOTES : New NSNickTracking directive to track nick cores when changing nicks.
git-svn-id: svn://svn.anope.org/anope/trunk@122 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@96 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-24 21:53:45 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b d5b6d250d5 BUILD : 1.7.3 (121) BUGS : 69 NOTES : Cleaned up compile errors on older compilers.
git-svn-id: svn://svn.anope.org/anope/trunk@121 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@95 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-24 13:49:53 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 09ca64b889 BUILD : 1.7.3 (120) BUGS : 50 NOTES : Reserved nicks (Q-lined) will be KILLed if taken on induction.
git-svn-id: svn://svn.anope.org/anope/trunk@120 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@94 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-21 17:23:46 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 433f281f5e BUILD : 1.7.3 (119) BUGS : 54 NOTES : Allow /CS SUSPEND on registered non-forbidden channels only
git-svn-id: svn://svn.anope.org/anope/trunk@119 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@93 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-21 14:33:06 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 5f799bc2b5 BUILD : 1.7.3 (118) BUGS : 56 NOTES : Check for VHOST capable ircd on HostServAlias induction.
git-svn-id: svn://svn.anope.org/anope/trunk@118 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@92 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-21 12:54:45 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 89e802e165 BUILD : 1.7.3 (117) BUGS : 63 NOTES : Auto enforce upon AKICK addition.
git-svn-id: svn://svn.anope.org/anope/trunk@117 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@91 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-21 12:20:08 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 51ebfab6a4 BUILD : 1.7.3 (116) BUGS : 65 NOTES : New file docs/OLDCHANGES
git-svn-id: svn://svn.anope.org/anope/trunk@116 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@90 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-21 11:46:01 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b e3309b1847 BUILD : 1.7.3 (115) BUGS : 64 NOTES : Removed threads.c
git-svn-id: svn://svn.anope.org/anope/trunk@115 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@89 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-21 11:35:46 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 3f51ba0f48 BUILD : 1.7.3 (114) BUGS : 64 NOTES : Removed threads.c
git-svn-id: svn://svn.anope.org/anope/trunk@114 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@88 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-21 11:35:05 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b c6c66c72a2 BUILD : 1.7.3 (112) NOTES : Dev framework.
git-svn-id: svn://svn.anope.org/anope/trunk@112 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@87 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-16 21:45:54 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1dbf144c58 BUILD : 1.7.3 (110) NOTES : Anope 1.7.3 Release
git-svn-id: svn://svn.anope.org/anope/trunk@110 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@86 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-16 21:31:18 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 9204bb30ab BUILD : 1.7.3 (109) BUGS : NOTES : make install now moves anoperc to bin, also typos and one bug in anoperc fixed (ps ux changed to ps auxw which was failing when paths were too long to fit on the screen)
git-svn-id: svn://svn.anope.org/anope/trunk@109 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@85 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-16 21:26:40 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 97a04bdcb3 BUILD : 1.7.3 (108) NOTES : Anope 1.7.3 Release
git-svn-id: svn://svn.anope.org/anope/trunk@108 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@84 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-15 13:54:06 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b c580ac75fc BUILD : 1.7.2 (107) BUGS : NOTES : woops, forgot a small condition ;)
git-svn-id: svn://svn.anope.org/anope/trunk@107 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@83 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-15 10:28:54 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 8431d0515f BUILD : 1.7.2 (106) BUGS : NOTES : Added BSCaseSensitive directive for a cAsE sEnSiTiVe badword kicker.
git-svn-id: svn://svn.anope.org/anope/trunk@106 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@82 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-15 10:24:52 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ece1f27896 git-svn-id: svn://svn.anope.org/anope/trunk@105 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@81 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-15 09:56:24 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b d193a52b83 BUILD : 1.7.2 (104) BUGS : NOTES : Removed some illegal sizeof(void). Thanks to codemastr.
git-svn-id: svn://svn.anope.org/anope/trunk@104 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@80 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 20:46:35 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b d1403d9133 BUILD : 1.7.2 (103) BUGS : none NOTES : Added +a/-a support for PTLink ircd.
git-svn-id: svn://svn.anope.org/anope/trunk@103 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@79 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 18:40:30 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 94893bfcb7 BUILD : 1.7.2 (102) BUGS : 53 NOTES : Modified HELP LIST and LIST SYNTAX help messages
git-svn-id: svn://svn.anope.org/anope/trunk@102 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@78 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 18:09:12 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 57db20755f BUILD : 1.7.2 (101) BUGS : none NOTES : Fixed Makefiles to deal with lang/index properly.
git-svn-id: svn://svn.anope.org/anope/trunk@101 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@77 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 17:39:43 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 770435f404 BUILD : 1.7.2 (100) BUGS : 52 NOTES : Fixed a bug with globals containing format characters
git-svn-id: svn://svn.anope.org/anope/trunk@100 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@76 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 17:06:24 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b bcefbd73b1 BUILD : 1.7.2 (99) BUGS : none NOTES : Removed lang/index since it is auto-generated upon compilation.
git-svn-id: svn://svn.anope.org/anope/trunk@99 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@75 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 16:52:40 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b b4b248c7f7 BUILD : 1.7.2 (98) BUGS : none NOTES : Language file normalization.
git-svn-id: svn://svn.anope.org/anope/trunk@98 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@74 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 16:48:51 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b c6cae8fe85 BUILD : 1.7.2 (97) BUGS : 51 NOTES : Fixed a typo in hostserv group help response
git-svn-id: svn://svn.anope.org/anope/trunk@97 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@73 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-14 11:40:28 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 04e69add68 BUILD : 1.7.2 (96) BUGS : 40 NOTES : Added RANDOMNEWS to de.l /OS HELP
git-svn-id: svn://svn.anope.org/anope/trunk@96 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@72 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-13 14:06:06 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1be0b995d4 BUILD : 1.7.2 (95) BUGS : 38 NOTES : Fixed xOP management inconsistency.
git-svn-id: svn://svn.anope.org/anope/trunk@95 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@71 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-13 14:02:55 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1aa44aa66d BUILD : 1.7.2 (94) BUGS : 40 (partial) NOTES : Added RANDOMNEWS to pt.l /OS HELP
git-svn-id: svn://svn.anope.org/anope/trunk@94 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@70 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-13 02:12:28 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b da4db9a711 BUILD : 1.7.2 (93) BUGS : 46 NOTES : Applied the Rage2 IRCD patch provided by al
git-svn-id: svn://svn.anope.org/anope/trunk@93 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@69 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-11 17:31:25 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b b6210244dd BUILD : 1.7.2 (92) BUGS : 43 NOTES : Fixed moduleData error with memo Data handeling
git-svn-id: svn://svn.anope.org/anope/trunk@92 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@68 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-11 13:15:19 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b 7ce3bb99f8 BUILD : 1.7.2 (91) BUGS : NOTES : db_mysql_query memory usage tweaked.
git-svn-id: svn://svn.anope.org/anope/trunk@91 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@67 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-08 10:54:55 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b 79a10a459d BUILD : 1.7.2 (90) BUGS : NOTES : Accidently commited config.c
git-svn-id: svn://svn.anope.org/anope/trunk@90 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@66 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-08 10:33:12 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b e98f164511 BUILD : 1.7.2 (89) BUGS : NOTES : Accidently commited config.c
git-svn-id: svn://svn.anope.org/anope/trunk@89 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@65 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-08 10:31:10 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b 5effa3fee2 BUILD : 1.7.2 (88) BUGS : 13 and 14 NOTES : Hopefully fixed empty nickserv-accesslist entries and corrupt mysql code
git-svn-id: svn://svn.anope.org/anope/trunk@88 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@64 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-08 10:07:53 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b f37f02692d BUILD : 1.7.2 (87) BUGS : 28 NOTES : Fixed bug with RDB and empty nickserv greet message.
git-svn-id: svn://svn.anope.org/anope/trunk@87 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@63 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-06 20:10:34 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b ff8b395693 BUILD : 1.7.2 (86) BUGS : NOTES : Changed the allocation of buffer for normalizeBuffer yet again
git-svn-id: svn://svn.anope.org/anope/trunk@86 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@62 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-05 15:53:46 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 2bf5802671 BUILD : 1.7.2 (85) BUGS : NOTES : Made normalizeBuffer string size equal to BUFSIZE (1024). Fixed function comments to be doxygen friendly :)
git-svn-id: svn://svn.anope.org/anope/trunk@85 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@61 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-04 22:47:03 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b a63e254bd4 BUILD : 1.7.2 (84) BUGS : NOTES : Updating Changes :)
git-svn-id: svn://svn.anope.org/anope/trunk@84 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@60 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-04 21:09:49 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b bae8b2c9b8 BUILD : 1.7.2 (83) BUGS : 22 NOTES : Badwords now cannot be evaded by using control chars or color codes.
git-svn-id: svn://svn.anope.org/anope/trunk@83 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@59 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-04 21:03:07 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 75c625f6d6 BUILD : 1.7.2 (82) BUGS : N/A NOTES : Removed an old debug log
git-svn-id: svn://svn.anope.org/anope/trunk@82 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@58 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-03 14:19:22 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ed4423dbab BUILD : 1.7.2 (81) BUGS : N/A NOTES : Always set the correct module name when executing module functions
git-svn-id: svn://svn.anope.org/anope/trunk@81 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@57 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-03 14:06:59 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b c5cb6ef9fe BUILD : 1.7.2 (80) BUGS : N/A NOTES : Added Memos/ChannelInfo to the moduleAddData() system
git-svn-id: svn://svn.anope.org/anope/trunk@80 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@56 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-02 10:34:58 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 7250a369ab BUILD : 1.7.2 (79) BUGS : NOTES : Added check to anoperc to see if paths work, and fixed one grammar error
git-svn-id: svn://svn.anope.org/anope/trunk@79 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@55 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-02 10:08:56 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b ee1ca39543 BUILD : 1.7.2 (78) BUGS : N/A NOTES : Added the ability to add module data to the NickCore and the NickAlias structs
git-svn-id: svn://svn.anope.org/anope/trunk@78 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@54 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-02 09:11:57 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b f2ed3ecc8b BUILD : 1.7.2 (77) BUGS : Compile errors on picky compilers NOTES : fixed a compile error on picky compilers
git-svn-id: svn://svn.anope.org/anope/trunk@77 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@53 5417fbe8-f217-4b02-8779-1006273d7864
2004-05-01 12:26:43 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b cd24c74e8d BUILD : 1.7.2 (76) BUGS : NOTES : Added memoserv function to check whether the last memo you sent to a nick has been read or not. new cmd: /MS CHECK <nick> (I rule! :P)
git-svn-id: svn://svn.anope.org/anope/trunk@76 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@52 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-29 10:53:23 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 297b6d5a20 BUILD : 1.7.2 (75) BUGS : N/A NOTES : Been right through modules.c, every - yes EVERY function is now commented in a doxy-gen style mannor, detailing what it does, along with all the params and return codes - be affraid! - oh and jsut by-the-by when people are working on functions/new features/bug fixs in other parts of anope, we really should be adding these comments :)
git-svn-id: svn://svn.anope.org/anope/trunk@75 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@51 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-28 21:28:42 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b fba6022e42 BUILD : 1.7.2 (74) BUGS : N/A NOTES : Added moduleAddData() and moduleGetData() currently only added to the User struct as a test
git-svn-id: svn://svn.anope.org/anope/trunk@74 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@50 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-28 20:18:10 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 33b49b12cb BUILD : 1.7.2 (73) BUGS : NOTES : Removed delay timer from RSEND notifications.
git-svn-id: svn://svn.anope.org/anope/trunk@73 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@49 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-27 18:13:07 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 16a6957a58 BUILD : 1.7.2 (72) NOTES : New language index (temp fix)
git-svn-id: svn://svn.anope.org/anope/trunk@72 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@48 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-27 15:56:52 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 8583083426 BUILD : 1.7.2 (71) NOTES : Language file normalization. Make sure distclean is made.
git-svn-id: svn://svn.anope.org/anope/trunk@71 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@47 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-27 03:11:42 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 4255f545d0 BUILD : 1.7.2 (70) BUGS : NOTES : Modified RSEND to send receipt memo as user instead of MemoServ
git-svn-id: svn://svn.anope.org/anope/trunk@70 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@46 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-26 23:03:36 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 98167888fa BUILD : 1.7.2 (69) BUGS : NOTES : Added new MemoServ command RSEND to send a memo requesting a receipt memo once the recipient reads it.
git-svn-id: svn://svn.anope.org/anope/trunk@69 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@45 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-26 21:07:33 +00:00
atoledo atoledo@31f1291d-b8d6-0310-a050-a5561fc1590b 35932944ba BUILD : 1.7.2 (68) BUGS : 20 NOTES : Fixed ALIST bug when being invoked by systems admins
git-svn-id: svn://svn.anope.org/anope/trunk@68 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@44 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-22 16:31:44 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a46d156b01 BUILD : 1.7.2 (67) BUGS : N/A NOTES : Bumped Changes file verisons ready for new updates
git-svn-id: svn://svn.anope.org/anope/trunk@67 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@43 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-22 16:27:48 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 5020f01c0e BUILD : 1.7.2 (66) BUGS : NOTES : Added /bin/anoperc anope console control script
git-svn-id: svn://svn.anope.org/anope/trunk@66 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@42 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-19 19:28:35 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 1b57230104 BUILD : 1.7.2 (64) NOTES : Anope 1.7.2 Release
git-svn-id: svn://svn.anope.org/anope/trunk@64 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@41 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-19 03:12:10 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 0731a633f8 BUILD : 1.7.1 (59) BUGS : 10 NOTES : Fixed the second part of bug 10. The mydbgen script should behave much better now.
git-svn-id: svn://svn.anope.org/anope/trunk@59 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@40 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-17 15:42:25 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b a7f2245085 BUILD : 1.7.1 (58) BUGS : NOTES : anope_ns_req was being referenced should have been anope_ns_request (fixed)
git-svn-id: svn://svn.anope.org/anope/trunk@58 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@39 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-17 12:20:18 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b a32595594d BUILD : 1.7.1 (57) BUGS : NOTES : Added SIGUSR2 to rehash configuration and save databases
git-svn-id: svn://svn.anope.org/anope/trunk@57 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@38 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-17 12:15:32 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 632a8f669c BUILD : 1.7.1 (56) NOTES : Fourth time is a charm? Fixinf MySQL password saves.
git-svn-id: svn://svn.anope.org/anope/trunk@56 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@37 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-16 18:28:50 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b c8f9be6cb6 BUILD : 1.7.1 (55) NOTES : One last try to fix the MySQL password saves... omg.
git-svn-id: svn://svn.anope.org/anope/trunk@55 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@36 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-16 18:23:11 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b d74d3e1ad8 BUILD : 1.7.1 (54) NOTES : Added one more fix for MySQL nick password.
git-svn-id: svn://svn.anope.org/anope/trunk@54 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@35 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-16 18:14:21 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 562a146eb2 BUILD : 1.7.1 (53) BUGS : 10 NOTES : Fixed previous MySQL fix for saving nick passwords.
git-svn-id: svn://svn.anope.org/anope/trunk@53 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@34 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-16 18:07:23 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 9f73d552c4 BUILD : 1.7.1 (51) NOTES : SVN Framework.
git-svn-id: svn://svn.anope.org/anope/trunk@51 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@33 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-15 18:21:00 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b fa5c549faa BUILD : 1.7.1 (45) NOTES : Anope 1.7.1 Release
git-svn-id: svn://svn.anope.org/anope/trunk@45 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@32 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-15 17:49:37 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 15099958a5 BUILD : 1.7.0 (42) BUGS : 11 NOTES : Fixed quoted MD5 password for MySQL use (again...)
git-svn-id: svn://svn.anope.org/anope/trunk@42 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@31 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-14 11:55:08 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b bba07a560e BUILD : 1.7.0 (40) BUGS : 11 NOTES : Fixed mysql query failure with md5 passwords
git-svn-id: svn://svn.anope.org/anope/trunk@40 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@30 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-12 08:37:02 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b ffccad22fb BUILD : 1.7.0 (39) BUGS : 10 NOTES : Fixed tables.sql detection on mydbgen script.
git-svn-id: svn://svn.anope.org/anope/trunk@39 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@29 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-12 02:22:15 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 84954ea74b BUILD : 1.7.0 (38) BUGS : 008 NOTES : Fixed segfault due to coreless nicks in MySQL db on behalf of Keeper
git-svn-id: svn://svn.anope.org/anope/trunk@38 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@28 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-09 15:16:30 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 8a0869f0c7 BUILD : 1.7.0 (37) BUGS : NOTES : Added NickRegDelay which prevents users from regging their nick if they are not connected for at least X seconds.
git-svn-id: svn://svn.anope.org/anope/trunk@37 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@27 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-08 20:10:16 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b a9c609678f BUILD : 1.7.0 (36) BUGS : NOTES : 1. Added "is a services root administrator" to /ns info. 2. Added option for SOs and above to hide their services access status in /ns info.
git-svn-id: svn://svn.anope.org/anope/trunk@36 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@26 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-08 19:48:21 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 0197854015 BUILD : 1.7.0 (35) BUGS : NOTES : Added -help arguement for command line parameter information
git-svn-id: svn://svn.anope.org/anope/trunk@35 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@25 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-07 19:25:25 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 2249a91aa8 BUILD : 1.7.0 (34) BUGS : none NOTES : Fixed indentation issue on memoserv.c
git-svn-id: svn://svn.anope.org/anope/trunk@34 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@24 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-06 18:50:00 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 735c2334f8 BUILD : 1.7.0 (33) BUGS : NOTES : Small bugfix to allow ./services -version to be done without anope running
git-svn-id: svn://svn.anope.org/anope/trunk@33 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@23 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-05 17:34:26 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 83a2b9b561 BUILD : 1.7.0 (32) BUGS : NOTES : Added -version arguement to return anope version and build information
git-svn-id: svn://svn.anope.org/anope/trunk@32 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@22 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-04 14:29:36 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 1eb2bf791a BUILD : 1.7.0 (30) BUGS : http://bugs.anope.org/show_bug.cgi?id=3 NOTES : Fixed moduleAddCommand for a non-existant service, now returns MOD_ERR_NOSERVICE, updated hs_moo to deal with it nicely
git-svn-id: svn://svn.anope.org/anope/trunk@30 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@21 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-04 10:47:35 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 5bced6fbef BUILD : 1.7.0 (29) BUGS : http://bugs.anope.org/show_bug.cgi?id=9 NOTES : Updated en_us.l file to show MAIL as a valid option on notify syntax response
git-svn-id: svn://svn.anope.org/anope/trunk@29 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@20 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-04 10:30:33 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 2e04402341 BUILD : 1.7.0 (28) BUGS : http://bugs.anope.org/show_bug.cgi?id=7 NOTES : Dont display "Commands available to services admins only:" for /hs help, as there are no services admin only commands
git-svn-id: svn://svn.anope.org/anope/trunk@28 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@19 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-04 10:25:54 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 64dc6e4bad BUILD : 1.7.0 (27) BUGS : none NOTES : Normalized language files and updated Changes.lang
git-svn-id: svn://svn.anope.org/anope/trunk@27 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@18 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-03 05:53:59 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b b67196447f BUILD : 1.7.0 (26) BUGS : none NOTES : Testing svn access with a new am script.
git-svn-id: svn://svn.anope.org/anope/trunk@26 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@17 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-03 05:35:27 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 3e7ce67993 BUILD : 1.7.0 (25) BUGS : NOTES : Added memo2mail and /msg memoserv set notify MAIL/NOMAIL
git-svn-id: svn://svn.anope.org/anope/trunk@25 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@16 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-02 15:31:27 +00:00
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b 8c2baf706f Changes
git-svn-id: svn://svn.anope.org/anope/trunk@24 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@15 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-01 20:57:10 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 0ea1478770 BUILD : 1.7.0 (23) BUGS : none. NOTES : Spelling error
git-svn-id: svn://svn.anope.org/anope/trunk@23 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@14 5417fbe8-f217-4b02-8779-1006273d7864
2004-04-01 20:55:43 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b a69d0a19b0 BUILD : 1.7.0 (20) BUGS : none NOTES : Fixed MySQL double encryption if using MD5.
git-svn-id: svn://svn.anope.org/anope/trunk@20 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@13 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-31 21:07:44 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b bcbb3cc9b2 BUILD : 1.7.0 (19) BUGS : none NOTES : Refixed compile error if no RDB :(
git-svn-id: svn://svn.anope.org/anope/trunk@19 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@12 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-31 20:52:20 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 00be855225 BUILD : 1.7.0 (18) BUGS : none NOTES : Fixed lack of BotServ. Fixed compile error if no RDB
git-svn-id: svn://svn.anope.org/anope/trunk@18 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@11 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-31 20:45:23 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b 8efb093193 BUILD : 1.7.0 (17) BUGS : NOTES : Implemented MySQL Phase 2, see Changes and docs/MYSQL file for information.
git-svn-id: svn://svn.anope.org/anope/trunk@17 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@10 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-31 18:25:42 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 6f9bbb2d39 BUILD : 1.7.0 (15) BUGS : N/A NOTES : Added the ability for modules to add Commands and Messages outside of AnopeInit()
git-svn-id: svn://svn.anope.org/anope/trunk@15 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@9 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-31 18:10:42 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b a97832683d Forgot this :)
git-svn-id: svn://svn.anope.org/anope/trunk@13 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@8 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-31 15:55:47 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 14301f6e65 BUILD : 1.7.0 (12) BUGS : 5 NOTES : Fixed a bug with module callbacks, this is a tiny fix, but will need to be merged with the 1.6.x series, as it can cause a segfault if a module attempts to use recersive callbacks.
git-svn-id: svn://svn.anope.org/anope/trunk@12 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@7 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-31 15:45:28 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b 15d01b8668 BUILD : 1.7.0 (11) BUGS : NOTES : Added channelname to entrymsgs
git-svn-id: svn://svn.anope.org/anope/trunk@11 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@6 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-30 19:55:43 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b 751b278a9a Added some doxygen compatiable comments to modules.c, will add more later
git-svn-id: svn://svn.anope.org/anope/trunk@10 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@5 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-29 16:28:44 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 32b50b32d3 BUILD : 1.7.0 (8) BUGS : none. NOTES : Made svn://zero.org/repos/anope/trunk the 1.7 development stream.
git-svn-id: svn://svn.anope.org/anope/trunk@8 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@4 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-29 02:54:09 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b b678823ca2 BUILD : 1.6.0 (6) BUGS : none NOTES : Removed estra table definition from tables.sql. Minor fixes.
git-svn-id: svn://svn.anope.org/anope/trunk@6 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-29 02:15:57 +00:00
dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b 811ce26663 BUILD : 1.6.0 (4) BUGS : none NOTES : File cleanup and new AnopeManager script (bin/am) to work with Anope source control. Version schema change with no impact on cpp directives.
git-svn-id: svn://svn.anope.org/anope/trunk@4 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-28 23:00:59 +00:00
svn svn@31f1291d-b8d6-0310-a050-a5561fc1590b 55bf4dbcab Initial Anope Import
git-svn-id: svn://svn.anope.org/anope/trunk@1 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1 5417fbe8-f217-4b02-8779-1006273d7864
2004-03-28 21:59:56 +00:00
407 changed files with 76264 additions and 134014 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
CURVER
This program will help you to compile your Services, and ask you
questions regarding the compile-time settings of it during the
process. For more options type ./Config --help
process. For more options type SOURCE_DIR/Config --help
Anope is a set of Services for IRC networks that allows users to
manage their nicks and channels in a secure and efficient way,
+1 -31
View File
@@ -1,35 +1,5 @@
*.so
*.o
*.s
/autom4te.cache
Makefile
Makefile.inc
autom4te.cache/
config.cache
config.log
config.status
include/sysconf.h
include/version.h
include/language.h
lang/language.h
src/bin/anoperc
lang/cat
lang/de
lang/en_us
lang/es
lang/fr
lang/gr
lang/hun
lang/index
lang/it
lang/langcheck
lang/langcomp
lang/nl
lang/pl
lang/pt
lang/ru
lang/tr
lang/ja_utf8
src/services
src/tools/anopesmtp
src/tools/db-merger
src/tools/epona2anope
-3
View File
@@ -1,3 +0,0 @@
branches:
except:
- 1.8
+501
View File
@@ -0,0 +1,501 @@
###############################################################################
# strip_string(<input string> <output string>)
#
# A macro to handle stripping the leading and trailing spaces from a string,
# uses string(STRIP) if using CMake 2.6.x or better, otherwise uses
# string(REGEX REPLACE).
###############################################################################
macro(strip_string INPUT_STRING OUTPUT_STRING)
if(CMAKE26_OR_BETTER)
# For CMake 2.6.x or better, we can just use the STRIP sub-command of string()
string(STRIP ${INPUT_STRING} ${OUTPUT_STRING})
else(CMAKE26_OR_BETTER)
# For CMake 2.4.x, we will have to use the REGEX REPLACE sub-command of string() instead
# First check if the input string is empty or not
if (${INPUT_STRING} STREQUAL "")
set(${OUTPUT_STRING} "")
else(${INPUT_STRING} STREQUAL "")
# Determine if the string is entirely empty or not
string(REGEX MATCH "^[ \t]*$" EMPTY_STRING "${INPUT_STRING}")
if(EMPTY_STRING)
set(${OUTPUT_STRING} "")
else(EMPTY_STRING)
# We detect if there is any leading whitespace and remove any if there is
string(SUBSTRING "${INPUT_STRING}" 0 1 FIRST_CHAR)
if(FIRST_CHAR STREQUAL " " OR FIRST_CHAR STREQUAL "\t")
string(REGEX REPLACE "^[ \t]+" "" TEMP_STRING "${INPUT_STRING}")
else(FIRST_CHAR STREQUAL " " OR FIRST_CHAR STREQUAL "\t")
set(TEMP_STRING "${INPUT_STRING}")
endif(FIRST_CHAR STREQUAL " " OR FIRST_CHAR STREQUAL "\t")
# Next we detect if there is any trailing whitespace and remove any if there is
string(LENGTH "${TEMP_STRING}" STRING_LEN)
math(EXPR STRING_LEN "${STRING_LEN} - 1")
string(SUBSTRING "${TEMP_STRING}" ${STRING_LEN} 1 LAST_CHAR)
if(LAST_CHAR STREQUAL " " OR LAST_CHAR STREQUAL "\t")
string(REGEX REPLACE "[ \t]+$" "" ${OUTPUT_STRING} "${TEMP_STRING}")
else(LAST_CHAR STREQUAL " " OR LAST_CHAR STREQUAL "\t")
set(${OUTPUT_STRING} "${TEMP_STRING}")
endif(LAST_CHAR STREQUAL " " OR LAST_CHAR STREQUAL "\t")
endif(EMPTY_STRING)
endif(${INPUT_STRING} STREQUAL "")
endif(CMAKE26_OR_BETTER)
endmacro(strip_string)
###############################################################################
# append_to_list(<list> <args>...)
#
# A macro to handle appending to lists, uses list(APPEND) if using CMake 2.4.2
# or better, otherwise uses set() instead.
###############################################################################
macro(append_to_list LIST)
if(CMAKE242_OR_BETTER)
# For CMake 2.4.2 or better, we can just use the APPEND sub-command of list()
list(APPEND ${LIST} ${ARGN})
else(CMAKE242_OR_BETTER)
# For CMake 2.4.x before 2.4.2, we have to do this manually use set() instead
set(${LIST} ${${LIST}} ${ARGN})
endif(CMAKE242_OR_BETTER)
endmacro(append_to_list)
###############################################################################
# find_in_list(<list> <value> <output variable>)
#
# A macro to handle searching within a list, will store the result in the
# given <output variable>, uses list(FIND) if using CMake 2.6.x or better
# (or CMake 2.4.8 or better), otherwise it iterates through the list to find
# the item.
###############################################################################
macro(find_in_list LIST ITEM_TO_FIND FOUND)
if(CMAKE248_OR_BETTER)
# For CMake 2.4.8 or better, we can use the FIND sub-command of list()
list(FIND ${LIST} ${ITEM_TO_FIND} ITEM_FOUND)
else(CMAKE248_OR_BETTER)
# For CMake 2.4.x before 2.4.8, we have to do this ourselves (NOTE: This is very slow due to a lack of break() as well)
# Firstly we set the position to -1 indicating nothing found, we also use a temporary position
set(ITEM_FOUND -1)
set(POS 0)
# Iterate through the list
foreach(ITEM ${${LIST}})
# If the item we are looking at is the item we are trying to find, set that we've found the item
if(${ITEM} STREQUAL ${ITEM_TO_FIND})
set(ITEM_FOUND ${POS})
endif(${ITEM} STREQUAL ${ITEM_TO_FIND})
# Increase the position value by 1
math(EXPR POS "${POS} + 1")
endforeach(ITEM)
endif(CMAKE248_OR_BETTER)
# Set the given FOUND variable to the result
set(${FOUND} ${ITEM_FOUND})
endmacro(find_in_list)
###############################################################################
# remove_list_duplicates(<list>)
#
# A macro to handle removing duplicates from a list, uses
# list(REMOVE_DUPLICATES) if using CMake 2.6.x or better, otherwise it uses
# a slower method of creating a temporary list and only adding to it when
# a duplicate item hasn't been found.
###############################################################################
macro(remove_list_duplicates LIST)
if(CMAKE26_OR_BETTER)
# For CMake 2.6.x or better, this can be done automatically
list(REMOVE_DUPLICATES ${LIST})
else(CMAKE26_OR_BETTER)
# For CMake 2.4.x, we have to do this ourselves, firstly we'll clear a temporary list
set(NEW_LIST)
# Iterate through the old list
foreach(ITEM ${${LIST}})
# Check if the item is in the new list
find_in_list(NEW_LIST ${ITEM} FOUND_ITEM)
if(FOUND_ITEM EQUAL -1)
# If the item was not found, append it to the list
append_to_list(NEW_LIST ${ITEM})
endif(FOUND_ITEM EQUAL -1)
endforeach(ITEM)
# Replace the old list with the new list
set(${LIST} ${NEW_LIST})
endif(CMAKE26_OR_BETTER)
endmacro(remove_list_duplicates)
###############################################################################
# remove_item_from_list(<list> <value>)
#
# A macro to handle removing a value from a list, uses list(REMOVE_ITEM) in
# both cases, but can remove the value itself using CMake 2.4.2 or better,
# while older versions use a slower method of iterating the list to find the
# index of the value to remove.
###############################################################################
macro(remove_item_from_list LIST VALUE)
if(CMAKE242_OR_BETTER)
# For CMake 2.4.2 or better, this can be done automatically
list(REMOVE_ITEM ${LIST} ${VALUE})
else(CMAKE242_OR_BETTER)
# For CMake 2.4.x before 2.4.2, we have to do this ourselves, firstly we set the index and a variable to indicate if the item was found
set(INDEX 0)
set(FOUND FALSE)
# Iterate through the old list
foreach(ITEM ${${LIST}})
# If the item hasn't been found yet, but the current item is the same, remove it
if(NOT FOUND)
if(ITEM STREQUAL ${VALUE})
set(FOUND TRUE)
list(REMOVE_ITEM ${LIST} ${INDEX})
endif(ITEM STREQUAL ${VALUE})
endif(NOT FOUND)
# Increase the index value by 1
math(EXPR INDEX "${INDEX} + 1")
endforeach(ITEM)
endif(CMAKE242_OR_BETTER)
endmacro(remove_item_from_list)
###############################################################################
# sort_list(<list>)
#
# A macro to handle sorting a list, uses list(SORT) if using CMake 2.4.4 or
# better, otherwise it uses a slower method of creating a temporary list and
# adding elements in alphabetical order.
###############################################################################
macro(sort_list LIST)
if(CMAKE244_OR_BETTER)
# For CMake 2.4.4 or better, this can be done automatically
list(SORT ${LIST})
else(CMAKE244_OR_BETTER)
# For CMake 2.4.x before 2.4.4, we have to do this ourselves, firstly we'll create a teporary list
set(NEW_LIST)
# Iterate through the old list
foreach(ITEM ${${LIST}})
# Temporary index position for the new list, as well as temporary value to store if the item was ever found
set(INDEX 0)
set(FOUND FALSE)
# Iterate through the new list
foreach(NEW_ITEM ${NEW_LIST})
# Compare the items, only if nothing was found before
if(NOT FOUND)
if(NEW_ITEM STRGREATER "${ITEM}")
set(FOUND TRUE)
list(INSERT NEW_LIST ${INDEX} ${ITEM})
endif(NEW_ITEM STRGREATER "${ITEM}")
endif(NOT FOUND)
# Increase the index value by 1
math(EXPR INDEX "${INDEX} + 1")
endforeach(NEW_ITEM)
# If the item was never found, just append it to the end
if(NOT FOUND)
append_to_list(NEW_LIST ${ITEM})
endif(NOT FOUND)
endforeach(ITEM)
# Replace the old list with the new list
set(${LIST} ${NEW_LIST})
endif(CMAKE244_OR_BETTER)
endmacro(sort_list)
###############################################################################
# read_from_file(<filename> <regex> <output variable>)
#
# A macro to handle reading specific lines from a file, uses file(STRINGS) if
# using CMake 2.6.x or better, otherwise we read in the entire file and
# perform a string(REGEX MATCH) on each line of the file instead. This
# macro can also be used to read in all the lines of a file if REGEX is set
# to "".
###############################################################################
macro(read_from_file FILE REGEX STRINGS)
if(CMAKE26_OR_BETTER)
# For CMake 2.6.x or better, we can just use the STRINGS sub-command to get the lines that match the given regular expression (if one is given, otherwise get all lines)
if(REGEX STREQUAL "")
file(STRINGS ${FILE} RESULT)
else(REGEX STREQUAL "")
file(STRINGS ${FILE} RESULT REGEX ${REGEX})
endif(REGEX STREQUAL "")
else(CMAKE26_OR_BETTER)
# For CMake 2.4.x, we need to do this manually, firstly we read the file in
execute_process(COMMAND ${CMAKE_COMMAND} -DFILE:STRING=${FILE} -P ${Anope_SOURCE_DIR}/ReadFile.cmake ERROR_VARIABLE ALL_STRINGS)
# Next we replace all newlines with semicolons
string(REGEX REPLACE "\n" ";" ALL_STRINGS ${ALL_STRINGS})
if(REGEX STREQUAL "")
# For no regular expression, just set the result to all the lines
set(RESULT ${ALL_STRINGS})
else(REGEX STREQUAL "")
# Clear the result list
set(RESULT)
# Iterate through all the lines of the file
foreach(STRING ${ALL_STRINGS})
# Check for a match against the given regular expression
string(REGEX MATCH ${REGEX} STRING_MATCH ${STRING})
# If we had a match, append the match to the list
if(STRING_MATCH)
append_to_list(RESULT ${STRING})
endif(STRING_MATCH)
endforeach(STRING)
endif(REGEX STREQUAL "")
endif(CMAKE26_OR_BETTER)
# Set the given STRINGS variable to the result
set(${STRINGS} ${RESULT})
endmacro(read_from_file)
###############################################################################
# extract_include_filename(<line> <output variable> [<optional output variable of quote type>])
#
# This macro will take a #include line and extract the filename.
###############################################################################
macro(extract_include_filename INCLUDE FILENAME)
# Strip the leading and trailing spaces from the include line
strip_string(${INCLUDE} INCLUDE_STRIPPED)
# Make sure to only do the following if there is a string
if(INCLUDE_STRIPPED STREQUAL "")
set(FILE "")
else(INCLUDE_STRIPPED STREQUAL "")
# Extract the filename including the quotes or angle brackets
string(REGEX REPLACE "^.*([\"<].*[\">]).*$" "\\1" FILE "${INCLUDE_STRIPPED}")
# If an optional 3rd argument is given, we'll store if the quote style was quoted or angle bracketed
if(${ARGC} GREATER 2)
string(SUBSTRING ${FILE} 0 1 QUOTE)
if(QUOTE STREQUAL "<")
set(${ARGV2} "angle brackets")
else(QUOTE STREQUAL "<")
set(${ARGV2} "quotes")
endif(QUOTE STREQUAL "<")
endif(${ARGC} GREATER 2)
# Now remove the quotes or angle brackets
string(REGEX REPLACE "^[\"<](.*)[\">]$" "\\1" FILE "${FILE}")
endif(INCLUDE_STRIPPED STREQUAL "")
# Set the filename to the the given variable
set(${FILENAME} "${FILE}")
endmacro(extract_include_filename)
###############################################################################
# find_includes(<source filename> <output variable>)
#
# This macro will search through a file for #include lines, regardless of
# whitespace, but only returns the lines that are valid for the current
# platform CMake is running on.
###############################################################################
macro(find_includes SRC INCLUDES)
# Read all lines from the file that start with #, regardless of whitespace before the #
read_from_file(${SRC} "^[ \t]*#.*$" LINES)
# Set that any #include lines found are valid, and create temporary variables for the last found #ifdef/#ifndef
set(VALID_LINE TRUE)
set(LAST_DEF)
set(LAST_CHECK)
# Create an empty include list
set(INCLUDES_LIST)
# Iterate through all the # lines
foreach(LINE ${LINES})
# Search for #ifdef, #ifndef, #else, #endif, and #include
string(REGEX MATCH "^[ \t]*#[ \t]*ifdef[ \t]*.*$" FOUND_IFDEF ${LINE})
string(REGEX MATCH "^[ \t]*#[ \t]*ifndef[ \t]*.*$" FOUND_IFNDEF ${LINE})
string(REGEX MATCH "^[ \t]*#[ \t]*else.*$" FOUND_ELSE ${LINE})
string(REGEX MATCH "^[ \t]*#[ \t]*endif.*$" FOUND_ENDIF ${LINE})
string(REGEX MATCH "^[ \t]*#[ \t]*include[ \t]*[\"<].*[\">][\ t]*.*$" FOUND_INCLUDE ${LINE})
# If we found a #ifdef on the line, extract the data after the #ifdef and set if the lines after it are valid based on the variables in CMake
if(FOUND_IFDEF)
# Extract the define
string(REGEX REPLACE "^[ \t]*#[ \t]*ifdef[ \t]*(.*)$" "\\1" DEFINE ${LINE})
# Replace _WIN32 with WIN32, so we can check if the WIN32 variable of CMake is set instead of _WIN32
if(DEFINE STREQUAL "_WIN32")
set(DEFINE WIN32)
endif(DEFINE STREQUAL "_WIN32")
# Set the last define to this one, and set the last check to true, so when #else is encountered, we can do an opposing check
set(LAST_DEF ${DEFINE})
set(LAST_CHECK TRUE)
# If the define is true (it either exists or is a non-false result), the lines following will be checked, otherwise they will be skipped
if(${DEFINE})
set(VALID_LINE TRUE)
else(${DEFINE})
set(VALID_LINE FALSE)
endif(${DEFINE})
else(FOUND_IFDEF)
# If we found a #ifndef on the line, the same thing as #ifdef is done, except with the checks in the opposite direction
if(FOUND_IFNDEF)
# Extract the define
string(REGEX REPLACE "^[ \t]*#[ \t]*ifndef[ \t]*(.*)$" "\\1" DEFINE ${LINE})
# Replace _WIN32 with WIN32, so we can check if the WIN32 variable of CMake is set instead of _WIN32
if(DEFINE STREQUAL "_WIN32")
set(DEFINE WIN32)
endif(DEFINE STREQUAL "_WIN32")
# Set the last define to this one, and set the last check to false, so when #else is encountered, we can do an opposing check
set(LAST_DEF ${DEFINE})
set(LAST_CHECK FALSE)
# If the define is not true (it either doesn't exists or is a false result), the lines following will be checked, otherwise they will be skipped
if(${DEFINE})
set(VALID_LINE FALSE)
else(${DEFINE})
set(VALUE_LINE TRUE)
endif(${DEFINE})
else(FOUND_IFNDEF)
# If we found a #else on the line, we check the last define in the opposite direction
if(FOUND_ELSE)
# When LAST_CHECK is true, we were inside a #ifdef, now act as if we are entering a #ifndef section by doing an opposing check
if(LAST_CHECK)
if(${LAST_DEF})
set(VALID_LINE FALSE)
else(${LAST_DEF})
set(VALID_LINE TRUE)
endif(${LAST_DEF})
# When LAST_CHECK is false, we were inside a #ifndef, now act as if we are entering a #ifdef section by doing an opposing check
else(LAST_CHECK)
if(${LAST_DEF})
set(VALID_LINE TRUE)
else(${LAST_DEF})
set(VALID_LINE FALSE)
endif(${LAST_DEF})
endif(LAST_CHECK)
else(FOUND_ELSE)
# If we found a #endif on the line, we'll assume everything following the line is valid until we meet another one of the above lines
if(FOUND_ENDIF)
set(VALID_LINE TRUE)
else(FOUND_ENDIF)
# If we found a #include on the line, add the entire line to the list of includes unless the line isn't valid
if(FOUND_INCLUDE)
if(VALID_LINE)
append_to_list(INCLUDES_LIST "${LINE}")
endif(VALID_LINE)
endif(FOUND_INCLUDE)
endif(FOUND_ENDIF)
endif(FOUND_ELSE)
endif(FOUND_IFNDEF)
endif(FOUND_IFDEF)
endforeach(LINE)
set(${INCLUDES} ${INCLUDES_LIST})
endmacro(find_includes)
###############################################################################
# calculate_depends(<source filename> [<optional output variable for includes>])
#
# This macro is used in most of the src (sub)directories to calculate the
# header file dependencies for the given source file.
###############################################################################
macro(calculate_depends SRC)
# Temporarily set that we didn't get a 2nd argument before we actually check if we did get one or not
set(CHECK_ANGLE_INCLUDES FALSE)
# Check for a second argument
if(${ARGC} GREATER 1)
set(CHECK_ANGLE_INCLUDES TRUE)
endif(${ARGC} GREATER 1)
# Find all the lines in the given source file that have any form of #include on them, regardless of whitespace, but only if they are valid for the platform we are on
find_includes(${SRC} INCLUDES)
# Reset the list of headers to empty
set(HEADERS)
# Iterate through the strings containing #include (if any)
foreach(INCLUDE ${INCLUDES})
# Extract the filename from the #include line
extract_include_filename(${INCLUDE} FILENAME QUOTE_TYPE)
if(QUOTE_TYPE STREQUAL "angle brackets")
# The following checks will only be done if there was a request for angle includes to be checked
if(CHECK_ANGLE_INCLUDES)
# Find the path of the include file
if(DEFAULT_INCLUDE_DIRS OR WSDK_PATH OR DEFINED $ENV{VCINSTALLDIR})
find_path(FOUND_${FILENAME}_INCLUDE NAMES ${FILENAME} PATHS ${DEFAULT_INCLUDE_DIRS} ${WSDK_PATH}/include $ENV{VCINSTALLDIR}/include)
else(DEFAULT_INCLUDE_DIRS OR WSDK_PATH OR DEFINED $ENV{VCINSTALLDIR})
find_path(FOUND_${FILENAME}_INCLUDE NAMES ${FILENAME})
endif(DEFAULT_INCLUDE_DIRS OR WSDK_PATH OR DEFINED $ENV{VCINSTALLDIR})
# If the include file was found, add it's path to the list of include paths, but only if it doesn't already exist and isn't in the defaults for the compiler
if(FOUND_${FILENAME}_INCLUDE)
find_in_list(DEFAULT_INCLUDE_DIRS "${FOUND_${FILENAME}_INCLUDE}" FOUND_IN_DEFAULTS)
if(FOUND_IN_DEFAULTS EQUAL -1)
find_in_list(${ARGV1} "${FOUND_${FILENAME}_INCLUDE}" FOUND_IN_INCLUDES)
if(FOUND_IN_INCLUDES EQUAL -1)
append_to_list(${ARGV1} "${FOUND_${FILENAME}_INCLUDE}")
endif(FOUND_IN_INCLUDES EQUAL -1)
endif(FOUND_IN_DEFAULTS EQUAL -1)
else(FOUND_${FILENAME}_INCLUDE)
message(FATAL_ERROR "${SRC} needs header file ${FILENAME} but we were unable to locate that header file! Check that the header file is within the search path of your OS.")
endif(FOUND_${FILENAME}_INCLUDE)
endif(CHECK_ANGLE_INCLUDES)
endif(QUOTE_TYPE STREQUAL "angle brackets")
endforeach(INCLUDE)
endmacro(calculate_depends)
###############################################################################
# calculate_libraries(<source filename> <output variable for linker flags> <output variable for extra depends>)
#
# This macro is used in most of the src (sub)directories to calculate the
# library dependencies for the given source file.
###############################################################################
macro(calculate_libraries SRC SRC_LDFLAGS EXTRA_DEPENDS)
# Set up a temporary LDFLAGS for this file
set(THIS_LDFLAGS "${LDFLAGS}")
# Reset extra dependencies
set(EXTRA_DEPENDENCIES)
# Reset library paths
set(LIBRARY_PATHS)
# Reset libraries
set(LIBRARIES)
# Check to see if there are any lines matching: /* RequiredLibraries: [something] */
read_from_file(${SRC} "/\\\\*[ \t]*RequiredLibraries:[ \t]*.*[ \t]*\\\\*/" REQUIRED_LIBRARIES)
# Iterate through those lines
foreach(REQUIRED_LIBRARY ${REQUIRED_LIBRARIES})
# Strip off the /* RequiredLibraries: and */ from the line
string(REGEX REPLACE "/\\*[ \t]*RequiredLibraries:[ \t]*([^ \t]*)[ \t]*\\*/" "\\1" REQUIRED_LIBRARY ${REQUIRED_LIBRARY})
# Replace all commas with semicolons
string(REGEX REPLACE "," ";" REQUIRED_LIBRARY ${REQUIRED_LIBRARY})
# Iterate through the libraries given
foreach(LIBRARY ${REQUIRED_LIBRARY})
# Locate the library to see if it exists
if(DEFAULT_LIBRARY_DIRS OR WSDK_PATH OR DEFINED $ENV{VCINSTALLDIR})
find_library(FOUND_${LIBRARY}_LIBRARY NAMES ${LIBRARY} PATHS ${DEFAULT_LIBRARY_DIRS} ${WSDK_PATH}/lib $ENV{VCINSTALLDIR}/lib)
else(DEFAULT_LIBRARY_DIRS OR WSDK_PATH OR DEFINED $ENV{VCINSTALLDIR})
find_library(FOUND_${LIBRARY}_LIBRARY NAMES ${LIBRARY})
endif(DEFAULT_LIBRARY_DIRS OR WSDK_PATH OR DEFINED $ENV{VCINSTALLDIR})
# If the library was found, we will add it to the linker flags
if(FOUND_${LIBRARY}_LIBRARY)
# Get the path only of the library, to add it to linker flags
get_filename_component(LIBRARY_PATH ${FOUND_${LIBRARY}_LIBRARY} PATH)
if(MSVC)
# For Visual Studio, instead of editing the linker flags, we'll add the library to a separate list of extra dependencies
append_to_list(EXTRA_DEPENDENCIES "${FOUND_${LIBRARY}_LIBRARY}")
else(MSVC)
# For all others, add the library paths and libraries
append_to_list(LIBRARY_PATHS "${LIBRARY_PATH}")
append_to_list(LIBRARIES "${LIBRARY}")
endif(MSVC)
else(FOUND_${LIBRARY}_LIBRARY)
# In the case of the library not being found, we fatally error so CMake stops trying to generate
message(FATAL_ERROR "${SRC} needs library ${LIBRARY} but we were unable to locate that library! Check that the library is within the search path of your OS.")
endif(FOUND_${LIBRARY}_LIBRARY)
endforeach(LIBRARY)
endforeach(REQUIRED_LIBRARY)
# Remove duplicates from the library paths
if(LIBRARY_PATHS)
remove_list_duplicates(LIBRARY_PATHS)
endif(LIBRARY_PATHS)
# Remove diplicates from the libraries
if(LIBRARIES)
remove_list_duplicates(LIBRARIES)
endif(LIBRARIES)
# Iterate through library paths and add them to the linker flags
foreach(LIBRARY_PATH ${LIBRARY_PATHS})
find_in_list(DEFAULT_LIBRARY_DIRS "${LIBRARY_PATH}" FOUND_IN_DEFAULTS)
if(FOUND_IN_DEFAULTS EQUAL -1)
set(THIS_LDFLAGS "${THIS_LDFLAGS} -L${LIBRARY_PATH}")
endif(FOUND_IN_DEFAULTS EQUAL -1)
endforeach(LIBRARY_PATH)
# Iterate through libraries and add them to the linker flags
foreach(LIBRARY ${LIBRARIES})
set(THIS_LDFLAGS "${THIS_LDFLAGS} -l${LIBRARY}")
endforeach(LIBRARY)
set(${SRC_LDFLAGS} "${THIS_LDFLAGS}")
set(${EXTRA_DEPENDS} "${EXTRA_DEPENDENCIES}")
endmacro(calculate_libraries)
###############################################################################
# add_to_cpack_ignored_files(<item> [TRUE])
#
# A macro to update the environment variable CPACK_IGNORED_FILES which
# contains a list of files for CPack to ignore. If the optional 2nd argument
# of TRUE is given, periods will be converted to \\. for CPack.
###############################################################################
macro(add_to_cpack_ignored_files ITEM)
# Temporary copy of the orignal item
set(REAL_ITEM "${ITEM}")
# If we have 2+ arguments, assume that the second one was something like TRUE (doesn't matter really) and convert periods so they will be \\. for CPack
if(${ARGC} GREATER 1)
string(REPLACE "." "\\\\." REAL_ITEM ${REAL_ITEM})
endif(${ARGC} GREATER 1)
# If the environment variable is already defined, just tack the item to the end
if(DEFINED ENV{CPACK_IGNORED_FILES})
set(ENV{CPACK_IGNORED_FILES} "$ENV{CPACK_IGNORED_FILES};${REAL_ITEM}")
# Otherwise set the environment variable to the item
else(DEFINED ENV{CPACK_IGNORED_FILES})
set(ENV{CPACK_IGNORED_FILES} "${REAL_ITEM}")
endif(DEFINED ENV{CPACK_IGNORED_FILES})
endmacro(add_to_cpack_ignored_files)
+474
View File
@@ -0,0 +1,474 @@
# This usage of CMake requires at least version 2.4 (checks are made to determine what to use when certain versions lack functions)
cmake_minimum_required(VERSION 2.4 FATAL_ERROR)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
# If the Source dir and the Binary dir are the same, we are building in-source, which we will disallow due to Autotools being there (but only on non-Windows)
if(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR} AND NOT WIN32)
message(FATAL_ERROR "You can not use CMake to build Anope from the root of it's source tree! Remove the CMakeCache.txt file from this directory, then create a separate directory (either below this directory or elsewhere), and then re-run CMake from there.")
endif(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR} AND NOT WIN32)
# Set the project as C++ primarily, but have C enabled for the checks required later
project(Anope CXX)
enable_language(C)
# Detect the version of CMake for the later conditional checks
execute_process(COMMAND ${CMAKE_COMMAND} --version OUTPUT_VARIABLE VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
string(REGEX REPLACE "cmake version 2\\.(.*)" "\\1" ONLY_VERSION "${VERSION}")
string(REGEX MATCH "-patch .*$" HAS_PATCH "${ONLY_VERSION}")
if(HAS_PATCH)
string(REGEX REPLACE "(.*)-patch .*" "\\1" MINOR_VERSION "${ONLY_VERSION}")
string(REGEX REPLACE ".*-patch (.*)" "\\1" PATCH_VERSION "${ONLY_VERSION}")
else(HAS_PATCH)
string(REGEX MATCH "\\." HAS_DOT "${ONLY_VERSION}")
if(HAS_DOT)
string(REGEX REPLACE "(.*)\\..*" "\\1" MINOR_VERSION "${ONLY_VERSION}")
string(REGEX REPLACE ".*\\.(.*)" "\\1" PATCH_VERSION "${ONLY_VERSION}")
else(HAS_DOT)
string(REGEX REPLACE "(.*)-beta" "\\1" MINOR_VERSION "${ONLY_VERSION}")
if(MINOR_VERSION STREQUAL "4-1\n")
set(PATCH_VERSION 1)
else(MINOR_VERSION STREQUAL "4-1\n")
set(PATCH_VERSION 0)
endif(MINOR_VERSION STREQUAL "4-1\n")
set(MINOR_VERSION 4)
endif(HAS_DOT)
endif(HAS_PATCH)
# Detect is we are using CMake 2.6 or better, these versions include functions that require less work than CMake 2.4 does
if(MINOR_VERSION GREATER 5)
set(CMAKE26_OR_BETTER TRUE)
set(CMAKE248_OR_BETTER TRUE)
set(CMAKE244_OR_BETTER TRUE)
set(CMAKE242_OR_BETTER TRUE)
else(MINOR_VERSION GREATER 5)
set(CMAKE26_OR_BETTER FALSE)
# Also detect if we are using CMake 2.4.8 or better, the FIND sub-command of list() is non-existant in earlier versions
if(PATCH_VERSION GREATER 7)
set(CMAKE248_OR_BETTER TRUE)
set(CMAKE244_OR_BETTER TRUE)
set(CMAKE242_OR_BETTER TRUE)
else(PATCH_VERSION GREATER 7)
set(CMAKE248_OR_BETTER FALSE)
# Also detect if we are using CMake 2.4.4 or better, the CheckCXXCompilerFlag module and SORT sub-command of list() are non-existant in earlier versions
if(PATCH_VERSION GREATER 3)
set(CMAKE244_OR_BETTER TRUE)
set(CMAKE242_OR_BETTER TRUE)
else(PATCH_VERSION GREATER 3)
set(CMAKE244_OR_BETTER FALSE)
# ALSO detect if we are using CMake 2.4.2 or better, the APPEND sub-command of list() is non-existant in earlier versions
if(PATCH_VERSION GREATER 1)
set(CMAKE242_OR_BETTER TRUE)
else(PATCH_VERSION GREATER 1)
set(CMAKE242_OR_BETTER FALSE)
endif(PATCH_VERSION GREATER 1)
endif(PATCH_VERSION GREATER 3)
endif(PATCH_VERSION GREATER 7)
endif(MINOR_VERSION GREATER 5)
# Override the module include path to include our directory, for our Anope.cmake, as well as we are using our own version of the NSIS template
set(CMAKE_MODULE_PATH ${Anope_SOURCE_DIR})
include(Anope)
# Force the locale to C for later uses of things like gcc so the messages come up in English, not the user's default language
set(ENV{LC_ALL} C)
# Start with empty defaults for library and include directories, to be used by GNU compilers only
set(DEFAULT_LIBRARY_DIRS)
set(DEFAULT_INCLUDE_DIRS)
# If we are using a GNU compiler (have to use CXX because it seems to fail on C), we will be able to determine it's default paths for libraries and includes
if(CMAKE_COMPILER_IS_GNUCXX)
# First look for the compiler's default library directories
execute_process(COMMAND ${CMAKE_C_COMPILER} -print-search-dirs OUTPUT_VARIABLE LINES OUTPUT_STRIP_TRAILING_WHITESPACE)
# Find only the part after "libraries: "
string(REGEX REPLACE ".*\nlibraries: (.*)$" "\\1" LINE "${LINES}")
# Replace the colons in the list with semicolons (only when not on MinGW, which uses semicolons already), and if on MinGW, just copy the line
if(NOT MINGW)
string(REGEX REPLACE ":" ";" LIBRARIES ${LINE})
else(NOT MINGW)
set(LIBRARIES "${LINE}")
endif(NOT MINGW)
# Iterate through the libraries
foreach(LIBRARY ${LIBRARIES})
# Check if the first character is an equal sign, and skip that library directory as it is (I believe) the primary default and shows up later in the list anyways
string(SUBSTRING ${LIBRARY} 0 1 FIRST_CHAR)
if(NOT FIRST_CHAR STREQUAL "=")
# If the directory had no = in front of it, make sure it's absolute and add it to the list of default library directories
get_filename_component(LIBRARY ${LIBRARY} ABSOLUTE)
append_to_list(DEFAULT_LIBRARY_DIRS ${LIBRARY})
endif(NOT FIRST_CHAR STREQUAL "=")
endforeach(LIBRARY)
# Remove duplicate entries from the list
if(DEFAULT_LIBRARY_DIRS)
remove_list_duplicates(DEFAULT_LIBRARY_DIRS)
endif(DEFAULT_LIBRARY_DIRS)
# Next, we look for the compiler's default include directories
# Run the command to find the default include directories
execute_process(COMMAND ${CMAKE_C_COMPILER} -v -x c++ -E ${CMAKE_CURRENT_SOURCE_DIR}/empty.c ERROR_VARIABLE LINES OUTPUT_QUIET ERROR_STRIP_TRAILING_WHITESPACE)
# Convert the new lines to semicolons
string(REGEX REPLACE "\n" ";" LINES ${LINES})
# Temporary variable saying if we are in the search list or not
set(IN_SEARCH_LIST FALSE)
# Iterate through the lines
foreach(LINE ${LINES})
# If the line has the following on it, the next lines will contain directory names
if(LINE STREQUAL "#include <...> search starts here:")
set(IN_SEARCH TRUE)
else(LINE STREQUAL "#include <...> search starts here:")
# If the line has the following on it, we hit the end of the list
if(LINE STREQUAL "End of search list.")
set(IN_SEARCH FALSE)
else(LINE STREQUAL "End of search list.")
# If we are within the block between the above two lines...
if(IN_SEARCH)
# Get everything but the first character of the line
string(LENGTH ${LINE} LINE_LENGTH)
math(EXPR LINE_LENGTH "${LINE_LENGTH} - 1")
string(SUBSTRING ${LINE} 1 ${LINE_LENGTH} INCLUDE)
# Convert the path to an absolute one, just in case it wasn't
get_filename_component(INCLUDE ${INCLUDE} ABSOLUTE)
# Add that directory to the list of default include directories
append_to_list(DEFAULT_INCLUDE_DIRS ${INCLUDE})
endif(IN_SEARCH)
endif(LINE STREQUAL "End of search list.")
endif(LINE STREQUAL "#include <...> search starts here:")
endforeach(LINE)
# Remove duplicate entries from the list
if(DEFAULT_INCLUDE_DIRS)
remove_list_duplicates(DEFAULT_INCLUDE_DIRS)
endif(DEFAULT_INCLUDE_DIRS)
endif(CMAKE_COMPILER_IS_GNUCXX)
# If we are using Visual Studio, locate the path of the Windows Server 2008 SDK or Windows Server 2003 Platform SDK, depending on which is installed
if(MSVC)
# If the path comes up as "/registry" from any of these, the path wasn't found, otherwise, we'll set WSDK_PATH to the corresponding path
# Look for the 2008 SDK under HKLM first
get_filename_component(WSDK2008_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows;CurrentInstallFolder]" ABSOLUTE CACHE)
if(WSDK2008_PATH STREQUAL "/registry")
# If not found, look for the 2003 SDK under HKLM
get_filename_component(WSDK2003_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MicrosoftSDK\\InstalledSDKs\\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1;Install Dir]" ABSOLUTE CACHE)
if(WSDK2003_PATH STREQUAL "/registry")
# If not found, look for the 2008 SDK under HKCU
get_filename_component(WSDK2008_PATH "[HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows;CurrentInstallFolder]" ABSOLUTE CACHE)
if(WSDK2008_PATH STREQUAL "/registry")
# If not found, look for the 2003 SDK under HKCU
get_filename_component(WSDK2003_PATH "[HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\MicrosoftSDK\\InstalledSDKs\\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1;Install Dir]" ABSOLUTE CACHE)
if(WSDK2003_PATH STREQUAL "/regsitry")
# The SDK was never found, set the path to nothing
set(WSDK_PATH "")
else(WSDK2003_PATH STREQUAL "/regsitry")
set(WSDK_PATH "${WSDK2003_PATH}")
endif(WSDK2003_PATH STREQUAL "/regsitry")
else(WSDK2008_PATH STREQUAL "/registry")
set(WSDK_PATH "${WSDK2008_PATH}")
endif(WSDK2008_PATH STREQUAL "/registry")
else(WSDK2003_PATH STREQUAL "/registry")
set(WSDK_PATH "${WSDK2003_PATH}")
endif(WSDK2003_PATH STREQUAL "/registry")
else(WSDK2008_PATH STREQUAL "/registry")
set(WSDK_PATH "${WSDK2008_PATH}")
endif(WSDK2008_PATH STREQUAL "/registry")
endif(MSVC)
# If the user specifies -DCMAKE_BUILD_TYPE on the command line, take their definition
# and dump it in the cache along with proper documentation, otherwise set CMAKE_BUILD_TYPE
# to Debug
# Only do this if not using Visual Studio
if(NOT MSVC)
if(CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
else(CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE DEBUG CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
endif(CMAKE_BUILD_TYPE)
endif(NOT MSVC)
# If running under MinGW, we have to force the resource compiler settings (hopefully this will be fixed in a later version of CMake)
if(MINGW)
set(CMAKE_RC_COMPILER_INIT windres)
enable_language(RC)
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <FLAGS> <DEFINES> -o <OBJECT> <SOURCE>")
endif(MINGW)
# Include the checking functions used later in this CMakeLists.txt
include(CheckFunctionExists)
include(CheckIncludeFile)
include(CheckTypeSize)
include(CheckLibraryExists)
if(CMAKE244_OR_BETTER)
include(CheckCXXCompilerFlag)
else(CMAKE244_OR_BETTER)
include(TestCXXAcceptsFlag)
endif(CMAKE244_OR_BETTER)
# Add an optional variable for using run-cc.pl for building, Perl will be checked later regardless of this setting
option(USE_RUN_CC_PL "Use run-cc.pl for building" OFF)
# Use the following directories as includes
include_directories(${Anope_SOURCE_DIR}/include ${Anope_BINARY_DIR}/include ${Anope_BINARY_DIR}/lang)
# If using Windows, always add the _WIN32 define
if(WIN32)
add_definitions(-D_WIN32)
endif(WIN32)
# If using Visual Studio, set the C++ flags accordingly
if(MSVC)
# Remove the default exception handling flags, also remove default warning level flag
string(REPLACE "/EHsc " "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
string(REPLACE "/GX " "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
string(REPLACE "/W3 " "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
# Set the compile flags to have warnings on the max setting (but disable a few annoying ones), exception handling turned on, the proper defines
set(CXXFLAGS "${CXXFLAGS} /W4 /wd4100 /wd4251 /wd4706 /wd4800 /wd4996 /EHs")
add_definitions(-DMSVCPP -D_CRT_SECURE_NO_WARNINGS)
# Otherwise, we're not using Visual Studio
else(MSVC)
# Set the compile flags to have all warnings on (including shadowed variables)
set(CXXFLAGS "${CXXFLAGS} -Wall -Wshadow")
# If on a *nix system, also set the compile flags to remove GNU extensions (favor ISO C++) as well as reject non-ISO C++ code, also remove all leading underscores in exported symbols
if(UNIX)
set(CXXFLAGS "${CXXFLAGS} -ansi -pedantic -fno-leading-underscore")
# Set the module-specific compile flags to the same setting as the compile flags
set(MODULE_CXXFLAGS "${CXXFLAGS}")
# If we aren't on a *nix system, we are using MinGW
else(UNIX)
# Also, if we are building under MinGW, add another define for MinGW
if(MINGW)
add_definitions(-DMINGW)
endif(MINGW)
endif(UNIX)
endif(MSVC)
# If CMake has found that the given system requires a special library for dl* calls, include it with the linker flags
if(CMAKE_DL_LIBS)
set(LDFLAGS "${LDFLAGS} -l${CMAKE_DL_LIBS}")
endif(CMAKE_DL_LIBS)
# Under MinGW, the -shared flag isn't properly set in the module-specific linker flags, add it from the C flags for shared libraries
if(MINGW)
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS}")
endif(MINGW)
# Under Windows, we set the executable name for Anope to be anope
if(WIN32)
set(PROGRAM_NAME anope)
# Under *nix, we set the executable name for Anope to be services
else(WIN32)
set(PROGRAM_NAME services)
endif(WIN32)
# If we are not using Visual Studio, we'll run the following checks
if(NOT MSVC)
# Check if the C++ compiler can accept the -pipe flag, and add it to the compile flags if it works
if(CMAKE244_OR_BETTER)
# If using CMake 2.4.4 or better, we can use check_cxx_compiler_flag
check_cxx_compiler_flag(-pipe HAVE_PIPE_FLAG)
else(CMAKE244_OR_BETTER)
# If using CMake 2.4.3 or older, we will use check_cxx_accepts_flags instead
check_cxx_accepts_flag(-pipe HAVE_PIPE_FLAG)
endif(CMAKE244_OR_BETTER)
# If the flag was accepted, add it to the list of flags
if(HAVE_PIPE_FLAG)
set(CXXFLAGS "${CXXFLAGS} -pipe")
endif(HAVE_PIPE_FLAG)
# The following are additional library checks, they are not required for Windows
if(NOT WIN32)
# Check if socket is within the socket library (if the library exists), and add it to the linker flags if needed
check_library_exists(socket socket "" HAVE_SOCKET_LIB)
if(HAVE_SOCKET_LIB)
set(LDFLAGS "${LDFLAGS} -lsocket")
endif(HAVE_SOCKET_LIB)
# Check if inet_addr is within the nsl library (if the library exists), and add it to the linker flags if needed
check_library_exists(nsl inet_addr "" HAVE_NSL_LIB)
if(HAVE_NSL_LIB)
set(LDFLAGS "${LDFLAGS} -lnsl")
endif(HAVE_NSL_LIB)
endif(NOT WIN32)
endif(NOT MSVC)
# If DEFUMASK wasn't passed to CMake, set a default depending on if RUNGROUP was passed in or not
if(NOT DEFUMASK)
if(RUNGROUP)
set(DEFUMASK "007")
else(RUNGROUP)
set(DEFUMASK "077")
endif(RUNGROUP)
endif(NOT DEFUMASK)
# Check for the existance of the following include files
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
check_include_file(strings.h HAVE_STRINGS_H)
check_include_file(sys/select.h HAVE_SYS_SELECT_H)
# Check for the existance of the following functions
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)
check_function_exists(setgrent HAVE_SETGRENT)
check_function_exists(strcasecmp HAVE_STRCASECMP)
check_function_exists(stricmp HAVE_STRICMP)
check_function_exists(strlcat HAVE_STRLCAT)
check_function_exists(strlcpy HAVE_STRLCPY)
check_function_exists(umask HAVE_UMASK)
check_function_exists(backtrace HAVE_BACKTRACE)
# Check for the existance of the following types
check_type_size(uint8_t UINT8_T)
check_type_size(u_int8_t U_INT8_T)
check_type_size(int16_t INT16_T)
check_type_size(uint16_t UINT16_T)
check_type_size(u_int16_t U_INT16_T)
check_type_size(int32_t INT32_T)
check_type_size(uint32_t UINT32_T)
check_type_size(u_int32_t U_INT32_T)
# Strip the leading and trailing spaces from the compile flags
if(CXXFLAGS)
strip_string(${CXXFLAGS} CXXFLAGS)
endif(CXXFLAGS)
# Strip the leading and trailing spaces from the linker flags
if(LDFLAGS)
strip_string(${LDFLAGS} LDFLAGS)
endif(LDFLAGS)
# Search for the following programs
find_program(GREP grep)
find_program(SH sh)
find_program(CHGRP chgrp)
find_program(CHMOD chmod)
find_program(PERL perl)
# If perl is included on the system and the user wants to use run-cc.pl, change the commands for compiling and linking
if(PERL AND USE_RUN_CC_PL)
set(CMAKE_CXX_COMPILE_OBJECT "${PERL} ${Anope_SOURCE_DIR}/run-cc.pl -q ${CMAKE_CXX_COMPILE_OBJECT}")
set(CMAKE_CXX_LINK_EXECUTABLE "${PERL} ${Anope_SOURCE_DIR}/run-cc.pl -q ${CMAKE_CXX_LINK_EXECUTABLE}")
set(CMAKE_CXX_CREATE_SHARED_MODULE "${PERL} ${Anope_SOURCE_DIR}/run-cc.pl -q ${CMAKE_CXX_CREATE_SHARED_MODULE}")
endif(PERL AND USE_RUN_CC_PL)
# If a INSTDIR was passed in to CMake, use it as the install prefix, otherwise set the default install prefix to the services directory under the user's home directory
if(INSTDIR)
set(CMAKE_INSTALL_PREFIX "${INSTDIR}")
else(INSTDIR)
set(CMAKE_INSTALL_PREFIX "$ENV{HOME}/services")
endif(INSTDIR)
# Version number processing
# Find all lines in version.log that start with VERSION_
read_from_file(${Anope_SOURCE_DIR}/version.log "^VERSION_" VERSIONS)
# Iterate through the strings found
foreach(VERSION_STR ${VERSIONS})
# Get the length of the string
string(LENGTH ${VERSION_STR} VERSION_LEN)
# Subtract 16 from the string's length (8 for VERSION_, 5 more for the type, 2 for the space and leading quote, 1 for the trailing quote)
math(EXPR VERSION_NUM_LEN "${VERSION_LEN} - 16")
# Extract the type from the string
string(SUBSTRING ${VERSION_STR} 8 5 VERSION_TYPE)
# Extract the actual value from the string
string(SUBSTRING ${VERSION_STR} 15 ${VERSION_NUM_LEN} VERSION)
# Set the version type to the value extract from above
set(VERSION_${VERSION_TYPE} ${VERSION})
endforeach(VERSION_STR ${VERSIONS})
# Set the version variables based on what was found above
set(VERSION_COMMA "${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_BUILD}")
set(VERSION_DOTTED_NOBUILD "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
set(VERSION_DOTTED "${VERSION_DOTTED_NOBUILD}.${VERSION_BUILD}")
set(VERSION_FULL "${VERSION_DOTTED}${VERSION_EXTRA}")
set(VERSION_FULL_NOBUILD "${VERSION_DOTTED_NOBUILD}${VERSION_EXTRA}")
# Only do the following for Windows
if(WIN32)
# Generate the win32.rc file using the above variables
configure_file(${Anope_SOURCE_DIR}/src/win32.rc.cmake ${Anope_BINARY_DIR}/src/win32.rc)
endif(WIN32)
# Add the initial files to ignore which will be ignored regardless of if you are building in-source or out-of-source
add_to_cpack_ignored_files(".git\;config.cache\;.svn\;CMakeFiles\;sysconf.h$\;Makefile.inc$\;config.log\;config.status\;build\;autom4te.cache" TRUE)
# Add the files we don't want the periods converted for
add_to_cpack_ignored_files(".\\\\\\\\.so$;.\\\\\\\\.o$;.\\\\\\\\.s$;${Anope_SOURCE_DIR}/Makefile$")
# If the two directories are the same, we are building in-source, thus we need to ignore more files from the build
if(${Anope_SOURCE_DIR} STREQUAL ${Anope_BINARY_DIR})
# Add the files that need their periods converted
add_to_cpack_ignored_files("Makefile\;cmake_install.cmake\;sysconf.h$\;CMakeCache.txt\;install_manifest.txt" TRUE)
# Add the files we don't want the periods converted for
add_to_cpack_ignored_files(".\\\\\\\\.so$;CPack.;anope-${VERSION_FULL_NOBUILD}-source\\\\\\\\..")
# If using Visual Studio, add these files as well
if(MSVC)
add_to_cpack_ignored_files(".vcproj$\;.sln$\;.ncb$\;.suo$\;.dir$\;.ilk$\;.exp$\;.pdb$\;.lib$\;/debug$;/release$;/relwithdebinfo$;/minsizerel$" TRUE)
endif(MSVC)
endif(${Anope_SOURCE_DIR} STREQUAL ${Anope_BINARY_DIR})
# Go into the following directories and run their CMakeLists.txt as well
add_subdirectory(data)
add_subdirectory(docs)
add_subdirectory(lang)
add_subdirectory(src)
add_subdirectory(include)
# Get the filename of the Anope binary, to use later
get_target_property(SERVICES_BINARY ${PROGRAM_NAME} LOCATION)
get_filename_component(SERVICES_BINARY ${SERVICES_BINARY} NAME)
# At install time, create the following additional directories
install(CODE "file(MAKE_DIRECTORY \"\${CMAKE_INSTALL_PREFIX}/data/backups\")")
install(CODE "file(MAKE_DIRECTORY \"\${CMAKE_INSTALL_PREFIX}/data/logs\")")
install(CODE "file(MAKE_DIRECTORY \"\${CMAKE_INSTALL_PREFIX}/data/modules/runtime\")")
# On non-Windows platforms, if RUNGROUP is set, change the permissions of the below directories, as well as the group of the data directory
if(NOT WIN32 AND RUNGROUP)
install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\${CMAKE_INSTALL_PREFIX}/data/backups\")")
install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\${CMAKE_INSTALL_PREFIX}/data/logs\")")
install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\${CMAKE_INSTALL_PREFIX}/data/modules/runtime\")")
install(CODE "execute_process(COMMAND ${CHGRP} -R ${RUNGROUP} \"\${CMAKE_INSTALL_PREFIX}\")")
endif(NOT WIN32 AND RUNGROUP)
# On Windows platforms, install extra files
if(WIN32)
install(FILES ${Anope_SOURCE_DIR}/anope.bat
DESTINATION bin
)
install(FILES ${Anope_SOURCE_DIR}/docs/Changes ${Anope_SOURCE_DIR}/docs/Changes.conf ${Anope_SOURCE_DIR}/docs/Changes.lang
DESTINATION .
)
endif(WIN32)
# Only process the CPack section if we have CPack
if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
# Various options for CPack
set(CPACK_PACKAGE_NAME "Anope IRC Services")
set(CPACK_PACKAGE_VENDOR "Anope Team")
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}${VERSION_EXTRA}")
set(CPACK_PACKAGE_FILE_NAME "anope-${VERSION_FULL_NOBUILD}")
set(CPACK_RESOURCE_FILE_LICENSE "${Anope_SOURCE_DIR}/docs/COPYING")
# The following doesn't actually do anything. :(
#set(CPACK_RESOURCE_FILE_README "${Anope_SOURCE_DIR}/docs/README")
# The following is primarily for NSIS
if(WIN32)
# Also for Windows, include installing the MSVCRT library
include(InstallRequiredSystemLibraries)
set(CPACK_GENERATOR "NSIS")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Anope")
set(CPACK_PACKAGE_EXECUTABLES "")
set(CPACK_NSIS_MENU_LINKS
"bin\\\\${SERVICES_BINARY}" "Anope IRC Services"
"bin\\\\anope.bat\\\" \\\"-debug -nofork" "Anope IRC Services (Debug and Window Logging)"
"bin\\\\anope.bat\\\" \\\"-nofork" "Anope IRC Services (Window Logging)"
"bin\\\\anope.bat\\\" \\\"-nothird" "Anope IRC Services (No Third Party Modules)"
"http://www.anope.org/" "Anope Web Site"
)
# The following doesn't work, but a bug report has been filed about it
#set(CPACK_CREATE_DESKTOP_LINK_${SERVICES_BINARY} TRUE)
set(CPACK_NSIS_MUI_ICON "${Anope_SOURCE_DIR}/src\\\\anope-icon.ico")
set(CPACK_NSIS_MUI_UNIICON "${Anope_SOURCE_DIR}/src\\\\anope-icon.ico")
set(CPACK_NSIS_INSTALLED_ICON_NAME "${SERVICES_BINARY}")
set(CPACK_NSIS_URL_INFO_ABOUT "http://www.anope.org/")
set(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
endif(WIN32)
set(CPACK_SOURCE_PACKAGE_FILE_NAME "anope-${VERSION_FULL_NOBUILD}-source")
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_IGNORE_FILES "$ENV{CPACK_IGNORED_FILES}")
set(CPACK_MONOLITHIC_INSTALL TRUE)
include(CPack)
endif(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
-1435
View File
File diff suppressed because it is too large Load Diff
-917
View File
@@ -1,917 +0,0 @@
Anope Version 1.8.9
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.8
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.7
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.6
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.5
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# ForkForMail [OPTIONAL]
#
# When enabled, services will fork when sending mail, which means there is no
# services lag from mail. This is only supported on operating systems that allow
# the use of forking (eg, not Windows).
#
#ForkForMail
inspircd20 - IRCDModule
** MODIFIED CONFIGURATION DIRECTIVES **
# DefSessionLimit <limit> [REQUIRED]
# Default session limit per host. Once a host reaches it's session limit,
# all clients attempting to connect from that host will be killed.
DefSessionLimit 3
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.4
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.3
-------------------
** ADDED CONFIGURATION DIRECTIVES **
inspircd12 - IRCDModule
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.2
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.1
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
# IRCDModule <module_name> [REQUIRED]
# The ircd protocol module should be used when connecting anope to your
# chosen IRCD. This should be one of the following options, or a file
# provided by your IRCD author.
#
# Bahamut 1.4.27 [or later] - "bahamut"
# Charybdis 1.0 [or later] - "charybdis"
# DreamForge 4.6.7 - "dreamforge"
# Hybrid IRCd 7.0 [experimental] - "hybrid"
# InspIRCd 1.1 [beta 8 or later] - "inspircd11"
# Plexus 3.0 [or later] - "plexus3"
# Plexus 2.0 [or later] - "plexus2"
# PTLink 6.15.0 [experimental] - "ptlink"
# RageIRCd 2.0.x - "rageircd"
# Ratbox 2.0.6 [or later] - "ratbox"
# ShadowIRCD 4.0x [beta 7 or later] - "shadowircd"
# Solid IRCD 3.4.x [3.4.6 or later] - "solidircd"
# UltimateIRCd 3.0.0 [or later] - "ultimate3"
# UltimateIRCd 2.8.2 [or later] - "ultimate2"
# Unreal 3.2 [beta-19 or later] - "unreal32"
# Unreal 3.1.1 [or later] - "unreal31"
# ViagraIRCd 1.3.x [or later] - "viagra"
#
#IRCDModule "unreal32"
# SuperAdmin [OPTIONAL]
# When enabled, Services Roots will be able to use SuperAdmin [ON|OFF]
# which will temporarily grant them extra privileges, such as being a
# founder of _all_ channels, ability to adjust another users modes etc..
#SuperAdmin
# UnRestrictSAdmin [OPTIONAL]
# On many ircd Anope removes the umode of +a from users whom are not
# Service Admin in Anope. This mode is NOT used by Anope for any form
# of access. Thus this option allows them to keep the mode without having
# to be a Service Admin in Anope
#UnRestrictSAdmin
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.8.0
-------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.24
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.23b
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.23
--------------------
** ADDED CONFIGURATION DIRECTIVES **
# OSIgnoreDBName [OPTIONAL]
# Module: os_ignore_db
#
# Use the given filename as database for services ignores.
# If not given, the default of "os_ignore.db" will be used.
#
#OSIgnoreDBName "os_ignore.db"
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.22
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
# BotCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of BotServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
BotCoreModules "bs_help bs_botlist bs_assign bs_set bs_kick bs_badwords bs_act bs_info bs_say bs_unassign bs_bot bs_fantasy bs_fantasy_kick bs_fantasy_kickban bs_fantasy_owner bs_fantasy_seen"
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.21
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.20
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.19
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.18
--------------------
** ADDED CONFIGURATION DIRECTIVES **
###########################################################################
#
# Encryption settings
#
###########################################################################
# EncModule <module_name> [REQUIRED]
# The encryption module to use when dealing with passwords.
# This determines how the passwords are stored in the databases,
# and does not add any security as far as transmitting passwords over
# the network goes.
# enc_none provides no password encryption, storing the password in
# plain text, this is the most versiatle as passwords can easily be
# recovered.
#
# NOTE: users of anope's previous (broken) md5 implementation should
# select the enc_old option, or things may break.
#
# NOTE2: Some of these encryption methods are one-way (md5, sha1, old)
# meaning that you can NOT retrive the passwords in plain text once
# encrypted.
#
# Plain Text - enc_none
# Previous (broken) MD5 - enc_old
# MD5 - enc_md5
# SHA1 - enc_sha1
#
EncModule "enc_none"
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.17
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.16
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.15
--------------------
** ADDED CONFIGURATION DIRECTIVES **
# UseStrictPrivMsg [OPTIONAL]
# Using this directive will force services to only respond to privmsgs
# addressed to Nick@ServerName - e.g. NickServ@localhost.net.
# This should be used on conjunction with ircd aliases.
#
#UseStrictPrivMsg
# NSResendDelay <time> [RECOMMENDED]
# Sets the minimum length of time between consecutive uses of the
# RESEND command. If not given, this restriction is disabled (note
# that this allows "resend flooding" or "mail bombing").
NSResendDelay 90s
NSDefAutoop
** MODIFIED CONFIGURATION DIRECTIVES **
ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail os_info hs_request"
# LimitSessions [OPTIONAL]
# Enables session limiting. Session limiting prevents users from
# connecting more than a certain number of times from the same host at the
# same time - thus preventing most types of cloning. Once a host reaches
# it's session limit, all clients attempting to connect from that host
# will be killed. Exceptions to the default session limit, which are based
# on host names, can be defined via the exception list. It should be noted
# that session limiting, along with a large exception list, can degrade
# services' performance. See the source and comments in sessions.c and the
# online help for more information about session limiting.
#
# NOTE: This option is not available when STREAMLINED is defined in
# the Makefile.
LimitSessions
** DELETED CONFIGURATION DIRECTIVES **
# NSAutoOPDBName [OPTIONAL]
# Module: ns_noop
#
# Use the given filename as database for the autoop list. If not given,
# the default of "autoop.db" will be used.
#
#NSAutoOPDBName "autoop.db"
# KillClonesAkillExpire <time> [REQUIRED]
# Sets the expiry time for autokills added for hosts that have been
# killed using the KILLCLONES command.
KillClonesAkillExpire 30m
# CheckClones <minusers> <maxdelay> <warningdelay> [DEPRECATED]
# Causes Services to try and detect "clones" connecting to the network.
# A WALLOPS (or GOPER, if supported on the IRC server) will be sent if
# Services thinks it has found clones.
#
# This feature has been superseded by Session Limiting.
#
# <minusers> sets the minimum number of users which must successively
# connect to the network before Services will send a clone warning.
#
# <maxdelay> sets the maximum time that can elapse between successive
# users before Services decides they are not clones.
#
# <warningdelay> sets the minimum time between clone warnings for
# clones from the same host.
#
# NOTE: This option is not available when STREAMLINED is defined in
# the Makefile.
# CheckClones 5 10s 30s
# KillClones [DISCOURAGED] [DEPRECATED]
# Causes Services to kill users which trigger the clone warnings. (If
# CheckClones is disabled, this will have no effect.)
#
# This feature has been superceded by Session Limiting.
#
# BEWARE! The clone checking code is easily fooled; it can be
# triggered falsely under many conditions, for example:
#
# - Multiple users connecting from a shell machine.
#
# - A single user repeatedly connecting and disconnecting.
#
# Be very sure you know what you're doing before you even think about
# enabling this option, and remember that Services comes with no
# warranty.
#
# If that wasn't enough discouragement:
#
# ***** DO NOT ENABLE THIS OPTION! *****
#
# NOTE: This option is not available when STREAMLINED is defined in
# the Makefile.
#KillClones
Anope Version 1.7.13
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.12
--------------------
** ADDED CONFIGURATION DIRECTIVES **
# BSFantasyCharacter [REQUIRED]
# This option allows you to change the default prefix for fantasy
# commands in channels. This character will have to be prepended to all
# fantasy commands. If you choose "!" (the default), fantasy commands
# will, for example, be "!kick", "!op", etc.
BSFantasyCharacter "!"
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.11
--------------------
** ADDED CONFIGURATION DIRECTIVES **
# NickLen [REQUIRED]
# Set this to the maximum allowed nick length on your network. Anope does
# not support values larger than 31, so setting them makes no sense. Be
# sure to set this correctly, as setting this wrong can result in services
# being disconnected from the network.
NickLen 31
** MODIFIED CONFIGURATION DIRECTIVES **
# UserKey1|2|3 <value> [RECOMMENDED]
#
# These keys are required to initiate the random number generator. These
# numbers MUST be random as you want your passcodes to be random. Don't
# give these keys to anyone! Keep them private!
#
# *** NOTE ***
# If you don't enable these, or keep their default values, any talented
# programmer would be able to easily "guess" random strings used to mask
# information. Be safe, and come up with three different 7 digit numbers
#UserKey1 9866235
#UserKey2 8362013
#UserKey3 2362899
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.10
--------------------
** ADDED CONFIGURATION DIRECTIVES **
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.9
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# IRCDModule <module_name> [REQUIRED]
# The ircd protocol module should be used when connecting anope to your
# chosen IRCD. This should be one of the following options, or a file
# provided by your IRCD author.
#
# Bahamut 1.4.27 [or later] - "bahamut"
# DreamForge 4.6.7 - "dreamforge"
# Hybrid IRCd 7.0 [experimental] - "hybrid"
# InspIRCd 1.0 Beta 5 - "inspircd"
# InspIRCd module is provided by Brain <brain@inspircd.org>
# Plexus 2.0 [or later] - "plexus"
# PTLink 6.15.0 [experimental] - "ptlink"
# RageIRCd 2.0.0 [beta-6 of later] - "rageircd"
# Ratbox 2.0.6 [or later] - "ratbox"
# ShadowIRCD 4.0x [beta 7 or later] - "shadowircd"
# Solid IRCD 3.4.x [3.4.6 or later] - "solidircd"
# UltimateIRCd 3.0.0 [or later] - "ultimate3"
# UltimateIRCd 2.8.2 [or later] - "ultimate2"
# Unreal 3.2 [beta-19 or later] - "unreal32"
# Unreal 3.1.1 [or later] - "unreal31"
# ViagraIRCd 1.3.x [or later] - "viagra"
#
#IRCDModule "unreal32"
# HostCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of HostServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
HostCoreModules "hs_help hs_on hs_off hs_group hs_list hs_set hs_setall hs_del hs_delall"
# MemoCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of MemoServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
MemoCoreModules "ms_send ms_cancel ms_list ms_read ms_del ms_set ms_info ms_rsend ms_check ms_staff ms_sendall ms_help"
# HelpCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of HelpServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
HelpCoreModules "he_help"
# BotCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of BotServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
BotCoreModules "bs_help bs_botlist bs_assign bs_set bs_kick bs_badwords bs_act bs_info bs_say bs_unassign bs_bot bs_fantasy bs_fantasy_kick bs_fantasy_kickban bs_fantasy_owner bs_fantasy_seen bs_fantasy_unban"
# OperCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of OperServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
OperCoreModules "os_help os_global os_stats os_oper os_admin os_staff os_mode os_kick os_clearmodes os_killclones os_akill os_sgline os_sqline os_szline os_chanlist os_userlist os_logonnews os_randomnews os_opernews os_session os_noop os_jupe os_ignore os_set os_reload os_update os_restart os_quit os_shutdown os_defcon os_chankill os_svsnick os_oline os_umode os_modload os_modunload os_modlist os_modinfo"
# NickCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of NickServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
NickCoreModules "ns_help ns_register ns_group ns_identify ns_access ns_set ns_drop ns_recover ns_release ns_sendpass ns_ghost ns_alist ns_info ns_list ns_logout ns_status ns_update ns_getpass ns_getemail ns_forbid ns_suspend"
# ChanCoreModules <list> [RECOMMENDED]
# These modules will be loaded as part of ChanServ's core.
# It is not recommended you change these settings unless you are
# sure you understand exactly what it is you are doing.
ChanCoreModules "cs_help cs_register cs_identify cs_set cs_xop cs_access cs_akick cs_drop cs_sendpass cs_ban cs_clear cs_modes cs_getkey cs_invite cs_kick cs_list cs_logout cs_topic cs_info cs_getpass cs_forbid cs_suspend cs_status"
# OSOpersOnly [RECOMMENDED]
# If this is defined, only IRC Operators will be permitted to use
# OperServ, regardless of module based command access restrictions.
OSOpersOnly
# NSEmailMax [OPTIONAL]
# Module: ns_maxemail
#
# Limit the amount of registrations with the same email address to the
# amount given here. If set to 0 or left commented, there will be no limit
# enforced when registering new accounts or using /msg NickServ SET EMAIL.
#
#NSEmailMax 1
# NSAutoOPDBName [OPTIONAL]
# Module: ns_noop
#
# Use the given filename as database for the autoop list. If not given,
# the default of "autoop.db" will be used.
#
#NSAutoOPDBName "autoop.db"
# OSInfoDBName [OPTIONAL]
# Module: os_info
#
# Use the given filename as database for the oper information lines.
# If not given, the default of "os_info.db" will be used.
#
#OSInfoDBName "os_info.db"
** MODIFIED CONFIGURATION DIRECTIVES **
# UserKey1|2|3 <value> [REQUIRED]
#
# These keys are required to initiate the random number generator. These
# numbers MUST be random as you want your passcodes to be random. Don't
# give these keys to no anyone! Keep them private!
# For those pple who don't understand what to do here: Just pick three
# _different_ _random_ numbers with about 6 or 7 digits and put them here.
# If the keys don't work, they might be too long or you forgot to remove
# the # in front of them. Example:
# UserKey1 9866235
# UserKey1 <your_first_random_number_here>
# UserKey2 <your_second_random_number_here>
# UserKey3 <you_third_random_number_here>
# Numeric [OPTIONAL]
# Many ircd identify themselves with a Numeric ID when using this option
# consult your ircds documentation before using this.
#Numeric "3AX"
#Numeric "4"
# ModuleDelayedAutoload [OPTIONAL]
#
# When compiled with module support, this contains a space separated list
# of modules to automaticaly load when services are ready for new clients.
# e.g. new pesudo clients such as CatServ :-) *meow*
# By default a number of modules that we found worth adding by default are
# loaded. Feel free to change this if you want to add more, or remove some
# from the list.
#
ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail ns_noop os_info"
** DELETED CONFIGURATION DIRECTIVES **
###########################################################################
#
# Proxy detection
#
###########################################################################
# Note: if ProxyDetect is not set, all parameters after it in this section
# are optional.
# ProxyDetect [OPTIONAL]
#
# Enables insecure proxy detection. Services will automatically
# scan each incoming user and akill those that use insecure proxy.
#
# Anope currently supports detection of Wingate (port 23), SOCKS4/5
# (port 1080), and HTTP proxy (ports 3128 and 8080). It uses the
# protocol of each proxy type to connect to an IRC server, it does
# not only check if the port is open (so your users may still have
# an open telnet server on their port 23 for example).
#
# WARNING: You should get the authorization of the administrator of
# the computer which runs the proxy detector before enabling it; not
# all administrators will accept it. Also note that in certain
# countries, port scanning is prohibited.
#
# This feature requires threading support to be compiled into Anope.
#ProxyDetect
# ProxyThreads <number> [REQUIRED]
#
# Sets the number of threads Services will launch when starting. Each
# thread will have the responsibility to scan queued hostname for
# proxies.
#
# This value must be set depending of the number of users you have
# on your network. The more threads are used, the more simultaneous
# checks can be done. Remember however, that threads are
# resource-consuming.
#
# WARNING: On Linux, each thread takes a background process, and there
# is an additional process used for thread management; this is a problem
# if you are limited in the number of background process you can use
# (on a paid shell for example).
ProxyThreads 5
# ProxyMessage... <message> [RECOMMENDED]
#
# Sets the notices that will be sent out to users before Services
# scan them for proxy. You may not use all of them, but just as much as
# necessary.
ProxyMessage1 "I will now detect if you're using an insecure proxy."
ProxyMessage2 "If you see a connection on port 23, 1080, 3128 or 8080 from"
ProxyMessage3 "my.box.net, please disregard it, as it is the detector in action."
ProxyMessage4 "See http://proxy.myirc.net/ for information about our proxy policy."
#ProxyMessage5 "Enter"
#ProxyMessage6 "whatever"
#ProxyMessage7 "you want"
#ProxyMessage8 "here."
# ProxyCheck... [OPTIONAL]
#
# Determines what types of proxy Anope will try to find (respectively
# Wingate on port 23, SOCKS4 on port 1080, SOCKS5 on port 1080, HTTP
# proxy on port 3128, HTTP proxy on port 8080 and HTTP proxy on port
# 80).
ProxyCheckWingate
ProxyCheckSocks4
ProxyCheckSocks5
ProxyCheckHTTP1
ProxyCheckHTTP2
ProxyCheckHTTP3
# ProxyTimeout <time> [REQUIRED]
# Sets the maximum length of time we allow a connect/read operation to
# take. If you set this value too high, your threads may hang on a single
# check for a very long time. The best is to try different values
# and see which one is the more efficient for your network.
ProxyTimeout 15s
# ProxyTestServer <ip> <port> [REQUIRED]
#
# Sets the *IP* and port of the IRC server to use as a target when
# testing users for proxy.
ProxyTestServer "1.2.3.4" 6667
# ProxyExpire <time> [RECOMMENDED]
#
# Sets the length of time before a proxy host cache entry expires, if
# not used. If this is not set the default time is 2 days.
ProxyExpire 30d
# ProxyCacheExpire <time> [REQUIRED]
#
# Sets the length of time before a normal host cache entry expires, if
# not used. This cannot be set to 0d.
#
# Every non-proxy hosts will be stored in cache (to avoid too many scans
# to the same host), so you should set this enough low to not fill your
# memory, especially on large networks.
ProxyCacheExpire 1d
# ProxyAkillReason <reason> [REQUIRED]
#
# Sets the reason that will be used to AKILL an user from the network
# if a proxy is detected.
ProxyAkillReason "You're using an insecure proxy. See http://proxy.myirc.net/config.html for information about how to config your proxy in a safe manner."
# WallProxy [OPTIONAL]
#
# Sends a WALLOPS/GLOBOPS when an user using an insecure proxy is being
# AKILLed.
WallProxy
# ProxyMax <number> [REQUIRED]
#
# Sets the maximum proxy cache entries that can be displayed in a single
# call to OperServ CACHE.
ProxyMax 50
Anope Version 1.7.8
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# UseTS6 [OPTIONAL]
#
# Modern hybrid ircd like Ratbox 2.0.x support a protocol called TS6.
# However this protocol is optional thus our default support is for without
# TS6, if you want to take advantage of TS6, enable this option.
#UseTS6
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.7
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# NSAddAccessOnReg [OPTIONAL]
#
# When enabled, services will add the usermask of registering users to the
# access list of their newly created account. If you disable this, users
# will always have to identify to nickserv before being recognized, unless
# they manually add an address to the access list of their account.
NSAddAccessOnReg
# UlineServers [OPTIONAL]
#
# A list of ulined servers on your network, these servers are assumed they
# can set channel modes and we will not attempt to take them from them
# WARNING: do not put your user servers in this option
UlineServers "stats.your.network, proxy.your.network"
# KillOnSGline [OPTIONAL]
#
# When enabled, this option makes the services send an (SVS)KILL command
# immediately after SGLINE ADD. This eliminates the need of killing the
# users after the SGLINE has been added.
# KillOnSGline
# KillOnSQline [OPTIONAL]
#
# When enabled, this option makes the services send an (SVS)KILL command
# immediately after SQLINE ADD. This eliminates the need of killing the
# users after the SQLINE has been added.
# KillOnSQline
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
# NetworkDomain <name> [OPTIONAL]
#
# If your network has a common domain name, specify it there (for
# example, all IRCZONE servers have a name ending in ".irczone.cl",
# so "irczone.cl" would be set there.
#
# You can specify more than one Network Domain by separating each one by
# a space: NetworkDomain "localnet.net localnet.com"
#
# Note that this directive is no longer used by the GLOBAL command, since
# it uses a dynamic list of connected servers regardless of their
# domains. However, some modules may still use this value, so you might
# want to keep it just in case.
NetworkDomain "localnet.com"
# ListOpersOnly [DEPRECATED]
# When enabled, limits use of the ChanServ and NickServ LIST commands
# to IRC operators.
#
# This directive has been superseded by the NSListOpersOnly and
# CSListOpersOnly directives.
#ListOpersOnly
Anope Version 1.7.6
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# UserKey1|2|3 <value> [REQUIRED]
#
# These keys are required to initiate the random number generator. These
# numbers MUST be random as you want your passcodes to be random. Don't
# give these keys to no anyone! Keep them private!
#UserKey1 9866235
#UserKey2 5216332
#UserKey3 9651291
# RestrictOperNick [OPTIONAL]
# Forbids the registration of nicks that contain nick with services
# access. So if Tester is a Services Oper, for example, You can't
# register NewTester or Tester123 unless you are an IRC operator.
#RestrictOperNicks
# UseTokens [OPTIONAL]
# Allows irc networks to use TOKEN commands instead of the
# standard commands. This saves bandwidth but can break older
# modules that are not set to trap for TOKEN - if you are using
# older modules do NOT use this option
#UseTokens
# UseSVS2MODE [OPTIONAL]
# On Unreal IRCD use SVS2MODE instead of SVSMODE, doing this will
# show services changing user modes.
#UseSVS2MODE
# NewsCount [OPTIONAL]
# The number of LOGON/OPER News item to display when a user logs
# on. The default value is 3
#NewsCount 3
# Numeric [OPTIONAL]
# Many ircd identify themselves with a Numeric when using this option
# consult your ircds documentation before using this
#Numeric 0
# UnRestrictSAdmin [OPTIONAL]
# On many ircd Anope removes the umode of +a from users whom are not
# Service Admin in Anope. This mode is NOT used by Anope for any form
# of access. Thus this option allows them to keep the mode without having
# to be a Service Admin in Anope
#UnRestrictSAdmin
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.5
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# UseSVSHOLD [OPTIONAL]
# Allows Bahamut-networks to use SVSHOLD instead of the services
# enforcer. This option has been introduced in Bahamut 1.4.35 and
# places a temporary Q:Line instead of introducing a new nick,
# which is better for both CPU and bandwidth. If you enable this
# option on a pre-1.4.35 Bahamut, it is most likely to break.
#UseSVSHOLD
** MODIFIED CONFIGURATION DIRECTIVES **
# NetworkDomain <name> [OPTIONAL]
#
# If your network has a common domain name, specify it there (for
# example, all IRCZONE servers have a name ending in ".irczone.cl",
# so "irczone.cl" would be set there.
#
# You can specify more than one Network Domain by separating each one by
# a space: NetworkDomain "localnet.net localnet.com"
#
# Note that this directive is no longer used by the GLOBAL command, since
# it uses a dynamic list of connected servers regardless of their
# domains. However, some modules may still use this value, so you might
# want to keep it just in case.
NetworkDomain "localnet.com"
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.4
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# NSNickTracking [OPTIONAL]
#
# When enabled, services will track your last nick identified when issuing
# nick changes.
#NSNickTracking
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
Anope Version 1.7.3
-------------------
** ADDED CONFIGURATION DIRECTIVES **
# BSCaseSensitive [OPTIONAL]
# This option will make botserv use cAsE sEnSiTiVe checking for badwords
# BSCaseSensitive
# MSMemoReceipt [OPTIONAL]
# Allow the use of memo receipts for the following groups:
# 1 - Opers Only
# 2 - Everybody
#
#MSMemoReceipt 1
Anope Version 1.7.2
--------------------
No Changes.
Anope Version 1.7.1
--------------------
** ADDED CONFIGURATION DIRECTIVES **
# UseRDB [OPTIONAL]
#
# Enable this if you want anope to load its data from a remote database.
# (e.g. MySQL)
#
#UseRDB
# NickRegDelay <seconds> [OPTIONAL]
# Prevents users from regging their nick if they are not
# connected for at least X seconds.
#NickRegDelay 30
** MODIFIED CONFIGURATION DIRECTIVES **
** DELETED CONFIGURATION DIRECTIVES **
-640
View File
@@ -1,640 +0,0 @@
Anope Version 1.8.9
-------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.8.8
-------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.8.7
-------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.8.6
-------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.8.5
-------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.8.4
-------------------
*** New Strings:
*** Mod Strings:
NICK_HELP_LIST
*** Del Strings:
Anope Version 1.8.3
-------------------
*** New Strings:
*** Mod Strings:
NEWS_HELP_LOGON
NEWS_HELP_OPER
NEWS_HELP_RANDOM
*** Del Strings:
Anope Version 1.8.2
-------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.8.1
-------------------
*** New Strings:
HOST_OFF
*** Mod Strings:
*** Del Strings:
Anope Version 1.8.0
-------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.24
--------------------
*** New Strings:
OPER_STATS_HOSTSERV_MEM
*** Mod Strings:
NICK_HELP_SASET_AUTOOP
*** Del Strings:
Anope Version 1.7.23b
--------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.23
--------------------
*** New Strings:
PASSWORD_TOO_LONG
CHAN_LOGOUT_FOUNDER_FAILED
*** Mod Strings:
OPER_HELP_OPER
NICK_HELP_SASET_PASSWORD
OPER_IGNORE_SYNTAX
OPER_HELP_IGNORE
CHAN_LOGOUT_ALL_SUCCEEDED
OPER_HELP_MODLIST
*** Del Strings:
PASSWORD_TRUNCATED
Anope Version 1.7.22
--------------------
*** New Strings:
NICK_SASET_LANGUAGE_SYNTAX
NICK_SASET_LANGUAGE_UNKNOWN
NICK_SASET_LANGUAGE_CHANGED
NICK_HELP_SASET_LANGUAGE
NICK_HELP_RESEND
*** Mod Strings:
NICK_HELP_SASET
NICK_RECOVERED
NICK_LIST_SERVADMIN_SYNTAX
NICK_SERVADMIN_HELP_LIST
CHAN_GETKEY_KEY
NICK_SERVADMIN_HELP_LIST
CHAN_SERVADMIN_HELP_LIST
OPER_HELP_GLOBAL
OPER_HELP_UMODE
OPER_HELP_OLINE
OPER_HELP_KICK
OPER_HELP_SVSNICK
OPER_HELP_SET_LOGCHAN
OPER_HELP_SET_SUPERADMIN
CHAN_HELP_AKICK
NICK_HELP_RECOVER
NICK_HELP_RELEASE
NEWS_HELP_LOGON
NEWS_HELP_OPER
OPER_HELP_IGNORE
OPER_IGNORE_TIME_DONE
OPER_IGNORE_PERM_DONE
OPER_IGNORE_DEL_DONE
*** Del Strings:
NICK_SET_UNKNOWN_OPTION_OR_BAD_NICK
OPER_HELP_KILLCLONES
Anope Version 1.7.21
--------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.20
--------------------
*** New Strings:
NICK_HELP_CONFIRM
CHAN_XOP_NOT_AVAILABLE
HELP_LIMIT_SERV_OPER
HELP_LIMIT_SERV_ADMIN
HELP_LIMIT_SERV_ROOT
HELP_LIMIT_IRC_OPER
HELP_LIMIT_HOST_SETTER
HELP_LIMIT_HOST_REMOVER
*** Mod Strings:
OPER_HELP_SET
In all of the following strings only the trailing 'Limited to ...' line has been removed:
OPER_HELP_EXCEPTION
OPER_HELP_SESSION
NICK_HELP_SASET
NICK_HELP_SASET_DISPLAY
NICK_HELP_SASET_PASSWORD
NICK_HELP_SASET_URL
NICK_HELP_SASET_EMAIL
NICK_HELP_SASET_ICQ
NICK_HELP_SASET_GREET
NICK_HELP_SASET_KILL
NICK_HELP_SASET_SECURE
NICK_HELP_SASET_PRIVATE
NICK_HELP_SASET_HIDE
NICK_HELP_SASET_MSG
NICK_HELP_SASET_NOEXPIRE
NICK_HELP_SASET_AUTOOP
NICK_SERVADMIN_HELP_GETPASS
NICK_SERVADMIN_HELP_GETEMAIL
NICK_SERVADMIN_HELP_FORBID
NICK_SERVADMIN_HELP_SUSPEND
NICK_SERVADMIN_HELP_UNSUSPEND
CHAN_SERVADMIN_HELP_SET_NOEXPIRE
CHAN_SERVADMIN_HELP_GETPASS
CHAN_SERVADMiN_HELP_FORBID
CHAN_SERVADMIN_HELP_SUSPEND
CHAN_SERVADMIN_HELP_UNSUSPEND
CHAN_SERVADMIN_HELP_STATUS
OPER_HELP_MODE
OPER_HELP_CLEARMODES
OPER_HELP_KICK
OPER_HELP_SVSNICK
OPER_HELP_AKILL
OPER_HELP_SGLINE
OPER_HELP_SQLINE
OPER_HELP_SZLINE
OPER_HELP_SET
OPER_HELP_NOOP
OPER_HELP_JUPE
OPER_HELP_RAW
OPER_HELP_UPDATE
OPER_HELP_RELOAD
OPER_HELP_QUIT
OPER_HELP_SHUTDOWN
OPER_HELP_RESTART
OPER_HELP_KILLCLONES
OPER_HELP_CHANLIST
OPER_HELP_USERLIST
OPER_HELP_MODLOAD
OPER_HELP_MODUNLOAD
OPER_HELP_MODINFO
OPER_HELP_MODLIST
BOT_SERVADMIN_HELP_SET_NOBOT
BOT_SERVADMIN_HELP_SET_PRIVATE
HOST_HELP_SET
HOST_HELP_DELALL
HOST_HELP_SETALL
HOST_HELP_DEL
HOST_HELP_LIST
*** Del Strings:
Anope Version 1.7.19
--------------------
*** New Strings:
*** Mod Strings:
CHAN_HELP_LIST
BOT_SET_SYNTAX
BOT_HELP_SET
*** Del Strings:
Anope Version 1.7.18
--------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.17
--------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.16
--------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.15
--------------------
*** New Strings:
INVALID_TARGET
NICK_SET_AUTOOP_SYNTAX
NICK_SET_AUTOOP_ON
NICK_SET_AUTOOP_OFF
BOT_LONG_IDENT
*** Mod Strings:
NICK_HELP_SET
*** Del Strings:
Anope Version 1.7.14
--------------------
*** New Strings:
CHAN_X_INVALID
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.13
--------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.12
--------------------
*** New Strings:
OPER_STATS_UPLINK_SERVER
OPER_STATS_UPLINK_CAPAB
OPER_STATS_UPLINK_SERVER_COUNT
*** Mod Strings:
OPER_HELP_STATS
*** Del Strings:
Anope Version 1.7.11
---------------------
*** New Strings:
NICK_SASET_SYNTAX
NICK_SASET_DISABLED
NICK_SASET_UNKNOWN_OPTION
NICK_SASET_BAD_NICK
NICK_SASET_OPTION_DISABLED
NICK_SASET_DISPLAY_INVALID
NICK_SASET_DISPLAY_CHANGED
NICK_SASET_PASSWORD_FAILED
NICK_SASET_PASSWORD_CHANGED
NICK_SASET_PASSWORD_CHANGED_TO
NICK_SASET_LANGUAGE_SYNTAX
NICK_SASET_LANGUAGE_UNKNOWN
NICK_SASET_LANGUAGE_CHANGED
NICK_SASET_URL_CHANGED
NICK_SASET_URL_UNSET
NICK_SASET_EMAIL_CHANGED
NICK_SASET_EMAIL_UNSET
NICK_SASET_EMAIL_UNSET_IMPOSSIBLE
NICK_SASET_ICQ_CHANGED
NICK_SASET_ICQ_UNSET
NICK_SASET_ICQ_INVALID
NICK_SASET_GREET_CHANGED
NICK_SASET_GREET_UNSET
NICK_SASET_KILL_SYNTAX
NICK_SASET_KILL_IMMED_SYNTAX
NICK_SASET_KILL_ON
NICK_SASET_KILL_QUICK
NICK_SASET_KILL_IMMED
NICK_SASET_KILL_IMMED_DISABLED
NICK_SASET_KILL_OFF
NICK_SASET_SECURE_SYNTAX
NICK_SASET_SECURE_ON
NICK_SASET_SECURE_OFF
NICK_SASET_PRIVATE_SYNTAX
NICK_SASET_PRIVATE_ON
NICK_SASET_PRIVATE_OFF
NICK_SASET_HIDE_SYNTAX
NICK_SASET_HIDE_EMAIL_ON
NICK_SASET_HIDE_EMAIL_OFF
NICK_SASET_HIDE_MASK_ON
NICK_SASET_HIDE_MASK_OFF
NICK_SASET_HIDE_QUIT_ON
NICK_SASET_HIDE_QUIT_OFF
NICK_SASET_HIDE_STATUS_ON
NICK_SASET_HIDE_STATUS_OFF
NICK_SASET_MSG_SYNTAX
NICK_SASET_MSG_ON
NICK_SASET_MSG_OFF
NICK_SASET_NOEXPIRE_SYNTAX
NICK_SASET_NOEXPIRE_ON
NICK_SASET_NOEXPIRE_OFF
NICK_HELP_SASET
NICK_HELP_SASET_DISPLAY
NICK_HELP_SASET_PASSWORD
NICK_HELP_SASET_LANGUAGE
NICK_HELP_SASET_URL
NICK_HELP_SASET_EMAIL
NICK_HELP_SASET_ICQ
NICK_HELP_SASET_GREET
NICK_HELP_SASET_KILL
NICK_HELP_SASET_SECURE
NICK_HELP_SASET_PRIVATE
NICK_HELP_SASET_HIDE
NICK_HELP_SASET_MSG
NICK_HELP_SASET_NOEXPIRE
NICK_HELP_CMD_SASET
*** Mod Strings:
OPER_HELP_MODLIST
*** Del Strings:
NICK_SERVADMIN_HELP_SET
NICK_SERVADMIN_HELP_SET_NOEXPIRE
NICK_SET_NOEXPIRE_SYNTAX
NICK_SET_NOEXPIRE_ON
NICK_SET_NOEXPIRE_OFF
NICK_SASET_LANGUAGE_SYNTAX
NICK_SASET_LANGUAGE_UNKNOWN
NICK_SASET_LANGUAGE_CHANGED
NICK_HELP_SASET_LANGUAGE
Anope Version 1.7.10
--------------------
*** New Strings:
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.9
-------------------
*** New Strings:
CHAN_HELP_IRCD_HALFOP
CHAN_HELP_IRCD_PROTECT
CHAN_GETKEY_SYNTAX
CHAN_GETKEY_NOKEY
CHAN_GETKEY_KEY
OPER_SET_SQL_ERROR_DISABLED
NICK_X_SUSPENDED
NICK_INFO_SUSPENDED
NICK_SUSPEND_SYNTAX
NICK_SUSPEND_SUCCEEDED
NICK_SUSPEND_FAILED
NICK_UNSUSPEND_SYNTAX
NICK_UNSUSPEND_SUCCEEDED
NICK_UNSUSPEND_FAILED
NICK_SERVADMIN_HELP_SUSPEND
NICK_SERVADMIN_HELP_UNSUSPEND
*** Mod Strings:
OPER_HELP_SET
NICK_HELP
CHAN_AOP_CLEAR
CHAN_HOP_CLEAR
CHAN_SOP_CLEAR
CHAN_VOP_CLEAR
CHAN_ACCESS_CLEAR
CHAN_AKICK_CLEAR
CHAN_SET_KEEPTOPIC_ON
CHAN_SET_KEEPTOPIC_OFF
CHAN_SET_TOPICLOCK_ON
CHAN_SET_TOPICLOCK_OFF
CHAN_SET_PEACE_ON
CHAN_SET_PEACE_OFF
CHAN_SET_PRIVATE_ON
CHAN_SET_PRIVATE_OFF
CHAN_SET_SECUREOPS_ON
CHAN_SET_SECUREOPS_OFF
CHAN_SET_SECUREFOUNDER_ON
CHAN_SET_SECUREFOUNDER_OFF
CHAN_SET_RESTRICTED_ON
CHAN_SET_RESTRICTED_OFF
CHAN_SET_SECURE_ON
CHAN_SET_SECURE_OFF
CHAN_SET_SIGNKICK_ON
CHAN_SET_SIGNKICK_LEVEL
CHAN_SET_SIGNKICK_OFF
CHAN_SET_OPNOTICE_ON
CHAN_SET_OPNOTICE_OFF
CHAN_SET_XOP_ON
CHAN_SET_XOP_OFF
*** Del Strings:
CHAN_HELP_ULTIMATE
OPER_STATS_PROXY_MEM
OPER_CACHE_SYNTAX
OPER_CACHE_DISABLED
OPER_CACHE_NOT_FOUND
OPER_CACHE_REMOVED
OPER_CACHE_HEADER
OPER_CACHE_LIST
OPER_CACHE_FOOTER
OPER_CACHE_QUEUED
OPER_CACHE_PROGRESS
OPER_CACHE_NORMAL
OPER_CACHE_WINGATE
OPER_CACHE_SOCKS4
OPER_CACHE_SOCKS5
OPER_CACHE_HTTP
OPER_HELP_CACHE
Anope Version 1.7.8
-------------------
*** New Strings:
OPER_HELP_SET_IGNORE
OPER_HELP_ADMIN_CMD_EXTRA
OPER_HELP_ADMIN_CMD_OLINE
OPER_HELP_ADMIN_CMD_UMODE
OPER_HELP_ADMIN_CMD_SVSNICK
OPER_HELP_OPER_CMD_EXTRA
OPER_HELP_OPER_CMD_SGLINE
OPER_HELP_OPER_CMD_SQLINE
OPER_HELP_OPER_CMD_SZLINE
*** Mod Strings:
HOST_OFF_UNREAL
OPER_HELP_OPER_CMD
OPER_HELP_ADMIN_CMD
*** Del Strings:
Anope Version 1.7.7
-------------------
*** New Strings:
MEMO_NO_RSEND_SELF
NICK_REGISTERED_NO_MASK
OPER_ADMIN_MOVED
OPER_OPER_MOVED
OPER_HELP_SET_SQL
OPER_SET_SQL_ON
OPER_SET_SQL_OFF
OPER_SET_SQL_ERROR
OPER_SET_SQL_ERROR_INIT
OPER_EXCEPTION_EXISTS
OPER_EXCEPTION_CHANGED
OPER_SET_LIST_OPTION_ON
OPER_SET_LIST_OPTION_OFF
OPER_HELP_SET_LIST
OPER_SUPER_ADMIN_NOT_ENABLED
*** Mod Strings:
BOT_SERVADMIN_HELP_BOT
NICK_HELP_STATUS
*** Del Strings:
Anope Version 1.7.6
-------------------
*** New Strings:
CHAN_REGISTER_NONE_CHANNEL
CHAN_SYMBOL_REQUIRED
OPER_SVSNICK_UNSUPPORTED
OPER_SQLINE_UNSUPPORTED
OPER_SVSO_UNSUPPORTED
OPER_UMODE_UNSUPPORTED
CHAN_CLEARED_INVITES
NICK_INFO_VHOST2
NICK_STATUS_0
NICK_STATUS_1
NICK_STATUS_2
NICK_STATUS_3
CHAN_STATUS_SYNTAX
CHAN_STATUS_NOT_REGGED
CHAN_STATUS_FORBIDDEN
CHAN_STATUS_NOTONLINE
CHAN_STATUS_INFO
NICK_INFO_EXPIRE
NICK_GLIST_REPLY
NICK_GLIST_REPLY_ADMIN
CHAN_INFO_EXPIRE
NICK_ACCESS_LIST_EMPTY
NICK_ACCESS_LIST_X_EMPTY
*** Mod Strings:
*** Del Strings:
Anope Version 1.7.5
-------------------
*** New Strings:
*** Mod Strings:
MEMO_HELP
CHAN_LEVEL_NOJOIN
*** Del Strings:
Anope Version 1.7.4
-------------------
*** New Strings:
CHAN_CLEARED_HOPS
OPER_MODULE_LIST_HEADER
OPER_MODULE_LIST_FOOTER
NICK_X_IS_SERVICES
*** Mod Strings:
CHAN_HELP_CLEAR
*** Del Strings:
Anope Version 1.7.3
-------------------
*** New Strings:
MEMO_RSEND_PLEASE_WAIT
MEMO_RSEND_DISABLED
MEMO_RSEND_SYNTAX
MEMO_RSEND_NICK_MEMO_TEXT
MEMO_RSEND_CHAN_MEMO_TEXT
MEMO_RSEND_USER_NOTIFICATION
MEMO_HELP_RSEND
MEMO_CHECK_SYNTAX
MEMO_CHECK_NOT_READ
MEMO_CHECK_READ
MEMO_CHECK_NO_MEMO
MEMO_HELP_CHECK
*** Mod Strings:
MEMO_HELP
NICK_LIST_SERVADMIN_SYNTAX
NICK_SERVADMIN_HELP_LIST
Anope Version 1.7.2
--------------------
No Changes.
Anope Version 1.7.1
--------------------
*** New Strings:
MEMO_SET_NOTIFY_MAIL
MEMO_SET_NOTIFY_NOMAIL
MEMO_SET_NOTIFY_INVALIDMAIL
MEMO_MAIL_SUBJECT
MEMO_MAIL_TEXT1
MEMO_MAIL_TEXT2
MEMO_MAIL_TEXT3
NICK_INFO_SERVICES_ROOT
NICK_SET_HIDE_STATUS_ON
NICK_SET_HIDE_STATUS_OFF
NICK_REG_DELAY
*** Mod Strings:
MEMO_SET_NOTIFY_SYNTAX
NICK_HELP_SET_HIDE
*** Del Strings:
-165
View File
@@ -1,165 +0,0 @@
Anope Version 1.8.9
-------------------
- NONE
Anope Version 1.8.8
-------------------
- NONE
Anope Version 1.8.7
-------------------
- NONE
Anope Version 1.8.6
-------------------
- NONE
Anope Version 1.8.5
-------------------
- NONE
Anope Version 1.8.4
-------------------
- NONE
Anope Version 1.8.3
-------------------
ALTER TABLE `anope_ns_access` DROP INDEX `display` ;
Anope Version 1.8.2
-------------------
- NONE
Anope Version 1.8.1
-------------------
- NONE
Anope Version 1.8.0
-------------------
ALTER TABLE `anope_ns_access` DROP INDEX display;
Anope Version 1.7.24
--------------------
- NONE
Anope Version 1.7.23b
--------------------
- NONE
Anope Version 1.7.23
--------------------
- NONE
Anope Version 1.7.22
--------------------
- NONE
Anope Version 1.7.21
--------------------
- NONE
Anope Version 1.7.20
--------------------
ALTER TABLE `anope_ns_request` DROP INDEX `nick_index` ;
ALTER TABLE `anope_ns_core` DROP INDEX `display_index` ;
ALTER TABLE `anope_ns_access` ADD UNIQUE (`display`) ;
ALTER TABLE `anope_ms_info` ADD UNIQUE (`nm_id` , `serv`) ;
ALTER TABLE `anope_ns_alias` DROP INDEX `nick_index` ;
ALTER TABLE `anope_cs_info` DROP INDEX `name_index` ;
ALTER TABLE `anope_cs_access` ADD UNIQUE (`channel` , `display`) ;
ALTER TABLE `anope_cs_levels` ADD UNIQUE (`channel` , `position`) ;
ALTER TABLE `anope_cs_akicks` CHANGE `dmask` `dmask` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_cs_akicks` ADD UNIQUE (`channel` , `dmask`) ;
ALTER TABLE `anope_cs_badwords` CHANGE `word` `word` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_cs_badwords` ADD UNIQUE (`channel` , `word`) ;
ALTER TABLE `anope_cs_ttb` ADD UNIQUE (`channel` , `ttb_id`) ;
ALTER TABLE `anope_os_akills` CHANGE `user` `user` VARCHAR( 255 ) NOT NULL , CHANGE `host` `host` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_os_akills` ADD UNIQUE (`user` , `host`) ;
ALTER TABLE `anope_os_sglines` CHANGE `mask` `mask` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_os_sglines` ADD UNIQUE (`mask`) ;
ALTER TABLE `anope_os_sqlines` CHANGE `mask` `mask` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_os_sqlines` ADD UNIQUE (`mask`) ;
ALTER TABLE `anope_os_szlines` CHANGE `mask` `mask` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_os_szlines` ADD UNIQUE (`mask`) ;
ALTER TABLE `anope_os_news` ADD UNIQUE (`type` , `num` , `time`) ;
ALTER TABLE `anope_os_exceptions` CHANGE `mask` `mask` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_os_exceptions` ADD UNIQUE (`mask`) ;
ALTER TABLE `anope_hs_core` DROP INDEX `nick_index` ;
ALTER TABLE `anope_bs_core` DROP INDEX `nick_index` ;
ALTER TABLE `anope_ms_info` CHANGE `receiver` `receiver` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `anope_ms_info` ADD INDEX ( `receiver` , `serv` ) ;
Anope Version 1.7.19
--------------------
- NONE
Anope Version 1.7.18
--------------------
- DROP TABLE IF EXISTS `anope_os_status`
- ALTER TABLE `anope_bs_core` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_cs_access` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_cs_akicks` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_cs_badwords` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_cs_levels` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_cs_ttb` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_hs_core` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_ms_info` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_ns_access` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_ns_request` CHANGE `active` `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_os_akills` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_os_exceptions` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_os_news` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_os_sglines` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_os_sqlines` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
- ALTER TABLE `anope_os_szlines` ADD `active` TINYINT( 1 ) DEFAULT '1' NOT NULL
Anope Version 1.7.17
--------------------
- CREATE TABLE anope_cs_ttb (
ct_id int(11) NOT NULL auto_increment,
channel varchar(255) NOT NULL default '',
ttb_id int(11) NOT NULL default '0',
value int(11) NOT NULL default '0',
PRIMARY KEY (ct_id)
) TYPE=MyISAM
- ALTER TABLE anope_cs_info DROP ttb
Anope Version 1.7.16
--------------------
- NONE
Anope Version 1.7.15
--------------------
- NONE
Anope Version 1.7.14
--------------------
- NONE
Anope Version 1.7.13
--------------------
- NONE
Anope Version 1.7.12
--------------------
- NONE
Anope Version 1.7.11
--------------------
- NONE
Anope Version 1.7.10
--------------------
- NONE
Anope Version 1.7.9
-------------------
- DROP TABLE IF EXISTS anope_os_cache
Anope Version 1.7.8
-------------------
- NONE
Anope Version 1.7.7
-------------------
- ALTER TABLE anope_ns_alias CHANGE status status int(11) unsigned NOT NULL default '0'
+277 -178
View File
@@ -2,7 +2,7 @@
#
# Configuration script for Services.
#
# Anope (c) 2003-2014 Anope Team
# Anope (c) 2003-2010 Anope team
# Contact us at team@anope.org
#
# This program is free but copyrighted software; see the file COPYING for
@@ -14,73 +14,133 @@
###########################################################################
echo2 () {
$ECHO2 "$*$ECHO2SUF" # these are defined later
$ECHO2 "$*$ECHO2SUF" # these are defined later
}
exists () { # because some shells don't have test -e
if [ -f $1 -o -d $1 -o -p $1 -o -c $1 -o -b $1 ] ; then
return 0
else
return 1
fi
exists () { # because some shells don't have test -e
if [ -f $1 -o -d $1 -o -p $1 -o -c $1 -o -b $1 ] ; then
return 0
else
return 1
fi
}
Load_Cache () {
if [ -f config.cache -a -r config.cache -a ! "$IGNORE_CACHE" ] ; then
echo "Using defaults from config.cache. To ignore, ./Config -nocache"
echo ""
. ./config.cache
CAN_QUICK="yes"
else
CAN_QUICK="no"
fi
if [ -f $SOURCE_DIR/config.cache -a -r $SOURCE_DIR/config.cache -a ! "$IGNORE_CACHE" ] ; then
echo "Using defaults from config.cache. To ignore, $SOURCE_DIR/Config -nocache"
echo ""
. $SOURCE_DIR/config.cache
CAN_QUICK="yes"
else
CAN_QUICK="no"
fi
}
Run_Configure () {
WITH_BIN=""
WITH_DATA=""
WITH_ENC=""
WITH_RUN=""
WITH_PERM=""
WITH_MYSQL=""
Run_Build_System () {
WITH_INST=""
WITH_RUN=""
WITH_PERM=""
BUILD_TYPE=""
RUN_CC_PL=""
GEN_TYPE=""
if [ "$BINDEST" != "" ] ; then
WITH_BIN=" --with-bindir=$BINDEST"
WITH_DATA=" --with-datadir=$DATDEST"
fi
if [ "$INSTDIR" != "" ] ; then
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
WITH_INST="-DINSTDIR:STRING=$INSTDIR"
else
WITH_INST="--with-instdir=$INSTDIR"
fi
fi
if [ "$DATDEST" != "" ] ; then
WITH_DATA=" --with-datadir=$DATDEST"
fi
if [ "$RUNGROUP" != "" ] ; then
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
WITH_RUN="-DRUNGROUP:STRING=$RUNGROUP"
else
WITH_RUN="--with-rungroup=$RUNGROUP"
fi
fi
if [ "$RUNGROUP" != "" ] ; then
WITH_RUN=" --with-rungroup=$RUNGROUP"
fi
if [ "$UMASK" != "" ] ; then
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
WITH_PERM="-DDEFUMASK:STRING=$UMASK"
else
WITH_PERM="--with-permissions=$UMASK"
fi
fi
if [ "$UMASK" != "" ] ; then
WITH_PERM=" --with-permissions=$UMASK"
fi
if [ "$DEBUG" = "yes" ] ; then
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
BUILD_TYPE="-DCMAKE_BUILD_TYPE:STRING=DEBUG"
else
BUILD_TYPE="--with-debugsym"
fi
else
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
BUILD_TYPE="-DCMAKE_BUILD_TYPE:STRING=RELEASE"
fi
fi
if [ "$MYSQL" != "yes" ] ; then
WITH_MYSQL=" --without-mysql"
fi
if [ "$USE_RUN_CC_PL" = "yes" ] ; then
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
RUN_CC_PL="-DUSE_RUN_CC_PL:BOOLEAN=ON"
else
pwdsave=`pwd`
cd "`dirname $SOURCE_DIR/run-cc.pl`"
RUN_CC_PL="--with-makebin=`pwd`/run-cc.pl"
cd "$pwdsave"
fi
else
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
RUN_CC_PL="-DUSE_RUN_CC_PL:BOOLEAN=OFF"
else
RUN_CC_PL="--with-makebin="
fi
fi
if [ "$BUILD_SYSTEM" = "cmake" ] ; then
case `uname -s` in
MINGW*)
GEN_TYPE="-G\"MSYS Makefiles\""
;;
esac
echo "./configure $WITH_BIN $WITH_DATA $WITH_ENC $WITH_RUN $WITH_PERM $WITH_MYSQL"
if [ "$SOURCE_DIR" = "." ] ; then
pwdsave=`pwd`
test -d build || mkdir build
cd "build"
REAL_SOURCE_DIR=".."
else
REAL_SOURCE_DIR="$SOURCE_DIR"
fi
./configure $WITH_BIN $WITH_DATA $WITH_ENC $WITH_RUN $WITH_PERM $WITH_MYSQL
echo "cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $RUN_CC_PL $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR"
cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $RUN_CC_PL $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR
echo ""
if [ "$SOURCE_DIR" = "." ] ; then
echo "Now cd build, then run make to build Anope."
cd "$pwdsave"
else
echo "Now run make to build Anope."
fi
else
echo "./configure $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $EXTRA_CONFIG_ARGS $RUN_CC_PL"
./configure $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $EXTRA_CONFIG_ARGS $RUN_CC_PL
fi
}
ECHO2SUF=''
if [ "`echo -n a ; echo -n b`" = "ab" ] ; then
ECHO2='echo -n'
elif [ "`echo 'a\c' ; echo 'b\c'`" = "ab" ] ; then
ECHO2='echo' ; ECHO2SUF='\c'
ECHO2='echo' ; ECHO2SUF='\c'
elif [ "`printf 'a' 2>&1 ; printf 'b' 2>&1`" = "ab" ] ; then
ECHO2='printf "%s"'
ECHO2='printf "%s"'
else
# oh well...
ECHO2='echo'
# oh well...
ECHO2='echo'
fi
export ECHO2 ECHO2SUF
@@ -88,50 +148,68 @@ export ECHO2 ECHO2SUF
# Init values
###########################################################################
BINDEST=$HOME/services
DATDEST=$HOME/services
BUILD_SYSTEM="cmake"
INSTDIR=$HOME/services
RUNGROUP=
UMASK=
IRCTYPE="no default"
DEBUG="yes"
USE_RUN_CC_PL="no"
EXTRA_CONFIG_ARGS=
CAN_QUICK="no"
SOURCE_DIR=`dirname $0`
which cmake > /dev/null
if [ $? -ne 0 ] ; then
BUILD_SYSTEM="configure"
fi
###########################################################################
# Check out the options
###########################################################################
while [ $# -ge 1 ] ; do
if [ $1 = "--help" ] ; then
echo "Config utility for Anope"
echo "------------------------"
echo "Syntax: ./Config [options]"
echo "-nocache Ignore settings saved in config.cache"
echo "-nointro Skip intro (disclaimer, etc)"
echo "-quick Skip questions, go straight to configure"
exit 0
elif [ $1 = "-nocache" ] ; then
IGNORE_CACHE="1"
elif [ $1 = "-nointro" ] ; then
NO_INTRO="1"
elif [ $1 = "-quick" -o $1 = "-q" ] ; then
Load_Cache
if [ $CAN_QUICK = "yes" ] ; then
Run_Configure
else
echo ""
echo "Can't find cache file (config.cache), aborting..."
fi
exit 0
fi
shift 1
if [ $1 = "--help" ] ; then
echo "Config utility for Anope"
echo "------------------------"
echo "Syntax: ./Config [options]"
echo "-nocache Ignore settings saved in config.cache"
echo "-nointro Skip intro (disclaimer, etc)"
echo "-quick Skip questions, go straight to cmake"
exit 0
elif [ $1 = "-nocache" ] ; then
IGNORE_CACHE="1"
elif [ $1 = "-nointro" ] ; then
NO_INTRO="1"
elif [ $1 = "-quick" -o $1 = "-q" ] ; then
Load_Cache
if [ "$CAN_QUICK" = "yes" ] ; then
Run_Build_System
else
echo ""
echo "Can't find cache file (config.cache), aborting..."
fi
exit 0
fi
shift 1
done
###########################################################################
if [ ! "$NO_INTRO" ] ; then
clear
. ./version.log
cat .BANNER | sed "s/CURVER/$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH$VERSION_EXTRA/" | more
echo ""
case `uname -s` in
MINGW*)
PAGER=less
;;
*)
PAGER=more
clear
;;
esac
. $SOURCE_DIR/version.log
cat $SOURCE_DIR/.BANNER | sed "s/CURVER/$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH$VERSION_EXTRA/" | sed "s@SOURCE_DIR@$SOURCE_DIR@" | $PAGER
echo ""
else
echo ""
echo ""
fi
echo "Beginning Services configuration."
@@ -140,8 +218,9 @@ echo ""
###########################################################################
# Load the cache
###########################################################################
if [ ! "$IGNORE_CACHE" ] ; then
Load_Cache
Load_Cache
fi
# Ask the user anything we need to know ahead of time.
@@ -152,12 +231,41 @@ export ok INPUT
ok=0
echo "Note: press Return for the default, or enter a new value."
echo "In what directory do you want the binaries to be installed?"
echo "Are you using configure or cmake?"
while [ $ok -eq 0 ] ; do
echo2 "[$BINDEST] "
echo2 "[$BUILD_SYSTEM] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ ! "$INPUT" ] ; then
INPUT=$BINDEST
INPUT=$BUILD_SYSTEM
fi
case $INPUT in
cmake)
ok=1
;;
configure)
ok=1
;;
*)
echo "That is not a valid choice!"
ok=0
;;
esac
done
BUILD_SYSTEM=$INPUT
echo ""
if [ "$SOURCE_DIR" != "." -a "$BUILD_SYSTEM" = "configure" ] ; then
echo "You can not use configure unless you are in the same folder as Config!"
exit 0
fi
ok=0
echo "In what directory do you want the binaries to be installed?"
while [ $ok -eq 0 ] ; do
echo2 "[$INSTDIR] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ ! "$INPUT" ] ; then
INPUT=$INSTDIR
fi
if [ ! -d "$INPUT" ] ; then
if exists "$INPUT" ; then
@@ -178,148 +286,139 @@ while [ $ok -eq 0 ] ; do
ok=1
fi
done
BINDEST=$INPUT
DATDEST=$INPUT
echo ""
####
ok=0
echo "Where do you want the data files to be installed?"
while [ $ok -eq 0 ] ; do
echo2 "[$DATDEST] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ ! "$INPUT" ] ; then
INPUT=$DATDEST
fi
if [ ! -d "$INPUT" ] ; then
if exists "$INPUT" ; then
echo "$INPUT exists, but is not a directory!"
else
echo "$INPUT does not exist. Create it?"
echo2 "[y] "
read YN
if [ "$YN" != "n" ] ; then
if mkdir -p $INPUT ; then
ok=1
fi
fi
fi
elif exists "$INPUT/include/services.h" ; then
echo "You cannot use the Services source directory as a target directory."
else
ok=1
fi
done
DATDEST=$INPUT
INSTDIR=$INPUT
echo ""
####
OLD_RUNGROUP="$RUNGROUP"
if [ "$RUNGROUP" ] ; then
echo "Which group should all Services data files be owned by? (If Services"
echo "should not force files to be owned by a particular group, type "\"none\"
echo "(without the quotes) and press Return.)"
echo "Which group should all Services data files be owned by? (If Services"
echo "should not force files to be owned by a particular group, type \"none\""
echo "(without the quotes) and press Return.)"
else
echo "Which group should all Services data files be owned by? (If Services"
echo "should not force files to be owned by a particular group, just press"
echo "Return.)"
echo "Which group should all Services data files be owned by? (If Services"
echo "should not force files to be owned by a particular group, just press"
echo "Return.)"
fi
echo2 "[$RUNGROUP] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ "$INPUT" ] ; then
if [ "$INPUT" = "none" ] ; then
RUNGROUP=""
else
RUNGROUP="$INPUT"
fi
if [ "$INPUT" = "none" ] ; then
RUNGROUP=""
else
RUNGROUP="$INPUT"
fi
fi
echo ""
####
if [ ! "$UMASK" -o "$RUNGROUP" != "$OLD_RUNGROUP" ] ; then
if [ "$RUNGROUP" ] ; then
UMASK=007
else
UMASK=077
fi
if [ "$RUNGROUP" ] ; then
UMASK=007
else
UMASK=077
fi
fi
ok=0
echo "What should the default umask for data files be (in octal)?"
echo "(077 = only accessible by owner; 007 = accessible by owner and group)"
while [ $ok -eq 0 ] ; do
echo2 "[$UMASK] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ ! "$INPUT" ] ; then
INPUT=$UMASK
fi
if [ `echo "$INPUT" | grep -c '[^0-7]'` -gt 0 ] ; then
echo "$UMASK is not a valid octal number!"
else
if [ "`echo $INPUT | cut -c1`" != "0" ] ; then
INPUT=0$INPUT
fi
ok=1
fi
echo2 "[$UMASK] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ ! "$INPUT" ] ; then
INPUT=$UMASK
fi
if [ `echo "$INPUT" | grep -c '[^0-7]'` -gt 0 ] ; then
echo "$UMASK is not a valid octal number!"
else
if [ "`echo $INPUT | cut -c1`" != "0" ] ; then
INPUT=0$INPUT
fi
ok=1
fi
done
UMASK=$INPUT
echo ""
####
ok=0
DEF=yes
echo "Allow anope to automatically check for mysql libaries?"
echo "unless you get errors with make, there is no need to"
echo "change this setting."
while [ $ok -eq 0 ] ; do
echo2 "[$DEF] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ ! "$INPUT" ] ; then
INPUT=$DEF
fi
case $INPUT in
n*|N*)
MYSQL=
ok=1
;;
y*|Y*)
MYSQL="yes"
ok=1
;;
*)
echo "Please enter 'yes' or 'no'."
;;
esac
done
TEMP_YN="n"
if [ "$DEBUG" = "yes" ] ; then
TEMP_YN="y"
fi
echo "Would you like to build a debug version of Anope?"
echo2 "[$TEMP_YN] "
read YN
if [ "$YN" ] ; then
if [ "$YN" = "y" ] ; then
DEBUG="yes"
else
DEBUG="no"
fi
fi
echo ""
####
TEMP_YN="n"
if [ "$USE_RUN_CC_PL" = "yes" ] ; then
TEMP_YN="y"
fi
echo "You can optionally have the build run through run-cc.pl, which will"
echo "cause warnings and errors (if any) to be colored yellow and red,"
echo "respectively. This relies on Perl being installed, so if you say yes"
echo "to this without Perl, the option will be ignored."
echo "NOTE: If you are using MinGW, it is NOT recommended to say yes to"
echo "this, it may fail."
echo "Would you like to utilize run-cc.pl?"
echo2 "[$TEMP_YN] "
read YN
if [ "$YN" ] ; then
if [ "$YN" = "y" ] ; then
USE_RUN_CC_PL="yes"
else
USE_RUN_CC_PL="no"
fi
fi
echo ""
####
echo "Are there any extra arguments you wish to pass to $BUILD_SYSTEM?"
echo "(You may only need to do this if $BUILD_SYSTEM is unable to locate"
echo "missing dependencies without hints)"
echo2 "[$EXTRA_CONFIG_ARGS] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi
if [ "$INPUT" ] ; then
EXTRA_CONFIG_ARGS=$INPUT
fi
echo ""
####
################################################################################
# Store values
################################################################################
echo2 "Saving configuration results in config.cache... "
cat <<EOT >config.cache
BINDEST="$BINDEST"
DATDEST="$DATDEST"
cat <<EOT >$SOURCE_DIR/config.cache
BUILD_SYSTEM="$BUILD_SYSTEM"
INSTDIR="$INSTDIR"
RUNGROUP="$RUNGROUP"
UMASK=$UMASK
IRCTYPE="$IRCTYPE"
IRCTYPE_DEF="$IRCTYPE_DEF"
MYSQL="$MYSQL"
DEBUG="$DEBUG"
USE_RUN_CC_PL="$USE_RUN_CC_PL"
EXTRA_CONFIG_ARGS="$EXTRA_CONFIG_ARGS"
EOT
echo "done."
################################################################################
# Build the configure string
# Build the build system string
################################################################################
Run_Configure
Run_Build_System
+2 -2
View File
@@ -1,3 +1,3 @@
@echo off
cscript /nologo install.js
cscript /nologo "%~dp0\install.js"
pause
+41 -69
View File
@@ -1,131 +1,103 @@
CC=@CC@
CC=g++ # probably wrong but oh well.
INCLUDEDIR=../include
ANOPELIBS=@ANOPELIBS@
CFLAGS=@CFLAGS@
STRICT=-Wall -ansi -pedantic
CFLAGS=@CFLAGS@ -Wall -ansi -pedantic -Wshadow
PROFILE=-pg
LDPROFILE=
SHELL=/bin/sh
SUBDIRS=src
BINDEST=@BINDEST@
DATDEST=@DATDEST@
INSTDIR=@INSTDIR@
MAKEBIN=@MAKEBIN@
MYSQLDIR=@MYSQLDIR@
INSTALL=@INSTALL@
RM=@RM@
CP=@CP@
TOUCH=@TOUCH@
MODULE_PATH=@MODULE_PATH@
MYSQL=@MYSQL@
RDB=@RDB@
LDFLAGS=@LDFLAGS@
RUNGROUP=@RUNGROUP@
SHARED=@SHARED@
MODULEFLAGS=@MODULEFLAGS@
all: language headers build core protocols tools modules
strict: language headers strict_build strict_core strict_protocols strict_tools strict_modules
all: language headers build core protocols tools modules
profile: language headers profile_build profile_core profile_protocols profile_tools profile_modules
MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
'LDFLAGS=${LDFLAGS}' 'BINDEST=${BINDEST}' 'INSTALL=${INSTALL}' \
'LDFLAGS=${LDFLAGS}' 'INSTDIR=${INSTDIR}' 'INSTALL=${INSTALL}' \
'INCLUDEDIR=${INCLUDEDIR}' 'RM=${RM}' 'CP=${CP}' \
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' 'DATDEST=${DATDEST}' \
'RUNGROUP=${RUNGROUP}' 'MODULE_PATH=${MODULE_PATH}' 'RDB=${RDB}'\
'MYSQL=${MYSQL}' 'SHARED=${SHARED}' 'MODULEFLAGS=${MODULEFLAGS}'
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' \
'RUNGROUP=${RUNGROUP}' \
'SHARED=${SHARED}' 'MODULEFLAGS=${MODULEFLAGS}' \
'MAKEBIN=${MAKEBIN}' 'MYSQLDIR=${MYSQLDIR}'
build: language headers
@for i in $(SUBDIRS); do \
echo "*** Building $$i";\
( cd $$i; ${MAKE} ${MAKEARGS} all; ) \
done
strict_build:
@for i in $(SUBDIRS); do \
echo "*** Strict Building $$i";\
( cd $$i; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} $(STRICT)' all; ) \
done
@${MAKE} -C src ${MAKEARGS} all
profile_build:
@for i in $(SUBDIRS); do \
echo "*** Strict Building $$i";\
( cd $$i; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} $(PROFILE)' 'LDFLAGS=${LDFLAGS} ${PROFILE}' all; ) \
done
@${MAKE} -C src ${MAKEARGS} 'CFLAGS=${CFLAGS} $(PROFILE)' 'LDFLAGS=${LDFLAGS} ${PROFILE}' all
modules: build
(cd src/modules ; ./configure ; ${MAKE} ${MAKEARGS} all; )
@src/modules/configure src/modules
@${MAKE} -C src/modules ${MAKEARGS} all
@echo "*** All done, now (g)make install to install Anope/Modules";
clean_modules:
(cd src ; ${MAKE} ${MAKEARGS} clean_modules )
@${MAKE} -C src ${MAKEARGS} clean_modules
distclean_modules:
(cd src ; ${MAKE} ${MAKEARGS} distclean_modules )
@${MAKE} -C src ${MAKEARGS} distclean_modules
protocols: build
@echo "*** Building protocol support";
(cd src/protocol ; ./configure ; ${MAKE} ${MAKEARGS} all; )
strict_protocols: build
@echo "*** Building protocol support";
(cd src/protocol ; ./configure ; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} $(STRICT)' all; )
@src/protocol/configure src/protocol
@${MAKE} -C src/protocol ${MAKEARGS} all
profile_protocols: build
@echo "*** Building protocol support";
(cd src/protocol ; ./configure ; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} ${PROFILE}' 'PROFILE=${PROFILE}' all; )
@src/protocol/configure src/protocol
@${MAKE} -C src/protocol ${MAKEARGS} 'CFLAGS=${CFLAGS} ${PROFILE}' 'PROFILE=${PROFILE}' all
core: build
core: build
@echo "*** Building Core modules";
(cd src/ ; ${MAKE} ${MAKEARGS} core; )
@${MAKE} -C src ${MAKEARGS} core
strict_core: build
profile_core: build
@echo "*** Building Core modules";
(cd src/ ; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} $(STRICT)' core; )
profile_core: build
@echo "*** Building Core modules";
(cd src/ ; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} ${PROFILE}' 'PROFILE=${PROFILE}' core; )
@${MAKE} -C src ${MAKEARGS} 'CFLAGS=${CFLAGS} ${PROFILE}' 'PROFILE=${PROFILE}' core
tools: build
(cd src/tools ; ${MAKE} ${MAKEARGS} all; )
@echo "*** All done, now (g)make install to install Anope/Modules/Tools";
strict_tools: strict_build
(cd src/tools ; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} $(STRICT)' all; )
@${MAKE} -C src/tools ${MAKEARGS} all
@echo "*** All done, now (g)make install to install Anope/Modules/Tools";
profile_tools: profile_build
(cd src/tools ; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} $(PROFILE)' all; )
@${MAKE} -C src/tools ${MAKEARGS} 'CFLAGS=${CFLAGS} $(PROFILE)' all
@echo "*** All done, now (g)make install to install Anope/Modules/Tools";
strict_modules: strict_build
(cd src/modules ; ./configure ; ${MAKE} ${MAKEARGS} 'CFLAGS=$(CFLAGS) $(STRICT)' all; )
@echo "*** All done, now (g)make install to install Anope/Modules";
profile_modules: profile_build
(cd src/modules ; ./configure ; ${MAKE} ${MAKEARGS} 'CFLAGS=${CFLAGS} ${PROFILE}' 'PROFILE=${PROFILE}' all; )
@src/modules/configure src/modules
@${MAKE} -C src/modules ${MAKEARGS} 'CFLAGS=${CFLAGS} ${PROFILE}' 'PROFILE=${PROFILE}' all
@echo "*** All done, now (g)make install to install Anope/Modules";
language:
(cd lang ; $(MAKE) ${MAKEARGS} all language.h ; )
@$(MAKE) -C lang ${MAKEARGS} all language.h
headers:
(cd include ; ${MAKE} ${MAKEARGS} )
@${MAKE} -C include ${MAKEARGS}
clean:
(cd lang ; ${MAKE} ${MAKEARGS} clean )
(cd include ; ${MAKE} ${MAKEARGS} clean )
(cd src ; ${MAKE} ${MAKEARGS} clean )
(cd src/tools ; ${MAKE} ${MAKEARGS} clean )
${MAKE} -C lang ${MAKEARGS} clean
${MAKE} -C include ${MAKEARGS} clean
${MAKE} -C src ${MAKEARGS} clean
${MAKE} -C src/tools ${MAKEARGS} clean
distclean: clean
(cd lang ; ${MAKE} distclean )
(cd include ; ${MAKE} distclean )
(cd src ; ${MAKE} distclean )
(cd src/tools ; ${MAKE} distclean )
${MAKE} -C lang ${MAKEARGS} distclean
${MAKE} -C include ${MAKEARGS} distclean
${MAKE} -C src ${MAKEARGS} distclean
${MAKE} -C src/tools ${MAKEARGS} distclean
rm -f config.log config.status config.cache Makefile src/bin/anoperc
install: DUMMY
(cd src ; ${MAKE} ${MAKEARGS} install)
(cd src/tools ; ${MAKE} ${MAKEARGS} install)
${MAKE} -C src ${MAKEARGS} install
${MAKE} -C src/tools ${MAKEARGS} install
@echo "*** All done, Anope is now installed. Please read docs/INSTALL for details on what to do now.";
DUMMY:
-96
View File
@@ -1,96 +0,0 @@
# Makefile for Anope.
#
# (C) 2003-2014 Anope Team
# Contact us at team@anope.org
#
# This program is free but copyrighted software; see the file COPYING for
# details.
#
# Based on the original code of Epona by Lara.
# Based on the original code of Services by Andy Church.
include Makefile.inc.win32
###########################################################################
all: src core protocols languages tools modules install
src: include\version.h include\sysconf.h include\language.h include\sysconf.h
cd src && $(MAKE) && cd ..
install:
-@mkdir $(DATDEST)\backups
-@mkdir $(DATDEST)\logs
-@mkdir $(DATDEST)\languages
cd lang && $(MAKE) install && cd ..
cd src && $(MAKE) install && cd ..
cd src\modules && $(MAKE) install && cd ..
cd src\modules && $(MAKE) subs-install && cd ..
cd src\protocol && $(MAKE) install && cd ..
cd src\core && $(MAKE) install && cd ..
cd src\tools && $(MAKE) install && cd ..
-@echo ---
-@echo Anope has been installed successfully!
-@echo See docs\INSTALL for details on how to configure Anope for use.
-@echo ---
spotless:
cd lang && $(MAKE) spotless && cd ..
cd src && $(MAKE) spotless && cd ..
cd src\modules && $(MAKE) spotless && cd ..\..
cd src\protocol && $(MAKE) spotless && cd ..\..
cd src\core && $(MAKE) spotless && cd ..\..
cd src\tools && $(MAKE) spotless && cd ..\..
-@erase include\language.h include\version.h *.manifest *~ anope.exe version.sh.exe *.obj anopesmtp.exe
-@echo --
-@echo NOTICE:
-@echo You will need to run config.bat again
-@echo --
mypasql:
$(MYPASQL_BUILD)
distclean: spotless
clean: spotless
###########################################################################
languages: FRC
cd lang && $(MAKE) && cd ..
tools: FRC
cd src\tools && $(MAKE) && cd ..\..
core: FRC
cd src\core && $(MAKE) && cd ..\..
protocols: FRC
cd src\protocol && $(MAKE) && cd ..\..
modules: FRC
cd src\modules && $(MAKE) && cd ..\..
###########################################################################
include\sysconf.h:
copy include\sysconf.h.win32 include\sysconf.h
lang\language.h: lang\Makefile lang\index
cd lang && $(MAKE) language.h && cd ..
lang\index:
cd lang && $(MAKE) index && cd ..
include\language.h: lang\language.h
cd lang && copy language.h ..\include\language.h && cd ..
include\version.h: version.sh.exe version.log include\services.h include\pseudo.h include\messages.h
version.sh.exe
move version.h include\version.h
version.sh.exe:
$(CC) $(BASE_CFLAGS) include\version.sh.c /link $(LFLAGS)
FRC:
+825
View File
@@ -0,0 +1,825 @@
; CPack install script designed for a nmake build
;--------------------------------
; You must define these values
!define VERSION "@CPACK_PACKAGE_VERSION@"
!define INST_DIR "@CPACK_TEMPORARY_DIRECTORY@"
;--------------------------------
;Variables
Var MUI_TEMP
Var STARTMENU_FOLDER
Var SV_ALLUSERS
Var START_MENU
Var DO_NOT_ADD_TO_PATH
Var ADD_TO_PATH_ALL_USERS
Var ADD_TO_PATH_CURRENT_USER
Var INSTALL_DESKTOP
;--------------------------------
;Include Modern UI
!include "MUI2.nsh"
;Default installation folder
InstallDir "$PROGRAMFILES\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
;--------------------------------
;General
;Name and file
Name "@CPACK_PACKAGE_NAME@ @CPACK_PACKAGE_VERSION@"
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
;Set compression
SetCompressor @CPACK_NSIS_COMPRESSOR@
@CPACK_NSIS_DEFINES@
!include Sections.nsh
;--- Component support macros: ---
; The code for the add/remove functionality is from:
; http://nsis.sourceforge.net/Add/Remove_Functionality
; It has been modified slightly and extended to provide
; inter-component dependencies.
Var AR_SecFlags
Var AR_RegFlags
@CPACK_NSIS_SECTION_SELECTED_VARS@
; Loads the "selected" flag for the section named SecName into the
; variable VarName.
!macro LoadSectionSelectedIntoVar SecName VarName
SectionGetFlags ${${SecName}} $${VarName}
IntOp $${VarName} $${VarName} & ${SF_SELECTED} ;Turn off all other bits
!macroend
; Loads the value of a variable... can we get around this?
!macro LoadVar VarName
IntOp $R0 0 + $${VarName}
!macroend
; Sets the value of a variable
!macro StoreVar VarName IntValue
IntOp $${VarName} 0 + ${IntValue}
!macroend
!macro InitSection SecName
; This macro reads component installed flag from the registry and
;changes checked state of the section on the components page.
;Input: section index constant name specified in Section command.
ClearErrors
;Reading component status from registry
ReadRegDWORD $AR_RegFlags HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@\Components\${SecName}" "Installed"
IfErrors "default_${SecName}"
;Status will stay default if registry value not found
;(component was never installed)
IntOp $AR_RegFlags $AR_RegFlags & ${SF_SELECTED} ;Turn off all other bits
SectionGetFlags ${${SecName}} $AR_SecFlags ;Reading default section flags
IntOp $AR_SecFlags $AR_SecFlags & 0xFFFE ;Turn lowest (enabled) bit off
IntOp $AR_SecFlags $AR_RegFlags | $AR_SecFlags ;Change lowest bit
; Note whether this component was installed before
!insertmacro StoreVar ${SecName}_was_installed $AR_RegFlags
IntOp $R0 $AR_RegFlags & $AR_RegFlags
;Writing modified flags
SectionSetFlags ${${SecName}} $AR_SecFlags
"default_${SecName}:"
!insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected
!macroend
!macro FinishSection SecName
; This macro reads section flag set by user and removes the section
;if it is not selected.
;Then it writes component installed flag to registry
;Input: section index constant name specified in Section command.
SectionGetFlags ${${SecName}} $AR_SecFlags ;Reading section flags
;Checking lowest bit:
IntOp $AR_SecFlags $AR_SecFlags & ${SF_SELECTED}
IntCmp $AR_SecFlags 1 "leave_${SecName}"
;Section is not selected:
;Calling Section uninstall macro and writing zero installed flag
!insertmacro "Remove_${${SecName}}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@\Components\${SecName}" \
"Installed" 0
Goto "exit_${SecName}"
"leave_${SecName}:"
;Section is selected:
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@\Components\${SecName}" \
"Installed" 1
"exit_${SecName}:"
!macroend
!macro RemoveSection SecName
; This macro is used to call section's Remove_... macro
;from the uninstaller.
;Input: section index constant name specified in Section command.
!insertmacro "Remove_${${SecName}}"
!macroend
; Determine whether the selection of SecName changed
!macro MaybeSelectionChanged SecName
!insertmacro LoadVar ${SecName}_selected
SectionGetFlags ${${SecName}} $R1
IntOp $R1 $R1 & ${SF_SELECTED} ;Turn off all other bits
; See if the status has changed:
IntCmp $R0 $R1 "${SecName}_unchanged"
!insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected
IntCmp $R1 ${SF_SELECTED} "${SecName}_was_selected"
!insertmacro "Deselect_required_by_${SecName}"
goto "${SecName}_unchanged"
"${SecName}_was_selected:"
!insertmacro "Select_${SecName}_depends"
"${SecName}_unchanged:"
!macroend
;--- End of Add/Remove macros ---
;--------------------------------
;Interface Settings
!define MUI_ABORTWARNING
;----------------------------------------
; based upon a script of "Written by KiCHiK 2003-01-18 05:57:02"
;----------------------------------------
!verbose 3
!include "WinMessages.NSH"
!verbose 4
;====================================================
; get_NT_environment
; Returns: the selected environment
; Output : head of the stack
;====================================================
!macro select_NT_profile UN
Function ${UN}select_NT_profile
StrCmp $ADD_TO_PATH_ALL_USERS "1" 0 environment_single
DetailPrint "Selected environment for all users"
Push "all"
Return
environment_single:
DetailPrint "Selected environment for current user only."
Push "current"
Return
FunctionEnd
!macroend
!insertmacro select_NT_profile ""
!insertmacro select_NT_profile "un."
;----------------------------------------------------
!define NT_current_env 'HKCU "Environment"'
!define NT_all_env 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
!ifndef WriteEnvStr_RegKey
!ifdef ALL_USERS
!define WriteEnvStr_RegKey \
'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
!else
!define WriteEnvStr_RegKey 'HKCU "Environment"'
!endif
!endif
; AddToPath - Adds the given dir to the search path.
; Input - head of the stack
; Note - Win9x systems requires reboot
Function AddToPath
Exch $0
Push $1
Push $2
Push $3
# don't add if the path doesn't exist
IfFileExists "$0\*.*" "" AddToPath_done
ReadEnvStr $1 PATH
Push "$1;"
Push "$0;"
Call StrStr
Pop $2
StrCmp $2 "" "" AddToPath_done
Push "$1;"
Push "$0\;"
Call StrStr
Pop $2
StrCmp $2 "" "" AddToPath_done
GetFullPathName /SHORT $3 $0
Push "$1;"
Push "$3;"
Call StrStr
Pop $2
StrCmp $2 "" "" AddToPath_done
Push "$1;"
Push "$3\;"
Call StrStr
Pop $2
StrCmp $2 "" "" AddToPath_done
Call IsNT
Pop $1
StrCmp $1 1 AddToPath_NT
; Not on NT
StrCpy $1 $WINDIR 2
FileOpen $1 "$1\autoexec.bat" a
FileSeek $1 -1 END
FileReadByte $1 $2
IntCmp $2 26 0 +2 +2 # DOS EOF
FileSeek $1 -1 END # write over EOF
FileWrite $1 "$\r$\nSET PATH=%PATH%;$3$\r$\n"
FileClose $1
SetRebootFlag true
Goto AddToPath_done
AddToPath_NT:
ReadRegStr $1 ${WriteEnvStr_RegKey} "PATH"
StrCmp $1 "" AddToPath_NTdoIt
Push $1
Call Trim
Pop $1
StrCpy $0 "$1;$0"
AddToPath_NTdoIt:
WriteRegExpandStr ${WriteEnvStr_RegKey} "PATH" $0
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
AddToPath_done:
Pop $3
Pop $2
Pop $1
Pop $0
FunctionEnd
; RemoveFromPath - Remove a given dir from the path
; Input: head of the stack
Function un.RemoveFromPath
Exch $0
Push $1
Push $2
Push $3
Push $4
Push $5
Push $6
IntFmt $6 "%c" 26 # DOS EOF
Call un.IsNT
Pop $1
StrCmp $1 1 unRemoveFromPath_NT
; Not on NT
StrCpy $1 $WINDIR 2
FileOpen $1 "$1\autoexec.bat" r
GetTempFileName $4
FileOpen $2 $4 w
GetFullPathName /SHORT $0 $0
StrCpy $0 "SET PATH=%PATH%;$0"
Goto unRemoveFromPath_dosLoop
unRemoveFromPath_dosLoop:
FileRead $1 $3
StrCpy $5 $3 1 -1 # read last char
StrCmp $5 $6 0 +2 # if DOS EOF
StrCpy $3 $3 -1 # remove DOS EOF so we can compare
StrCmp $3 "$0$\r$\n" unRemoveFromPath_dosLoopRemoveLine
StrCmp $3 "$0$\n" unRemoveFromPath_dosLoopRemoveLine
StrCmp $3 "$0" unRemoveFromPath_dosLoopRemoveLine
StrCmp $3 "" unRemoveFromPath_dosLoopEnd
FileWrite $2 $3
Goto unRemoveFromPath_dosLoop
unRemoveFromPath_dosLoopRemoveLine:
SetRebootFlag true
Goto unRemoveFromPath_dosLoop
unRemoveFromPath_dosLoopEnd:
FileClose $2
FileClose $1
StrCpy $1 $WINDIR 2
Delete "$1\autoexec.bat"
CopyFiles /SILENT $4 "$1\autoexec.bat"
Delete $4
Goto unRemoveFromPath_done
unRemoveFromPath_NT:
ReadRegStr $1 ${WriteEnvStr_RegKey} "PATH"
StrCpy $5 $1 1 -1 # copy last char
StrCmp $5 ";" +2 # if last char != ;
StrCpy $1 "$1;" # append ;
Push $1
Push "$0;"
Call un.StrStr ; Find `$0;` in $1
Pop $2 ; pos of our dir
StrCmp $2 "" unRemoveFromPath_done
; else, it is in path
# $0 - path to add
# $1 - path var
StrLen $3 "$0;"
StrLen $4 $2
StrCpy $5 $1 -$4 # $5 is now the part before the path to remove
StrCpy $6 $2 "" $3 # $6 is now the part after the path to remove
StrCpy $3 $5$6
StrCpy $5 $3 1 -1 # copy last char
StrCmp $5 ";" 0 +2 # if last char == ;
StrCpy $3 $3 -1 # remove last char
WriteRegExpandStr ${WriteEnvStr_RegKey} "PATH" $3
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
unRemoveFromPath_done:
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Pop $0
FunctionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Uninstall sutff
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
###########################################
# Utility Functions #
###########################################
;====================================================
; IsNT - Returns 1 if the current system is NT, 0
; otherwise.
; Output: head of the stack
;====================================================
; IsNT
; no input
; output, top of the stack = 1 if NT or 0 if not
;
; Usage:
; Call IsNT
; Pop $R0
; ($R0 at this point is 1 or 0)
!macro IsNT un
Function ${un}IsNT
Push $0
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
StrCmp $0 "" 0 IsNT_yes
; we are not NT.
Pop $0
Push 0
Return
IsNT_yes:
; NT!!!
Pop $0
Push 1
FunctionEnd
!macroend
!insertmacro IsNT ""
!insertmacro IsNT "un."
; StrStr
; input, top of stack = string to search for
; top of stack-1 = string to search in
; output, top of stack (replaces with the portion of the string remaining)
; modifies no other variables.
;
; Usage:
; Push "this is a long ass string"
; Push "ass"
; Call StrStr
; Pop $R0
; ($R0 at this point is "ass string")
!macro StrStr un
Function ${un}StrStr
Exch $R1 ; st=haystack,old$R1, $R1=needle
Exch ; st=old$R1,haystack
Exch $R2 ; st=old$R1,old$R2, $R2=haystack
Push $R3
Push $R4
Push $R5
StrLen $R3 $R1
StrCpy $R4 0
; $R1=needle
; $R2=haystack
; $R3=len(needle)
; $R4=cnt
; $R5=tmp
loop:
StrCpy $R5 $R2 $R3 $R4
StrCmp $R5 $R1 done
StrCmp $R5 "" done
IntOp $R4 $R4 + 1
Goto loop
done:
StrCpy $R1 $R2 "" $R4
Pop $R5
Pop $R4
Pop $R3
Pop $R2
Exch $R1
FunctionEnd
!macroend
!insertmacro StrStr ""
!insertmacro StrStr "un."
Function Trim ; Added by Pelaca
Exch $R1
Push $R2
Loop:
StrCpy $R2 "$R1" 1 -1
StrCmp "$R2" " " RTrim
StrCmp "$R2" "$\n" RTrim
StrCmp "$R2" "$\r" RTrim
StrCmp "$R2" ";" RTrim
GoTo Done
RTrim:
StrCpy $R1 "$R1" -1
Goto Loop
Done:
Pop $R2
Exch $R1
FunctionEnd
Function ConditionalAddToRegisty
Pop $0
Pop $1
StrCmp "$0" "" ConditionalAddToRegisty_EmptyString
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@" \
"$1" "$0"
;MessageBox MB_OK "Set Registry: '$1' to '$0'"
DetailPrint "Set install registry entry: '$1' to '$0'"
ConditionalAddToRegisty_EmptyString:
FunctionEnd
;--------------------------------
!ifdef CPACK_USES_DOWNLOAD
Function DownloadFile
IfFileExists $INSTDIR\* +2
CreateDirectory $INSTDIR
Pop $0
; Skip if already downloaded
IfFileExists $INSTDIR\$0 0 +2
Return
StrCpy $1 "@CPACK_DOWNLOAD_SITE@"
try_again:
NSISdl::download "$1/$0" "$INSTDIR\$0"
Pop $1
StrCmp $1 "success" success
StrCmp $1 "Cancelled" cancel
MessageBox MB_OK "Download failed: $1"
cancel:
Return
success:
FunctionEnd
!endif
;--------------------------------
; Installation types
@CPACK_NSIS_INSTALLATION_TYPES@
;--------------------------------
; Component sections
@CPACK_NSIS_COMPONENT_SECTIONS@
;--------------------------------
; Define some macro setting for the gui
@CPACK_NSIS_INSTALLER_MUI_ICON_CODE@
@CPACK_NSIS_INSTALLER_ICON_CODE@
@CPACK_NSIS_INSTALLER_MUI_COMPONENTS_DESC@
;--------------------------------
;Pages
!define MUI_LANGDLL_REGISTRY_ROOT "SHCTX"
!define MUI_LANGDLL_REGISTRY_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@"
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "@CPACK_RESOURCE_FILE_LICENSE@"
!insertmacro MUI_PAGE_DIRECTORY
;Start Menu Folder Page Configuration
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "SHCTX"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
!insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
@CPACK_NSIS_PAGE_COMPONENTS@
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\docs\README.txt"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
;--------------------------------
;Languages
!insertmacro MUI_LANGUAGE "Dutch"
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "German"
!insertmacro MUI_LANGUAGE "Italian"
!insertmacro MUI_LANGUAGE "Portuguese"
!insertmacro MUI_LANGUAGE "Spanish"
;--------------------------------
;Installer Sections
Section "-Core installation"
;Use the entire tree produced by the INSTALL target. Keep the
;list of directories here in sync with the RMDir commands below.
SetOutPath "$INSTDIR"
@CPACK_NSIS_FULL_INSTALL@
;Store installation folder
WriteRegStr SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "" $INSTDIR
;Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"
Push "DisplayName"
Push "@CPACK_NSIS_DISPLAY_NAME@"
Call ConditionalAddToRegisty
Push "DisplayVersion"
Push "@CPACK_PACKAGE_VERSION@"
Call ConditionalAddToRegisty
Push "Publisher"
Push "@CPACK_PACKAGE_VENDOR@"
Call ConditionalAddToRegisty
Push "UninstallString"
Push "$INSTDIR\Uninstall.exe"
Call ConditionalAddToRegisty
Push "NoRepair"
Push "1"
Call ConditionalAddToRegisty
!ifdef CPACK_NSIS_ADD_REMOVE
;Create add/remove functionality
Push "ModifyPath"
Push "$INSTDIR\AddRemove.exe"
Call ConditionalAddToRegisty
!else
Push "NoModify"
Push "1"
Call ConditionalAddToRegisty
!endif
; Optional registration
Push "DisplayIcon"
Push "$INSTDIR\@CPACK_NSIS_INSTALLED_ICON_NAME@"
Call ConditionalAddToRegisty
Push "HelpLink"
Push "@CPACK_NSIS_HELP_LINK@"
Call ConditionalAddToRegisty
Push "URLInfoAbout"
Push "@CPACK_NSIS_URL_INFO_ABOUT@"
Call ConditionalAddToRegisty
Push "Contact"
Push "@CPACK_NSIS_CONTACT@"
Call ConditionalAddToRegisty
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
;Create shortcuts
CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
@CPACK_NSIS_CREATE_ICONS@
@CPACK_NSIS_CREATE_ICONS_EXTRA@
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
; Write special uninstall registry entries
Push "StartMenu"
Push "$STARTMENU_FOLDER"
Call ConditionalAddToRegisty
Push "DoNotAddToPath"
Push "$DO_NOT_ADD_TO_PATH"
Call ConditionalAddToRegisty
Push "AddToPathAllUsers"
Push "$ADD_TO_PATH_ALL_USERS"
Call ConditionalAddToRegisty
Push "AddToPathCurrentUser"
Push "$ADD_TO_PATH_CURRENT_USER"
Call ConditionalAddToRegisty
Push "InstallToDesktop"
Push "$INSTALL_DESKTOP"
Call ConditionalAddToRegisty
@CPACK_NSIS_EXTRA_INSTALL_COMMANDS@
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd
;--------------------------------
; determine admin versus local install
Function un.onInit
ClearErrors
UserInfo::GetName
IfErrors noLM
Pop $0
UserInfo::GetAccountType
Pop $1
StrCmp $1 "Admin" 0 +3
SetShellVarContext all
;MessageBox MB_OK 'User "$0" is in the Admin group'
Goto done
StrCmp $1 "Power" 0 +3
SetShellVarContext all
;MessageBox MB_OK 'User "$0" is in the Power Users group'
Goto done
noLM:
;Get installation folder from registry if available
done:
!insertmacro MUI_UNGETLANGUAGE
FunctionEnd
;--- Add/Remove callback functions: ---
!macro SectionList MacroName
;This macro used to perform operation on multiple sections.
;List all of your components in following manner here.
@CPACK_NSIS_COMPONENT_SECTION_LIST@
!macroend
Section -FinishComponents
;Removes unselected components and writes component status to registry
!insertmacro SectionList "FinishSection"
!ifdef CPACK_NSIS_ADD_REMOVE
; Get the name of the installer executable
System::Call 'kernel32::GetModuleFileNameA(i 0, t .R0, i 1024) i r1'
StrCpy $R3 $R0
; Strip off the last 13 characters, to see if we have AddRemove.exe
StrLen $R1 $R0
IntOp $R1 $R0 - 13
StrCpy $R2 $R0 13 $R1
StrCmp $R2 "AddRemove.exe" addremove_installed
; We're not running AddRemove.exe, so install it
CopyFiles $R3 $INSTDIR\AddRemove.exe
addremove_installed:
!endif
SectionEnd
;--- End of Add/Remove callback functions ---
;--------------------------------
; Component dependencies
Function .onSelChange
!insertmacro SectionList MaybeSelectionChanged
FunctionEnd
;--------------------------------
;Uninstaller Section
Section "Uninstall"
ReadRegStr $START_MENU SHCTX \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@" "StartMenu"
;MessageBox MB_OK "Start menu is in: $START_MENU"
ReadRegStr $DO_NOT_ADD_TO_PATH SHCTX \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@" "DoNotAddToPath"
ReadRegStr $ADD_TO_PATH_ALL_USERS SHCTX \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@" "AddToPathAllUsers"
ReadRegStr $ADD_TO_PATH_CURRENT_USER SHCTX \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@" "AddToPathCurrentUser"
;MessageBox MB_OK "Add to path: $DO_NOT_ADD_TO_PATH all users: $ADD_TO_PATH_ALL_USERS"
ReadRegStr $INSTALL_DESKTOP SHCTX \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@" "InstallToDesktop"
;MessageBox MB_OK "Install to desktop: $INSTALL_DESKTOP "
@CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS@
;Remove files we installed.
;Keep the list of directories here in sync with the File commands above.
@CPACK_NSIS_DELETE_FILES@
@CPACK_NSIS_DELETE_DIRECTORIES@
!ifdef CPACK_NSIS_ADD_REMOVE
;Remove the add/remove program
Delete "$INSTDIR\AddRemove.exe"
!endif
;Remove the uninstaller itself.
Delete "$INSTDIR\Uninstall.exe"
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@"
;Remove the installation directory if it is empty.
RMDir "$INSTDIR"
; Remove the registry entries.
DeleteRegKey SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@"
; Removes all optional components
!insertmacro SectionList "RemoveSection"
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
@CPACK_NSIS_DELETE_ICONS@
@CPACK_NSIS_DELETE_ICONS_EXTRA@
;Delete empty start menu parent diretories
StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
startMenuDeleteLoop:
ClearErrors
RMDir $MUI_TEMP
GetFullPathName $MUI_TEMP "$MUI_TEMP\.."
IfErrors startMenuDeleteLoopDone
StrCmp "$MUI_TEMP" "$SMPROGRAMS" startMenuDeleteLoopDone startMenuDeleteLoop
startMenuDeleteLoopDone:
; If the user changed the shortcut, then untinstall may not work. This should
; try to fix it.
StrCpy $MUI_TEMP "$START_MENU"
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
@CPACK_NSIS_DELETE_ICONS_EXTRA@
;Delete empty start menu parent diretories
StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
secondStartMenuDeleteLoop:
ClearErrors
RMDir $MUI_TEMP
GetFullPathName $MUI_TEMP "$MUI_TEMP\.."
IfErrors secondStartMenuDeleteLoopDone
StrCmp "$MUI_TEMP" "$SMPROGRAMS" secondStartMenuDeleteLoopDone secondStartMenuDeleteLoop
secondStartMenuDeleteLoopDone:
DeleteRegKey /ifempty SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@"
Push $INSTDIR\bin
StrCmp $DO_NOT_ADD_TO_PATH_ "1" doNotRemoveFromPath 0
Call un.RemoveFromPath
doNotRemoveFromPath:
SectionEnd
;--------------------------------
; determine admin versus local install
; Is install for "AllUsers" or "JustMe"?
; Default to "JustMe" - set to "AllUsers" if admin or on Win9x
; This function is used for the very first "custom page" of the installer.
; This custom page does not show up visibly, but it executes prior to the
; first visible page and sets up $INSTDIR properly...
; Choose different default installation folder based on SV_ALLUSERS...
; "Program Files" for AllUsers, "My Documents" for JustMe...
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
; Reads components status for registry
!insertmacro SectionList "InitSection"
StrCpy $SV_ALLUSERS "JustMe"
StrCpy $INSTDIR "$DOCUMENTS\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
ClearErrors
UserInfo::GetName
IfErrors noLM
Pop $0
UserInfo::GetAccountType
Pop $1
StrCmp $1 "Admin" 0 +3
SetShellVarContext all
;MessageBox MB_OK 'User "$0" is in the Admin group'
StrCpy $SV_ALLUSERS "AllUsers"
Goto done
StrCmp $1 "Power" 0 +3
SetShellVarContext all
;MessageBox MB_OK 'User "$0" is in the Power Users group'
StrCpy $SV_ALLUSERS "AllUsers"
Goto done
noLM:
StrCpy $SV_ALLUSERS "AllUsers"
;Get installation folder from registry if available
done:
StrCmp $SV_ALLUSERS "AllUsers" 0 +2
StrCpy $INSTDIR "$PROGRAMFILES\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
FunctionEnd
+5
View File
@@ -0,0 +1,5 @@
# This file is external to the read_from_file macro in Anope.cmake in order to
# get around a possible memory leak in older versions of CMake.
file(READ "${FILE}" RESULT)
message("${RESULT}")
Vendored
+32 -24
View File
@@ -835,29 +835,37 @@ dnl Check the size of several types and define a valid int16_t and int32_t.
dnl
AC_DEFUN(anope_CHECK_TYPE_SIZES,
[dnl Check type sizes
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
if test "$ac_cv_sizeof_int" = 2 ; then
AC_CHECK_TYPE(int16_t, int)
AC_CHECK_TYPE(u_int16_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 2 ; then
AC_CHECK_TYPE(int16_t, short)
AC_CHECK_TYPE(u_int16_t, unsigned short)
else
AC_MSG_ERROR([Cannot find a type with size of 16 bits])
fi
if test "$ac_cv_sizeof_int" = 4 ; then
AC_CHECK_TYPE(int32_t, int)
AC_CHECK_TYPE(u_int32_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 4 ; then
AC_CHECK_TYPE(int32_t, short)
AC_CHECK_TYPE(u_int32_t, unsigned short)
elif test "$ac_cv_sizeof_long" = 4 ; then
AC_CHECK_TYPE(int32_t, long)
AC_CHECK_TYPE(u_int32_t, unsigned long)
else
AC_MSG_ERROR([Cannot find a type with size of 32 bits])
fi
dnl AC_CHECK_SIZEOF(short)
dnl AC_CHECK_SIZEOF(int)
dnl AC_CHECK_SIZEOF(long)
dnl if test "$ac_cv_sizeof_int" = 2 ; then
dnl AC_CHECK_TYPE(int16_t, int)
dnl AC_CHECK_TYPE(u_int16_t, unsigned int)
dnl elif test "$ac_cv_sizeof_short" = 2 ; then
dnl AC_CHECK_TYPE(int16_t, short)
dnl AC_CHECK_TYPE(u_int16_t, unsigned short)
dnl else
dnl AC_MSG_ERROR([Cannot find a type with size of 16 bits])
dnl fi
dnl if test "$ac_cv_sizeof_int" = 4 ; then
dnl AC_CHECK_TYPE(int32_t, int)
dnl AC_CHECK_TYPE(u_int32_t, unsigned int)
dnl elif test "$ac_cv_sizeof_short" = 4 ; then
dnl AC_CHECK_TYPE(int32_t, short)
dnl AC_CHECK_TYPE(u_int32_t, unsigned short)
dnl elif test "$ac_cv_sizeof_long" = 4 ; then
dnl AC_CHECK_TYPE(int32_t, long)
dnl AC_CHECK_TYPE(u_int32_t, unsigned long)
dnl else
dnl AC_MSG_ERROR([Cannot find a type with size of 32 bits])
dnl fi
AC_CHECK_TYPE(uint8_t, AC_DEFINE(HAVE_UINT8_T, 1, "Has uint8_t type"))
AC_CHECK_TYPE(u_int8_t, AC_DEFINE(HAVE_U_INT8_T, 1, "Has u_int8_t type"))
AC_CHECK_TYPE(int16_t, AC_DEFINE(HAVE_INT16_T, 1, "Has int16_t type"))
AC_CHECK_TYPE(uint16_t, AC_DEFINE(HAVE_UINT16_T, 1, "Has uint16_t type"))
AC_CHECK_TYPE(u_int16_t, AC_DEFINE(HAVE_U_INT16_T, 1, "Has u_int16_t type"))
AC_CHECK_TYPE(int32_t, AC_DEFINE(HAVE_INT32_T, 1, "Has int32_t type"))
AC_CHECK_TYPE(uint32_t, AC_DEFINE(HAVE_UINT32_T, 1, "Has uint32_t type"))
AC_CHECK_TYPE(u_int32_t, AC_DEFINE(HAVE_U_INT32_T, 1, "Has u_int32_t type"))
])
+32 -24
View File
@@ -4,28 +4,36 @@ dnl Check the size of several types and define a valid int16_t and int32_t.
dnl
AC_DEFUN(anope_CHECK_TYPE_SIZES,
[dnl Check type sizes
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
if test "$ac_cv_sizeof_int" = 2 ; then
AC_CHECK_TYPE(int16_t, int)
AC_CHECK_TYPE(u_int16_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 2 ; then
AC_CHECK_TYPE(int16_t, short)
AC_CHECK_TYPE(u_int16_t, unsigned short)
else
AC_MSG_ERROR([Cannot find a type with size of 16 bits])
fi
if test "$ac_cv_sizeof_int" = 4 ; then
AC_CHECK_TYPE(int32_t, int)
AC_CHECK_TYPE(u_int32_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 4 ; then
AC_CHECK_TYPE(int32_t, short)
AC_CHECK_TYPE(u_int32_t, unsigned short)
elif test "$ac_cv_sizeof_long" = 4 ; then
AC_CHECK_TYPE(int32_t, long)
AC_CHECK_TYPE(u_int32_t, unsigned long)
else
AC_MSG_ERROR([Cannot find a type with size of 32 bits])
fi
dnl AC_CHECK_SIZEOF(short)
dnl AC_CHECK_SIZEOF(int)
dnl AC_CHECK_SIZEOF(long)
dnl if test "$ac_cv_sizeof_int" = 2 ; then
dnl AC_CHECK_TYPE(int16_t, int)
dnl AC_CHECK_TYPE(u_int16_t, unsigned int)
dnl elif test "$ac_cv_sizeof_short" = 2 ; then
dnl AC_CHECK_TYPE(int16_t, short)
dnl AC_CHECK_TYPE(u_int16_t, unsigned short)
dnl else
dnl AC_MSG_ERROR([Cannot find a type with size of 16 bits])
dnl fi
dnl if test "$ac_cv_sizeof_int" = 4 ; then
dnl AC_CHECK_TYPE(int32_t, int)
dnl AC_CHECK_TYPE(u_int32_t, unsigned int)
dnl elif test "$ac_cv_sizeof_short" = 4 ; then
dnl AC_CHECK_TYPE(int32_t, short)
dnl AC_CHECK_TYPE(u_int32_t, unsigned short)
dnl elif test "$ac_cv_sizeof_long" = 4 ; then
dnl AC_CHECK_TYPE(int32_t, long)
dnl AC_CHECK_TYPE(u_int32_t, unsigned long)
dnl else
dnl AC_MSG_ERROR([Cannot find a type with size of 32 bits])
dnl fi
AC_CHECK_TYPE(uint8_t, AC_DEFINE(HAVE_UINT8_T, 1, "Has uint8_t type"))
AC_CHECK_TYPE(u_int8_t, AC_DEFINE(HAVE_U_INT8_T, 1, "Has u_int8_t type"))
AC_CHECK_TYPE(int16_t, AC_DEFINE(HAVE_INT16_T, 1, "Has int16_t type"))
AC_CHECK_TYPE(uint16_t, AC_DEFINE(HAVE_UINT16_T, 1, "Has uint16_t type"))
AC_CHECK_TYPE(u_int16_t, AC_DEFINE(HAVE_U_INT16_T, 1, "Has u_int16_t type"))
AC_CHECK_TYPE(int32_t, AC_DEFINE(HAVE_INT32_T, 1, "Has int32_t type"))
AC_CHECK_TYPE(uint32_t, AC_DEFINE(HAVE_UINT32_T, 1, "Has uint32_t type"))
AC_CHECK_TYPE(u_int32_t, AC_DEFINE(HAVE_U_INT32_T, 1, "Has u_int32_t type"))
])
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
echo "Generating build information using aclocal, autoheader, automake and autoconf."
echo
# Regerate configuration files
aclocal
autoheader
automake --gnu --add-missing --copy
autoconf
echo
echo "Now you are ready to run ./configure"
Vendored
+4033 -2055
View File
File diff suppressed because it is too large Load Diff
+36 -97
View File
@@ -1,18 +1,21 @@
dnl autoconf.in for Services.
dnl
dnl Anope (c) 2003-2014 Anope Team
dnl Anope (c) 2003-2010 Anope team
dnl Contact us at team@anope.org
dnl This program is free but copyrighted software; see the file COPYING for
dnl details.
dnl Based heavily on the Unreal configure.in script, and extra thanks to
dnl codemastr from UnrealIRCD.
AC_INIT
# Clear out any CFLAGS (cept -g) the os is using, usually -g -O2
CFLAGS="-g"
# If no bindir, we tell him to run ./Config.
if test "${with_bindir+set}" != set || test "${with_datadir+set}" != set; then
if test "${with_instdir+set}" != set; then
echo "You might want to run ./Config or provide some parameters to this script."
echo "./configure --help for information about this script"
exit 0
@@ -65,7 +68,7 @@ AC_CACHE_VAL(ac_cv_valistisarray,
}
int main()
{ foo(0, 123); return(0); }]])],[ac_cv_valistisarray=false],[ac_cv_valistisarray=true],[ac_cv_valistisarray=false])])
if test "$ac_cv_valistisarray" = true ; then
AC_DEFINE(HAVE_VA_LIST_AS_ARRAY,[1],[va_list as array])
AC_MSG_RESULT(yes)
@@ -73,97 +76,34 @@ else
AC_MSG_RESULT(no)
fi
DIS_MYSQL=" MySQL: No"
AC_ARG_WITH(mysql, [ --without-mysql Do not use MySQL or attempt to find it],,[
AC_ARG_WITH(mysqlconfig-path, [ --with-mysqlconfig-path=PATH Complete path to the mysql_config executable],
mysql_config_path="$withval", mysql_config_path="")
MYSQLCONF=""
if test "$mysql_config_path" != ""; then
if test -x "$mysql_config_path"; then
MYSQLCONF="$mysql_config_path"
echo "checking for mysql_config... $MYSQLCONF" >&6
fi
fi
if test "$MYSQLCONF" = ""; then
AC_PATH_PROG(MYSQLCONF,mysql_config, "")
fi
if test "$MYSQLCONF" != ""; then
hold_cflags="$CFLAGS"
hold_ldflags="$LDFLAGS"
if test "$MYSQL_CFLAGS" = ""; then
MYSQL_CFLAGS="`$MYSQLCONF --cflags`"
fi
if test "$MYSQL_LDFLAGS" = ""; then
MYSQL_LDFLAGS="`$MYSQLCONF --libs`"
fi
CFLAGS="$CFLAGS $MYSQL_CFLAGS"
LDFLAGS="$LDFLAGS $MYSQL_LDFLAGS"
LIBS="$MYSQL_LDFLAGS"
echo $ECHO_N "checking if mysql_config produces valid values... $ECHO_C" >&6
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <mysql.h>
int main()
{
MYSQL *mysql = mysql_init(0);
return 0;
}
]])],[ac_cv_mysql_valid=yes],[ac_cv_mysql_valid=no],[])
echo $ac_cv_mysql_valid >&6
if test "$ac_cv_mysql_valid" = "yes"; then
AC_DEFINE_UNQUOTED(USE_MYSQL,1,"Use Mysql")
AC_DEFINE_UNQUOTED(USE_RDB,1,"Use RDB")
MYSQL=" mysql.c "
RDB=" rdb.c "
AC_SUBST(MYSQL)
AC_SUBST(RDB)
DIS_MYSQL=" MySQL: Yes"
else
CFLAGS="$hold_cflags"
LDFLAGS="$hold_ldflags"
LIBS=""
fi
fi
])
AC_MSG_CHECKING(whether this is a bit or little endian system)
AC_RUN_IFELSE([AC_LANG_SOURCE([[
AC_TRY_RUN([
int main()
{
short s = 1;
short* ptr = &s;
unsigned char c = *((char*)ptr);
return c;
return c;
}
]])],[AC_DEFINE(BIG_ENDIAN)
]
, AC_DEFINE(BIG_ENDIAN)
AC_MSG_RESULT(big)
],[AC_DEFINE(LITTLE_ENDIAN)
, AC_DEFINE(LITTLE_ENDIAN)
AC_MSG_RESULT(little)
],[])
)
AC_SUBST(ANOPELIBS)
AC_SUBST(LDFLAGS)
AC_CHECK_HEADER(sys/types.h,AC_DEFINE(HAS_SYS_TYPES_H,1,"Has sys/types.h"))
DIS_MODULES="Modules: Yes"
dnl module checking based on Unreal's module checking code
AC_DEFUN(AC_ENABLE_DYN,
[
AC_CHECK_FUNC(dlopen,, AC_CHECK_LIB(dl,dlopen,[
ANOPELIBS="$ANOPELIBS -ldl"
AC_DEFINE(USE_MODULES,1,"Modules are available")
USE_MODULES="yes"
DIS_MODULES="Modules: Yes"
],
[
AC_MSG_WARN(Dynamic linking is not enabled because dlopen was not found)
AC_DEFINE(STATIC_LINKING,"NO_MODULES","modules not available")
DIS_MODULES="Modules: No"
AC_ERROR("dlopen() is required for Anope to be compiled and used. Sorry.")
]))
hold_cflags=$CFLAGS
@@ -232,7 +172,6 @@ fi
MODULEFLAGS=$ac_cv_pic
AC_SUBST(MODULEFLAGS)
AC_DEFINE(USE_MODULES,1,"Modules available")
])
AC_ENABLE_DYN
@@ -242,14 +181,8 @@ AC_CHECK_HEADER(strings.h,AC_DEFINE(HAVE_STRINGS_H,1,""))
AC_CHECK_HEADER(sys/select.h,AC_DEFINE(HAVE_SYS_SELECT_H,1,""))
AC_CHECK_FUNCS(backtrace,AC_DEFINE(HAVE_BACKTRACE,1))
AC_CHECK_FUNCS(strerror,AC_DEFINE(HAVE_STRERROR,1))
AC_CHECK_FUNCS(sys_errlist,AC_DEFINE(HAVE_SYS_ERRLIST,1))
AC_CHECK_FUNCS(snprintf,AC_DEFINE(HAVE_SNPRINTF,1))
AC_CHECK_FUNCS(stricmp,AC_DEFINE(HAVE_STRICMP,1))
AC_CHECK_FUNCS(strcasecmp,AC_DEFINE(HAVE_STRCASECMP,1))
AC_CHECK_FUNCS(strdup,AC_DEFINE(HAVE_STRDUP,1))
AC_CHECK_FUNCS(strspn,AC_DEFINE(HAVE_STRSPN,1))
AC_CHECK_FUNCS(strsignal,AC_DEFINE(HAVE_STRSIGNAL,1))
AC_CHECK_FUNCS(gettimeofday,AC_DEFINE(HAVE_GETTIMEOFDAY,1))
AC_CHECK_FUNCS(setgrent,AC_DEFINE(HAVE_SETGRENT,1))
AC_CHECK_FUNCS(umask,AC_DEFINE(HAVE_UMASK,1))
@@ -259,34 +192,40 @@ AC_CHECK_FUNCS(gethostbyname_r,AC_DEFINE(HAVE_GETHOSTBYNAME_R,1))
AC_CHECK_FUNCS(strlcpy,AC_DEFINE(HAVE_STRLCPY,1))
AC_CHECK_FUNCS(strlcat,AC_DEFINE(HAVE_STRLCAT,1))
AC_ARG_WITH(rungroup, [ --with-rungroup=group Specify the rungroup for anope], [
AC_ARG_WITH(rungroup, [ --with-rungroup=group Specify the rungroup for anope], [
AC_DEFINE_UNQUOTED(RUNGROUP,"$withval","Run group")
RUNGROUP=$withval
])
AC_SUBST(RUNGROUP)
dnl AC_DEFINE_UNQUOTED(MYOSNAME,"`uname -a`","uname")
AC_ARG_WITH(permissions, [ --with-permissions=permissions Specify the default permissions for anope], AC_DEFINE_UNQUOTED(DEFUMASK,$withval,"Default umask permissions"), AC_DEFINE(DEFUMASK, 007,"Default umask Permissions"))
AC_ARG_WITH(permissions, [ --with-permissions=permissions Specify the default permissions for anope], AC_DEFINE_UNQUOTED(DEFUMASK,$withval,"Default umask permissions"), AC_DEFINE(DEFUMASK, 007,"Default umask Permissions"))
AC_ARG_WITH(bindir, [ --with-bindir=bindir Specify the default binary dir for anope], [
AC_DEFINE_UNQUOTED(SERVICES_BIN,"${withval}/services","Binary Dir")
BINDEST=$withval
DATDEST=$withval
MODULE_PATH=${withval}/modules/
AC_ARG_WITH(instdir, [ --with-instdir=instdir Specify the default install dir for anope], [
INSTDIR=$withval
])
AC_SUBST(BINDEST)
MAKEBIN=`pwd`/run-cc.pl
AC_ARG_WITH(datadir, [ --with-datadir=datadir Specify the location of the services data folder], [
AC_DEFINE_UNQUOTED(SERVICES_DIR,"$withval","services bin dir")
AC_DEFINE_UNQUOTED(MODULE_PATH,"${withval}/modules/","Module dir")
DATDEST=$withval
MODULE_PATH=${withval}/modules/
AC_ARG_WITH(makebin, [ --with-makebin=run-cc.pl Specify the default make binary to use],[MAKEBIN=$withval])
MYSQLDIR=/usr/local/
AC_ARG_WITH(mysqlpp, [ --with-mysqlpp=/usr/local/ The base directory of the MySQL++ installation],[MYSQLDIR=$withval])
AC_SUBST(INSTDIR)
AC_SUBST(MAKEBIN)
AC_SUBST(MYSQLDIR)
AC_ARG_WITH(optimization, [ --with-optimization=1|2|3|4|5 Specify the optimization level], [
CFLAGS="$CFLAGS -O$withval"
])
AC_ARG_WITH(debugsym, [ --with-debugsym Include debugging symbols], [
CFLAGS="$CFLAGS -g"
])
AC_SUBST(DATDEST)
AC_SUBST(MODULE_PATH)
AC_CONFIG_FILES( \
Makefile \
@@ -298,7 +237,7 @@ AC_OUTPUT
cat <<EOT
$DIS_MODULES
$DIS_MYSQL
All done! Now run "make" (or possibly "gmake") to compile Anope.
See the INSTALL, README and FAQ files if you have any problems.
+6
View File
@@ -0,0 +1,6 @@
# Only install example.chk and example.conf from this directory
# NOTE: I would've had this just find all files in the directory, but that would include files not needed (like this file)
set(DATA example.chk example.conf tables.sql)
install(FILES ${DATA}
DESTINATION data
)
+9 -6
View File
@@ -1,7 +1,7 @@
#!/bin/sh
# Crontab script for Anope
#
#
# To know how to install the crontab, read the INSTALL file.
###############################################################
@@ -9,7 +9,10 @@
###############################################################
# Anope binary directory
ANOPATH=/home/ircd/services/
ANOPATH=/home/ircd/services/bin
# Anope data directory
ANODATA=/home/ircd/services/data
# Name of the pid file
ANOPIDF=services.pid
@@ -31,14 +34,14 @@ ANOPID=
cd $ANOPATH
if [ -f $ANOPIDF ]
if [ -f "$ANODATA/$ANOPIDF" ]
then
ANOPID=`cat $ANOPIDF`
ANOPID=`cat "$ANODATA/$ANOPIDF"`
if [ `ps auwx | grep $ANOPROG | grep $ANOPID | grep -v -c grep` = 1 ]
then
exit
exit
fi
rm -f $ANOPIDF
rm -f "$ANODATA/$ANOPIDF"
fi
./$ANOPROG $ANOARGS
+1550 -1619
View File
File diff suppressed because it is too large Load Diff
+174
View File
@@ -0,0 +1,174 @@
<?php
/*
* (C) 2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for furhter details.
*
*
*/
/** Object representing a MySQL query
*/
class MySQLQuery
{
/* Our query */
private $Query;
/* The result */
private $Result;
/* Socket used to connect to MySQL */
private $MysqlSock;
/** Constructor
* @param MysqlSock The MySQL socket
*/
function __construct($MysqlSock)
{
$this->MysqlSock = $MysqlSock;
}
/** Destructor
*/
function __destruct()
{
}
/** Execute a query
* @return true or false
*/
private function Execute()
{
$Res = mysql_query($this->Query, $this->MysqlSock);
$this->Result = array();
if (!empty($Res))
{
while (($Result = @mysql_fetch_assoc($Res)))
{
$this->Result[] = $Result;
}
return true;
}
return false;
}
/** Get the result for the query
* @return The result
*/
public function Result()
{
return $this->Result;
}
/** Execute a query
* @param A formatted string
* @param ... Args
* @return true or false
*/
public function Query($String, $P1 = NULL, $P2 = NULL, $P3 = NULL, $P4 = NULL, $P5 = NULL, $P6 = NULL, $P7 = NULL,
$P8 = NULL, $P9 = NULL, $P10 = NULL, $P11 = NULL, $P12 = NULL, $P13 = NULL, $P14 = NULL)
{
$this->Query = sprintf($String, $P1, $P2, $P3, $P4, $P5, $P6, $P7, $P8, $P9, $P10, $P11, $P12, $P13, $P14);
return $this->Execute();
}
/** Escape a string to by MySQL safe
* @return A new, MySQL safe string
*/
public function Escape($String)
{
return mysql_real_escape_string($String, $this->MysqlSock);
}
}
/** Main Anope class
*/
class Anope
{
/* Socket used to connect to MySQL */
private $MysqlSock;
/* True if we were able to connect successfully */
private $Connected;
/** Constructor
* @param MysqlHost The host of the MySQLd server, port can be included on this too
* @param MysqlUser The username to authenticate to MySQL with
* @param MysqlPassword The password to authenticate with
* @param MysqlDatabase The name of the Anope database
*/
function __construct($MysqlHost, $MysqlUser, $MysqlPassword, $MysqlDatabase)
{
$this->Connected = false;
$this->MysqlSock = @mysql_connect($MysqlHost, $MysqlUser, $MysqlPassword);
if ($this->MysqlSock)
$this->Connected = @mysql_select_db($MysqlDatabase, $this->MysqlSock);
}
/** Destructor
* Closes the connection to the MySQL server
*/
function __destruct()
{
if ($this->MysqlSock)
@mysql_close($this->MysqlSock);
}
/** Check if we are connected successfully
* @return true or false
*/
public function Connected()
{
return $this->Connected;
}
/** Retrieve a new query object
* @return A new Query object
*/
public function Query()
{
return new MySQLQuery($this->MysqlSock);
}
/** Anope Functions **/
/** Execute a command in Anope
* For more information read docs/MYSQL
* @param Nick The nickname to execute the command from
* @param Service The service to execute the command on
* @param Command The command to execute
*/
public function Command($Nick, $Service, $Command)
{
$Query = $this->Query();
return $Query->Query("INSERT DELAYED INTO `anope_commands` (nick, service, command) VALUES('%s', '%s', '%s')", $Query->Escape($Nick), $Query->Escape($Service), $Query->Escape($Command));
}
/** Register a nick
* @param Nick The nick to be registered
* @param Password The password
* @param Email The email address to use, defaults to NULL
* @param Returns a message confirming or denying the registration process
*/
public function Register($Nick, $Password, $Email = NULL)
{
$Query = $this->Query();
$Query->Query("SELECT nick FROM `anope_ns_alias` WHERE `nick` = '%s'", $Query->Escape($Nick));
$Result = $Query->Result();
if (isset($Result[0]['nick']))
{
return "Nickname already registered";
}
if ($this->Command($Nick, "NickServ", "REGISTER ".$Password." ".$Email))
{
return "Nick registration successful. If your network has email registration enabled check your inbox for the next step of the registration process.";
}
return "Error registering nick";
}
}
?>
+59
View File
@@ -0,0 +1,59 @@
<?php
/*
* (C) 2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for furhter details.
*
*
*
*/
/* This is an example functional webpage showing how to use Anopes MySQL
* Execute feature to register a nickname online
*/
/* Include Anope's PHP API */
include('Anope.php');
function IsValidEmail($Email)
{
return eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $Email);
}
if (!empty($_POST['nick']) && !empty($_POST['password1']) && !empty($_POST['password2']) && !empty($_POST['email']))
{
if ($_POST['password1'] != $_POST['password2'])
{
echo 'Passwords do not match';
}
else if (!IsValidEmail($_POST['email']))
{
echo 'Invalid email address';
}
else
{
/* Create a new connection, arguments are hostname, username, password, and database name */
$Anope = new Anope("localhost", "anope", "anoperules", "anope");
/* Check if we connected */
if (!$Anope->Connected())
{
echo "Error connecting to MySQL database";
}
else
{
echo $Anope->Register($_POST['nick'], $_POST['password1'], $_POST['email']);
}
die;
}
}
?>
</br>
<form method="post" action="Register.php">
Nick: <input type="text" name="nick"></br>
Password: <input type="password" name="password1"></br>
Confirm Password: <input type="password" name="password2"></br>
Email: <input type="text" name="email"></br>
<input type="submit" value="Submit">
</form>
+278 -324
View File
@@ -4,23 +4,120 @@
-- CREATE DATABASE anope;
-- USE anope;
--
-- Table structure for table 'anope_bs_core'
--
DROP TABLE IF EXISTS anope_bs_core;
CREATE TABLE anope_bs_core (
bs_id int(11) NOT NULL auto_increment,
-- --------------------------------------------------------
--
-- Table structure for table 'anope_extra'
--
DROP TABLE IF EXISTS anope_extra;
CREATE TABLE anope_extra (
data text NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_commands'
--
DROP TABLE IF EXISTS anope_commands;
CREATE TABLE anope_commands (
nick varchar(255) NOT NULL default '',
service varchar(255) NOT NULL default '',
command text NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ns_core'
--
DROP TABLE IF EXISTS anope_ns_core;
CREATE TABLE anope_ns_core (
display varchar(255) NOT NULL default '',
pass text NOT NULL,
email text NOT NULL default '',
greet text NOT NULL default '',
icq int(10) unsigned NOT NULL default '0',
url text NOT NULL default '',
flags text NOT NULL default '',
language smallint(5) unsigned NOT NULL default '0',
channelcount smallint(5) unsigned NOT NULL default '0',
memomax smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (display)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table 'anope_ns_core_metadata'
--
DROP TABLE IF EXISTS anope_ns_core_metadata;
CREATE TABLE anope_ns_core_metadata (
nick varchar(255) NOT NULL default '',
`user` text NOT NULL,
host text NOT NULL,
rname text NOT NULL,
flags int(11) NOT NULL default '0',
created int(11) NOT NULL default '0',
chancount int(11) NOT NULL default '0',
active int(1) NOT NULL default '1',
PRIMARY KEY (bs_id),
UNIQUE KEY nick (nick)
name varchar(255) NOT NULL default '',
value text NOT NULL default '',
PRIMARY KEY (name)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- ---------------------------------------------------------
--
-- Table structure for table 'anope_ns_alias'
--
DROP TABLE IF EXISTS anope_ns_alias;
CREATE TABLE anope_ns_alias (
nick varchar(255) NOT NULL default '',
last_quit text NOT NULL,
last_realname text NOT NULL,
last_usermask text NOT NULL,
time_registered int(10) unsigned NOT NULL default '0',
last_seen int(10) unsigned NOT NULL default '0',
flags text NOT NULL default '',
display varchar(255) NOT NULL default '',
PRIMARY KEY (nick)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table 'anope_ns_alias_metadata'
--
DROP TABLE IF EXISTS anope_ns_alias_metadata;
CREATE TABLE anope_ns_alias_metadata (
nick varchar(255) NOT NULL default '',
name varchar(255) NOT NULL default '',
value text NOT NULL default '',
PRIMARY KEY (name)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ns_access'
--
DROP TABLE IF EXISTS anope_ns_access;
CREATE TABLE anope_ns_access (
display varchar(255) NOT NULL default '',
access varchar(160) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- ---------------------------------------------------------
--
-- Table structure for table 'anope_ns_request'
--
DROP TABLE IF EXISTS anope_ns_request;
CREATE TABLE anope_ns_request (
nick varchar(255) NOT NULL default '',
passcode text NOT NULL,
password text NOT NULL,
email text NOT NULL,
requested int(10) unsigned NOT NULL default '0',
PRIMARY KEY (nick)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
@@ -31,51 +128,43 @@ CREATE TABLE anope_bs_core (
DROP TABLE IF EXISTS anope_cs_access;
CREATE TABLE anope_cs_access (
ca_id int(11) NOT NULL auto_increment,
in_use int(11) NOT NULL default '0',
`level` int(11) NOT NULL default '0',
level int(11) NOT NULL default '0',
display varchar(255) NOT NULL default '',
channel varchar(255) NOT NULL default '',
last_seen int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (ca_id),
UNIQUE KEY channel (channel,display)
last_seen int(10) unsigned NOT NULL default '0',
creator varchar(255) NOT NULL default '',
UNIQUE KEY (channel,display)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_cs_akicks'
--
--
-- Table structure for table 'anope_cs_akick'
--
DROP TABLE IF EXISTS anope_cs_akicks;
CREATE TABLE anope_cs_akicks (
ck_id int(11) NOT NULL auto_increment,
DROP TABLE IF EXISTS anope_cs_akick;
CREATE TABLE anope_cs_akick (
channel varchar(255) NOT NULL default '',
flags int(11) NOT NULL default '0',
dmask varchar(255) NOT NULL,
reason text NOT NULL,
creator text NOT NULL,
addtime int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (ck_id),
UNIQUE KEY channel (channel,dmask)
flags varchar(255) NOT NULL default '',
mask varchar(255) NOT NULL default '',
reason text NOT NULL default '',
creator varchar(255) NOT NULL default '',
created int(10) unsigned NOT NULL default '0',
last_used int(10) unsigned NOT NULL default '0',
UNIQUE KEY channel (channel, mask)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_cs_badwords'
--
--
-- Table structure for table 'anope_bs_badwords'
--
DROP TABLE IF EXISTS anope_cs_badwords;
CREATE TABLE anope_cs_badwords (
cw_id int(11) NOT NULL auto_increment,
DROP TABLE IF EXISTS anope_bs_badwords;
CREATE TABLE anope_bs_badwords (
channel varchar(255) NOT NULL default '',
word varchar(255) NOT NULL,
`type` int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (cw_id),
type varchar(50) NOT NULL,
UNIQUE KEY channel (channel,word)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
@@ -87,11 +176,9 @@ CREATE TABLE anope_cs_badwords (
DROP TABLE IF EXISTS anope_cs_info;
CREATE TABLE anope_cs_info (
ci_id int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
name varchar(255) NOT NULL default '',
founder text NOT NULL,
successor text NOT NULL,
founderpass tinyblob NOT NULL,
descr text NOT NULL,
url text NOT NULL,
email text NOT NULL,
@@ -100,31 +187,36 @@ CREATE TABLE anope_cs_info (
last_topic text NOT NULL,
last_topic_setter text NOT NULL,
last_topic_time int(10) unsigned NOT NULL default '0',
flags int(10) unsigned NOT NULL default '0',
flags text NOT NULL default '',
forbidby text NOT NULL,
forbidreason text NOT NULL,
bantype smallint(6) NOT NULL default '0',
accesscount smallint(6) NOT NULL default '0',
akickcount smallint(6) NOT NULL default '0',
mlock_on int(10) unsigned NOT NULL default '0',
mlock_off int(10) unsigned NOT NULL default '0',
mlock_limit int(10) unsigned NOT NULL default '0',
mlock_key text NOT NULL,
mlock_flood text NOT NULL,
mlock_redirect text NOT NULL,
mlock_on text NOT NULL default '',
mlock_off text NOT NULL default '',
mlock_params text NOT NULL default '',
entry_message text NOT NULL,
memomax smallint(5) unsigned NOT NULL default '0',
botnick varchar(255) NOT NULL default '',
botflags int(10) unsigned NOT NULL default '0',
bwcount smallint(6) NOT NULL default '0',
botflags text NOT NULL default '',
capsmin smallint(6) NOT NULL default '0',
capspercent smallint(6) NOT NULL default '0',
floodlines smallint(6) NOT NULL default '0',
floodsecs smallint(6) NOT NULL default '0',
repeattimes smallint(6) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (ci_id),
UNIQUE KEY `name` (`name`)
PRIMARY KEY (name)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_cs_info_metadata'
--
DROP TABLE IF EXISTS anope_cs_info_metadata;
CREATE TABLE anope_cs_info_metadata (
channel varchar(255) NOT NULL default '',
name varchar(255) NOT NULL default '',
value text NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
@@ -135,49 +227,149 @@ CREATE TABLE anope_cs_info (
DROP TABLE IF EXISTS anope_cs_levels;
CREATE TABLE anope_cs_levels (
cl_id int(11) NOT NULL auto_increment,
channel varchar(255) NOT NULL default '',
position int(11) NOT NULL default '0',
`level` int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (cl_id),
level int(11) NOT NULL default '0',
UNIQUE KEY channel (channel,position)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
--
-- Table structure for table 'anope_cs_ttb'
--
--
DROP TABLE IF EXISTS anope_cs_ttb;
CREATE TABLE anope_cs_ttb (
ct_id int(11) NOT NULL auto_increment,
channel varchar(255) NOT NULL default '',
ttb_id int(11) NOT NULL default '0',
`value` int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (ct_id),
value int(11) NOT NULL default '0',
UNIQUE KEY channel (channel,ttb_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_hs_core'
--
--
-- Table structure for table 'anope_bs_core'
--
DROP TABLE IF EXISTS anope_hs_core;
CREATE TABLE anope_hs_core (
bs_id int(11) NOT NULL auto_increment,
DROP TABLE IF EXISTS anope_bs_core;
CREATE TABLE anope_bs_core (
nick varchar(255) NOT NULL default '',
vident text NOT NULL,
vhost text NOT NULL,
creator text NOT NULL,
`time` int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (bs_id),
UNIQUE KEY nick (nick)
user varchar(255) NOT NULL default '',
host text NOT NULL default '',
rname text NOT NULL default '',
flags text NOT NULL default '',
created int(10) unsigned NOT NULL default '0',
chancount int(11) NOT NULL default '0',
PRIMARY KEY (nick)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_bs_info_metadata'
--
DROP TABLE IF EXISTS anope_bs_info_metadata;
CREATE TABLE anope_bs_info_metadata (
botname varchar(255) NOT NULL default '',
name varchar(255) NOT NULL default '',
value text NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ms_info'
--
DROP TABLE IF EXISTS anope_ms_info;
CREATE TABLE anope_ms_info (
receiver varchar(255) NOT NULL,
number int(11) NOT NULL default '0',
flags int(11) NOT NULL default '0',
time int(10) unsigned NOT NULL default '0',
sender text NOT NULL,
text blob NOT NULL,
serv enum('NICK','CHAN') NOT NULL default 'NICK'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_akills'
--
DROP TABLE IF EXISTS anope_os_akills;
CREATE TABLE anope_os_akills (
user varchar(255) NOT NULL,
host varchar(255) NOT NULL,
xby text NOT NULL,
reason text NOT NULL,
seton int(10) unsigned NOT NULL default '0',
expire int(10) unsigned NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_core'
--
DROP TABLE IF EXISTS anope_os_core;
CREATE TABLE anope_os_core (
maxusercnt int(11) NOT NULL default '0',
maxusertime int(10) unsigned NOT NULL default '0',
akills_count int(11) NOT NULL default '0',
sglines_count int(11) NOT NULL default '0',
sqlines_count int(11) NOT NULL default '0',
szlines_count int(11) NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_exceptions'
--
DROP TABLE IF EXISTS anope_os_exceptions;
CREATE TABLE anope_os_exceptions (
mask varchar(255) NOT NULL,
slimit int(11) NOT NULL default '0',
who text NOT NULL,
reason text NOT NULL,
time int(10) unsigned NOT NULL default '0',
expires int(10) unsigned NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_sxlines'
--
DROP TABLE IF EXISTS anope_os_sxlines;
CREATE TABLE anope_os_sxlines (
type varchar(20) NOT NULL,
mask varchar(255) NOT NULL,
xby text NOT NULL,
reason text NOT NULL,
seton int(10) unsigned NOT NULL default '0',
expire int(10) unsigned NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_metadata'
--
DROP TABLE IF EXISTS anope_metadata;
CREATE TABLE anope_metadata (
name varchar(255) NOT NULL default '',
value text NOT NULL default '',
PRIMARY KEY (name)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
@@ -189,244 +381,6 @@ CREATE TABLE anope_hs_core (
DROP TABLE IF EXISTS anope_info;
CREATE TABLE anope_info (
version int(11) default NULL,
`date` datetime default NULL
date datetime default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ms_info'
--
DROP TABLE IF EXISTS anope_ms_info;
CREATE TABLE anope_ms_info (
nm_id int(11) NOT NULL auto_increment,
receiver varchar(255) NOT NULL,
number int(11) NOT NULL default '0',
flags int(11) NOT NULL default '0',
`time` int(11) NOT NULL default '0',
sender text NOT NULL,
`text` blob NOT NULL,
serv enum('NICK','CHAN') NOT NULL default 'NICK',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (nm_id),
UNIQUE KEY nm_id (nm_id,serv),
KEY receiver (receiver,serv)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ns_access'
--
DROP TABLE IF EXISTS anope_ns_access;
CREATE TABLE anope_ns_access (
na_id int(11) NOT NULL auto_increment,
display varchar(255) NOT NULL default '',
access text NOT NULL,
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (na_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ns_alias'
--
DROP TABLE IF EXISTS anope_ns_alias;
CREATE TABLE anope_ns_alias (
na_id int(11) NOT NULL auto_increment,
display varchar(255) NOT NULL default '',
nick varchar(255) NOT NULL default '',
time_registered int(10) unsigned NOT NULL default '0',
last_seen int(10) unsigned NOT NULL default '0',
`status` int(11) unsigned NOT NULL default '0',
last_usermask text NOT NULL,
last_realname text NOT NULL,
last_quit text NOT NULL,
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (na_id),
UNIQUE KEY nick (nick)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ns_core'
--
DROP TABLE IF EXISTS anope_ns_core;
CREATE TABLE anope_ns_core (
nc_id int(11) NOT NULL auto_increment,
display varchar(255) NOT NULL default '',
pass tinyblob NOT NULL,
email text NOT NULL,
icq int(10) unsigned NOT NULL default '0',
url text NOT NULL,
flags int(11) NOT NULL default '0',
`language` smallint(5) unsigned NOT NULL default '0',
accesscount smallint(6) NOT NULL default '0',
memocount smallint(5) unsigned NOT NULL default '0',
memomax smallint(5) unsigned NOT NULL default '0',
channelcount smallint(5) unsigned NOT NULL default '0',
channelmax smallint(5) unsigned NOT NULL default '0',
greet text NOT NULL,
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (nc_id),
UNIQUE KEY display (display)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_ns_request'
--
DROP TABLE IF EXISTS anope_ns_request;
CREATE TABLE anope_ns_request (
nr_id int(11) NOT NULL auto_increment,
nick varchar(255) NOT NULL default '',
passcode text NOT NULL,
`password` tinyblob NOT NULL,
email text NOT NULL,
requested int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (nr_id),
UNIQUE KEY nick (nick)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_akills'
--
DROP TABLE IF EXISTS anope_os_akills;
CREATE TABLE anope_os_akills (
ok_id int(11) NOT NULL auto_increment,
`user` varchar(255) NOT NULL,
host varchar(255) NOT NULL,
xby text NOT NULL,
reason text NOT NULL,
seton int(11) NOT NULL default '0',
expire int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (ok_id),
UNIQUE KEY `user` (`user`,host)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_core'
--
DROP TABLE IF EXISTS anope_os_core;
CREATE TABLE anope_os_core (
oc_id int(11) NOT NULL auto_increment,
maxusercnt int(11) NOT NULL default '0',
maxusertime int(11) NOT NULL default '0',
akills_count int(11) NOT NULL default '0',
sglines_count int(11) NOT NULL default '0',
sqlines_count int(11) NOT NULL default '0',
szlines_count int(11) NOT NULL default '0',
PRIMARY KEY (oc_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_exceptions'
--
DROP TABLE IF EXISTS anope_os_exceptions;
CREATE TABLE anope_os_exceptions (
oe_id int(11) NOT NULL auto_increment,
mask varchar(255) NOT NULL,
lim int(11) NOT NULL default '0',
who text NOT NULL,
reason text NOT NULL,
`time` int(11) NOT NULL default '0',
expires int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (oe_id),
UNIQUE KEY mask (mask)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_news'
--
DROP TABLE IF EXISTS anope_os_news;
CREATE TABLE anope_os_news (
on_id int(11) NOT NULL auto_increment,
`type` int(11) NOT NULL default '0',
num int(11) NOT NULL default '0',
ntext text NOT NULL,
who text NOT NULL,
`time` int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (on_id),
UNIQUE KEY `type` (`type`,num,`time`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_sglines'
--
DROP TABLE IF EXISTS anope_os_sglines;
CREATE TABLE anope_os_sglines (
og_id int(11) NOT NULL auto_increment,
mask varchar(255) NOT NULL,
xby text NOT NULL,
reason text NOT NULL,
seton int(11) NOT NULL default '0',
expire int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (og_id),
UNIQUE KEY mask (mask)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_sqlines'
--
DROP TABLE IF EXISTS anope_os_sqlines;
CREATE TABLE anope_os_sqlines (
og_id int(11) NOT NULL auto_increment,
mask varchar(255) NOT NULL,
xby text NOT NULL,
reason text NOT NULL,
seton int(11) NOT NULL default '0',
expire int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (og_id),
UNIQUE KEY mask (mask)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table 'anope_os_szlines'
--
DROP TABLE IF EXISTS anope_os_szlines;
CREATE TABLE anope_os_szlines (
og_id int(11) NOT NULL auto_increment,
mask varchar(255) NOT NULL,
xby text NOT NULL,
reason text NOT NULL,
seton int(11) NOT NULL default '0',
expire int(11) NOT NULL default '0',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (og_id),
UNIQUE KEY mask (mask)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+1
View File
@@ -0,0 +1 @@
astyle --style=java --indent=tab --brackets=break-closing --indent-switches --indent-cases --brackets=break
+1 -1
View File
@@ -1,4 +1,4 @@
Reported Bugs from Tracker: http://bugs.anope.org/
Reported Bugs from Bugzilla: http://bugs.anope.org/
---------------------------------------------------
+106
View File
@@ -0,0 +1,106 @@
C++-style Casting
=================
In C, you can cast in one of two ways:
(type)var
type(var)
The problem with C-style casting is that it allows a programmer to get away
with too much, and is also not designed to handle C++ classes.
C++ has 4 types of casting in addition to allowing C-style casting. They are:
static_cast
const_cast
dynamic_cast
reinterpret_cast
The syntax is usually *_cast<type>(var).
static_cast
-----------
From my expierence, this cast is closest to C-style casting for non-pointer
types as well as between some (but not all) pointer types. This type of cast,
like C-style casting, is performed at compile-time. static_cast can also do
a downcast of a derived class to a base class, but only if the base class is
not a virtual base class. Sometimes the result of this cast can become
undefined. static_cast is a bit more strict that C-style casting, though. It
disallows certain class conversions that would've been allowed with a C-style
cast. static_cast also doesn't allow you to cast to an incomplete type. In
these cases, I would try either dynamic_cast or reinterpret_cast.
const_cast
----------
This cast is mainly to add or remove const-ness or volatile-ness from a
variable. This is safer than using a C-style cast to change the const-ness
of a variable. In most cases if you try to use one of the other casts and it
complains about const-ness, you will want to either use this cast instead or
wrap the other cast around this cast. An example:
const int *a;
static_cast<void *>(a); <-- This will fail.
To remedy the above, you would might try this:
const int *a;
const_cast<void *>(a); <-- But this will still fail.
The real solution is this:
const int *a;
static_cast<void *>(const_cast<int *>(a));
It is not recommended to use const_cast on the this variable within a member
function of a class that is declared const. Instead you should use the mutable
keyword on the variable in the class's definition.
dynamic_cast
------------
This cast can only be used on pointers or references to classes. It can cast a
derived class to a base class, a derived class to another derived class
(provided that both are children of the same base class), or a base class to a
derived class. You can also use this to cast a class to void *. This cast is
done at run-time as opposed to the other casts, and relies on C++'s RTTI to be
enabled. It is meant to be used on polymorphic classes, so use static_cast on
non-polymorphic classes.
derived-to-base conversions are actually done statically, so you use either
dynamic_cast or static_cast on them, regardless of if the classes are
polymorphic or not.
derived-to-derived or base-to-derived conversions, however, rely on run-time
type information, and this cast is used on those classes that are polymorphic.
This is safer than C-style casting in that an invalid pointer conversion will
return a NULL pointer, and an invalid reference conversion will throw a
Bad_cast exception.
reinterpret_cast
----------------
This cast I would use only as a last resort if static_cast isn't allowed on a
conversion. It allows for conversions between two unrelated types, such as
going from char * to int *. It can also be used to convert a pointer to an
integral type and vica versa. The sites I've read mention how the result is
non-portable, which I assume means the resulting object code is non-portable,
so since the code is compiled on many systems anyways, I don't see this as
being a huge issue. It is recommended to only use this if necessary, though.
Links
=====
The following links are web sites I've used to get this information, and might
describe some of the above a bit better than I have. :P
http://www.acm.org/crossroads/xrds3-1/ovp3-1.html
http://www.cplusplus.com/doc/tutorial/typecasting.html
http://www.codeguru.com/forum/showthread.php?t=312456
http://www.cs.umd.edu/class/sum2003/cmsc311/Notes/BitOp/cast.html
http://msdn.microsoft.com/en-us/library/5f6c9f8h(VS.80).aspx
http://en.wikibooks.org/wiki/C%2B%2B_Programming/Type_Casting
http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=134
-- CyberBotX, Nov 23, 2008
+15
View File
@@ -0,0 +1,15 @@
# We only need to install these docs on Windows as most Windows installations will be binary, not source
if(WIN32)
# Only install given files from this directory
# NOTE: I would've had this just find all files in the directory, but that would include files not needed (like this file)
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/README ${CMAKE_CURRENT_BINARY_DIR}/README.txt)
if(IN_SOURCE)
# Add README.txt to list of files for CPack to ignore
add_to_cpack_ignored_files("README.txt$" TRUE)
endif(IN_SOURCE)
set(DOCS DEFCON FAQ INSTALL MODULES NEWS PROXY ${CMAKE_CURRENT_BINARY_DIR}/README.txt WIN32.txt)
install(FILES ${DOCS}
DESTINATION docs
)
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_BINARY_DIR}/README.txt")
endif(WIN32)
+170
View File
@@ -0,0 +1,170 @@
Orginally pulled from: http://www.inspircd.org/wiki/Coding_Guidelines
Yes, I'm aware the formatting of this document is ugly. It'll be fixed when someone cares. Read the wiki page if you want pretty for now.
---
InspIRCd Coding Guidelines
The following are a set of guidelines for writing patches to InspIRCd, or for creating modules for distribution with the official package. These
guidelines were written a time after InspIRCd development started, and so not all code yet follows these. This will be rectified with time.
1. Comments
Multi Line
Multiple line comments should follow the C-style comment, for example:
/*
* This is a multiple line comment, huzzah..
*/
Single Line
Single line comments should also be in the C style, for example:
/* This is a boring one-line comment */
Doxygen commenting
If you wish your comment to show in doxygen, the comment should be directly above the item you are documenting (a class, function, enum, etc)
and the first line should be "/**". For example:
/** This is a doxygen multiline comment.
* Description of thingymebob here.
*/
The first line after the "**" is used as the short description of the item (up to the full stop) and everything afterwards as the detailed
description.
Indentation
Tabs. Tabs. ONLY TABS. Use a single tab for each level of indentation, for example:
int main()
{
<tab>if (condition)
<tab>{
<tab><tab>code
<tab>}
}
Separation
Always put a space in between a keyword like if/while and the condition, for example:
if (foo == bar)
NOT
if(foo == bar)
Braces
Always put braces opening and closing blocks on separate lines, see the identation example. For example, place braces like this:
if (apples == "green")
{
cout << "Apples are green" << endl;
}
and not:
if (apples == "green") {
cout << "Apples are green" << endl;
}
The one exception to this is if you are declaring a class method which is only one line long, in that case the following is acceptable in most cases:
class foo : public bar
{
foo() { }
getrandomfoo() { return rand(); }
};
Templates
Where possible, use templates rather than #defines. Avoid use of RTTI.
Structs
Structs should be declared in the following fashion:
struct BodyPartBasket
{
int arms;
int legs;
int scrotalsacs;
};
and not like this:
typedef struct
{
int arms;
int legs;
int scrotalsacs;
} BodyPartBasket;
The second way is not required in C++ to be able to do this:
BodyPartBasket mybasket;
Plus, placing the name at the bottom of the declaration makes readability more difficult (as you have to scroll down to the bottom of the
struct to find its name).
(where possible, call them classes rather than structs.)
Variable naming
Class and struct names should be in camel case with a leading capital letter, for example "MyBagOfBones" and not "my_bag_of_bones" or
"mybagofbones". Variable names can be in either camel case with a leading capital letter or alternatively all lower case, so long as the same
naming convention is adhered to throughout the class. No classes or variables should be named in capitals unless this makes sense for the
name (for example "class DNS"). Constants and enum values should always be completely in CAPITALS and underscores may be used, for example:
enum DecayState
{
DECAYED_MOULDY = 0,
DECAYED_SMELLY = 1,
DECAYED_MAGGOTS = 2
};
All value names in an enum should be started with the same text which should be related in some way to the enum's use. For example "DNS_CNAME,
DNS_A, DNS_AAAA".
Use of references
Wherever possible, when dealing with any complex class, pass a const reference rather than a copy of the class. For example:
MyThingy::MyThingy(const std::string &thingyvalue)
{
}
Of course, if you intended to change the string you can just omit the 'const'.
Use of char pointers
Whenever you use char pointers (char*, char**) try to use const equivalents. This is much safer and avoids ugly and dangerous casts. For example:
MyThingy::Thingify(const char* const* wotsits)
{
}
If it is possible without performance loss, consider avoiding char pointers altogether and using std::string instead.
Use of STL
For more information on use of STL in InspIRCd, please see the separate STL FAQ.
Making copies of data
Never ever make a copy of a piece of data unless it is absolutely necessary. For example, don't use strlcpy() to make a copy of the const char* string
returned by std::string::c_str(), if the change can be done to the std::string itself. The same goes for unnecessary variable assignments, especially
those which assign large classes.
namespace std
Avoid the following:
using namespace std;
It might take a bit more typing, but things work better if you don't set (then later assume) the namespace -- specify it explicitly when you want to
use it.
Linefeeds
Unix linefeeds only please. We do not like to see our screens covered in ^M. :-)
Portability
Always make sure your code is portable to all supported operating systems, remember of course that as of 1.1.8 this includes windows. Don't write code
that only works on windows, or only works on Linux. Test your code on all platforms or ask for help from other developers who have the platforms you
want to test on.
new() and delete(), malloc() and free()
Apart from the fact that using malloc() and free() is bad practice in C++ code, you must never use malloc() or free() in InspIRCd, within its modules
or within the core. This is because if you use malloc() or free() in windows, the memory is claimed from the program's local heap. In windows, each
shared object (module, dll) has its own heap, which is protected from other dlls and executables. To get around this issue and allow more posix-like
memory access from other dlls in the program (other modules), InspIRCd overrides the operators new and delete to ensure that memory allocated by them
comes from the windows global heap. If you use malloc() and free() for this, the ircd will segfault when another module tries to access the memory you
have allocated!
strdup()
As with malloc(), above, strdup() should be avoided. Where strdup() is absolutely necessary, use strnewdup() which is our strdup() implementation that
calls operator new instead of using malloc(). char arrays allocated by strnewdup() should be deleted with operator delete[].
CoreExport and DllImport
Prefix all types you want to import or export to other modules with CoreExport and DllImport macros. These do nothing in POSIX operating systems,
however in windows these are expanded to the instructions __declspec(dllimport) and __declspec(dllexport) respectively depending on where they are
used and how.
External Dependencies
If a module is compiled as standard, or the code is part of the core, you must not use any dependencies that are not available as standard on all
supported operating systems beyond libstdc++, libc, and whatever else is currently required to build the core. Modules which use nonstandard
dependencies belong in the modules/extra directory.
Profiling and Performance
It is one thing to assume that code performs bad, it is another thing to prove that it actually is. A lot of experienced programmers talk about
'premature optimisation', and here is what it means: if you have a piece of code called once on startup that takes 10 seconds instead of one second to
run, and a piece of code that takes 0.05 seconds to run when it should take 0.01, and it is called once per second, the second piece of code is the
priority.
In other words, make sure that what you think is slow, and a performance problem in Insp actually is.
To do this, use the callgrind tool from Valgrind (valgrind --tool=cachegrind bin/inspircd -nofork -debug), and kcachegrind (or similar) to view the
output files.
+252 -260
View File
@@ -1,347 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Preamble
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the entire
whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years,
to give any third party, for a charge no more than your cost of
physically performing source distribution, a complete machine-readable
copy of the corresponding source code, to be distributed under the terms
of Sections 1 and 2 above on a medium customarily used for software
interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is allowed
only for noncommercial distribution and only if you received the program
in object code or executable form with such an offer, in accord with
Subsection b above.)
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent license
would not permit royalty-free redistribution of the Program by all those
who receive copies directly or indirectly through you, then the only way
you could satisfy both it and this License would be to refrain entirely
from distribution of the Program.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is implemented
by public license practices. Many people have made generous contributions
to the wide range of software distributed through that system in reliance
on consistent application of that system; it is up to the author/donor to
decide if he or she is willing to distribute software through any other
system and a licensee cannot impose that choice.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to be
a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make
it free software which everyone can redistribute and change under
these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and an idea of what it does.>
Copyright (C) yyyy name of author
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
type `show w'. This is free software, and you are welcome
to redistribute it under certain conditions; type `show c'
for details.
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
+100
View File
@@ -0,0 +1,100 @@
Anope Version 1.9.2
--------------------
A K alias to chanserv kick command
A KB alias to chanserv ban command
A The ability to register empty nonregistered channels
A Flatfile plaintext databases and removed old binary ones
A Added in live updating SQL and the ability to execute commands through SQL (see docs/MYSQL)
A Added support for many more modes into Anope and the ability to have generic support for modes unknown to Anope
A Added a mode stacker to combine many mode changes into fewer
A Added in the CS SET PERSIST command which can be used to keep service bots in channels even when the channel is empty
A Added AUTOOWNER OWNER and OWNERME into CS LEVELS
A Added ns_resetpass module to the core
A CS ACCESS VIEW which shows who added the access and last time used
A Last used time to CS AKICK VIEW
A Added a sha_256 encryption module
A Added the ability to load multiple encryption modules, and the ability to seamlessly convert your database between diferent encryptions
A Added configuration options to allow Anope to reconnect if it disconnects from the uplink instead of dieing
A Added support for linking with IPv6
F Unban command to accept an optional nick arg
F Some typos in services.conf
F Crash when users change their host that are identified to a group, but not a nick
F Host length checking in HS SET(ALL) and HS REQUEST
F Only show if a user is online in NS INFO if they are really identiifed for the group of the nick they are on
F Crash when using BSSmartJoin
F Converting access entries to access from xop when a users access is below voice
F A bad pointer passed to the OnDelEvent which could cause some 3rd party modules to crash
F CS FORBID allows to you forbid unregistered channels
F The -nothird command line option to work
F ms_rsend to really work
F SQUITing juped servers on InspIRCd1.2+
Anope Version 1.9.1
--------------------
F Don't enforce akick/forbidden/etc.-restrictions on clients on ulined servers.
F Remove modules_unload_all fini + hack that goes with it.
F Signal handling cleanup.
A Seamless fantasy support on all ChanServ commands, instead of requiring bs_fantasy_*.
F Allow fantasy to be disabled on some commands (e.g. FORBID).
F Some commands (e.g. !help) need to strip the pre-provided channelname from them.
D HelpServ removed
F Command parser cleanup: mod_current_buffer removed and replaced with proper parser. Commands now indicate how they want the buffer split.
F Make NS ENFORCE/RELEASE stuff more sane, redo timers.
A Opertypes (similar to InspIRCd's opertypes)
Provided by Ankit <ankit@nevitus.com> - 2009
F Segfault on shutdown
Provided by Adam <adam@anope.org> - 2009
F NickServ registration is sometimes denied.
F Applied patch from Adam to fix some potential screwups
F More fixes to bs_bot from Adam, plus an extra fix within DoAdd not covered in Adam's patch.
F Fix bs_bot to use the correct parameters, patch from Adam.
F Fix for bug #1004, based from second half of patch from Adam.
F Partial patch by Adam, commenting fix for #1006 for future reference.
F Forward-port r1946: Patch by Adam fixing #1006 (originally caused by #922): modes set by ChanServ are reversed. Thanks!
Provided by DukePyrolator <dukepyrolator@gmx.de> - 2009
F Patch converting all match calls to new method, thanks!
F Add 'w' and 'y' support to dotime(), also prevent an overflow.
F Allow NS STATUS from unregistered users, thanks DP!
F Wild pointers do not a happy Anope make. Thanks DP :)
F Allow NS REGISTER to unregistered nicks, silly oversight. Thanks DP! :)
F Fix call order, thanks to DP
F Pass the right array to do_umode(), fixes mode tracking on Unreal. Thanks to DukePyrolator (yet again :P)
F Fix bs_set help, thanks to DukePyrolator! :)
F Fix two segfaults, noted by DukePyrolator. Thanks!
F Fix part one of #1010, reported by DukePyrolator. (Language settings are not respected in message sending.) Thanks!
F Memory leak on +beI modes.
Provided by Liber <Liber@jasonirc.net> - 2009
F Support operoverride and such things (stop reversing changes from nonopped people where unnecessary)
Anope Version 1.9.0
--------------------
F Modified compile to use g++
F Improve protocol modules support (classes, virtual methods, etc)
F Move core services to use BotInfo
F Move BotInfo and related methods into a class
F Move modules into a class
F Fixed ns resending of passcode issue
F Modules now delete themselves
F additional field where users' masked host can be stored so both masked IP and vhost are available instead of just one.
F No struct Uid, ugly, and, unnecessary that we store UID in BotInfo.
F Prevent deletion of core services via /bs bot
F Module subsystem cleanup ('modules' branch)
F Move modules to use classes somewhat (AnopeInit, AnopeFini)
F Change MODULE_INIT to return a pointer
F Remove duplicate module creation.. have loadModule return a pointer rather than creating one
F Remove buffered loading/unloading, this makes os_modunload perm, but who cares
F Remove 'delayed' loading, this is necessary because of before/after connected to ircd (ircd is before, rest after), I'm sure this can be done better.
A Remove old config, replace with insp-inspired (albeit bind format) config (CBX)
F Clean up protocol modules a bit
A InspIRCd 1.2 support
F Remove old (prior to 1.8.0) db compat
F Establish a proper base for services pseudoclients
F Add ss_main StatServ Hal9000 to play with :)
F Burn automake with fire (CBX)
Provided by mooncup <mooncup@anonnet.org> - 2009
F Automatically reapply vhost on hs off for unreal.
+52
View File
@@ -0,0 +1,52 @@
Anope Version 1.9.2
--------------------
** ADDED CONFIGURATION DIRECTIVES **
options:enablelogchannel added to auto turn on the logchannel on startup
options:mlock added to configure the default mlock modes on new channels
options:database added for the database modules
options:botmodes added to configure modes BotServ bots should use
options:userlen added to configure maxiumum ident length
options:hostlen added to configure maximum hostname length
options:database added to configure what database modules to use
options:passlen added to specify the maximum length of passwords
uplink:ipv6 added to enable IPv6 connectivity
options:maxretries added to specify the number of reconnect attempts allowed
options:retrywait added to specify how long to wait between reconnect attempts
opertype command chanserv/aop/list removed as it was unnecessary, use chanserv/access/list instead
** MODIFIED CONFIGURATION DIRECTIVES **
options:encryption added enc_sha256
chanserv:modules added cs_unban
nickserv:modules added ns_resetpass
** DELETED CONFIGURATION DIRECTIVES **
nickserv:database deleted because of new database system
nickserv:prenickdatabase deleted because of new database system
chanserv:database deleted because of the new database system
botserv:database deleted because of the new database system
hostserv:database deleted because of the new database system
operserv:database deleted because of the new database system
operserv:newsdatabase deleted because of the new database system
operserv:exceptiondatabase deleted because of the new database system
hs_request:database deleted because of the new database system
os_ignore:database deleted because of the new database system
serverinfo:localport deleted
Anope Version 1.9.1
-------------------
** ADDED CONFIGURATION DIRECTIVES **
Opertypes have been added, through the opertype blocks.
Services Operators are now specified in the oper blocks.
** MODIFIED CONFIGURATION DIRECTIVES **
botserv:modules no longer contains bs_fantasy* modules, fantasy is now seamless.
operserv:modules has replaced os_logonnews, os_opernews, and os_randomnews with os_news.
operserv:modules no longer contains os_admin and os_oper modules, removed in favor of oper blocks.
operserv:notifications no longer contains osraw due to removal of OS RAW.
** DELETED CONFIGURATION DIRECTIVES **
Nick tracking has been removed as an option.
Restricting of NS GETPASS and CS GETPASS removed in favor of opertypes.
Host Setters were removed in favor of opertypes.
HelpServ has been removed entirely.
operserv:disableraw removed due to removal of OS RAW.
+255
View File
@@ -0,0 +1,255 @@
Anope Version 1.9.2
--------------------
*** New Strings:
CHAN_INVITE_OTHER_SUCCESS
NICK_HELP_CONFIRM_OPER
CHAN_QOP_DISABLED
CHAN_QOP_NICKS_ONLY
CHAN_QOP_ADDED
CHAN_QOP_MOVED
CHAN_QOP_NO_SUCH_ENTRY
CHAN_QOP_NOT_FOUND
CHAN_QOP_DELETED
CHAN_QOP_DELETED_ONE
CHAN_QOP_DELETED_SEVERAL
CHAN_QOP_LIST_EMPTY
CHAN_QOP_LIST_HEADER
CHAN_QOP_CLEAR
CHAN_HELP_QOP
CHAN_QOP_SYNTAX
CHAN_HELP_CMD_QOP
CHAN_HELP_SET_PASSWORD
CHAN_LEVEL_AUTOOWNER
CHAN_LEVEL_OWNER
CHAN_LEVEL_OWNERME
CHAN_ACCESS_VIEW_XOP_FORMAT
CHAN_ACCESS_VIEW_AXS_FORMAT
CHAN_SET_PERSIST_SYNTAX
CHAN_SET_PERSIST_ON
CHAN_SET_PERSIST_OFF
CHAN_INFO_OPT_PERSIST
BOT_UNASSIGN_PERSISTANT_CHAN
CHAN_HELP_SET_PERSIST
NICK_RESETPASS_SYNTAX
NICK_RESETPASS_SUBJECT
NICK_RESETPASS_MESSAGE
NICK_RESETPASS_COMPLETE
NICK_CONFIRM_EXPIRED
NICK_CONFIRM_SUCCESS
NICK_HELP_CMD_RESETPASS
NICK_HELP_RESETPASS
CHAN_UNBANNED_OTHER
OPER_HELP_SYNC
OPER_HELP_CMD_SQLSYNC
OPER_SYNC_UPDATING
OPER_SYNC_UPDATED
CHAN_LEVELS_CHANGED_FOUNDER
*** Mod Strings:
CHAN_HELP_SET
CHAN_REGISTER_SYNTAX
CHAN_ACCESS_SYNTAX
CHAN_HELP_ACCESS
CHAN_HELP_SET
NICK_HELP_CONFIRM
CHAN_UNBAN_SYNTAX
CHAN_HELP_CMD_UNBAN
CHAN_HELP_UNBAN
CHAN_HELP_REGISTER
CHAN_HELP_DROP
CHAN_HELP_LEVELS
*** Del Strings:
CHAN_PASSWORD_IS
CHAN_SET_PASSWORD_FAILED
CHAN_PASSWORD_CHANGED
CHAN_IDENTIFY_SUCCEEDED
CHAN_IDENTIFY_FAILED
CHAN_HELP_IDENTIFY
CHAN_IDENTIFY_SYNTAX
CHAN_HELP_CMD_IDENTIFY
CHAN_LOGOUT_FOUNDER_FAILED
CHAN_LOGOUT_SUCCEDED
CHAN_LOGOUT_NOT_LOGGEDIN
CHAN_LOGOUT_ALL_SUCCEEDED
CHAN_SERVADMIN_HELP_LOGOUT
CHAN_HELP_LOGOUT
CHAN_LOGOUT_SERVADMIN_SYNTAX
CHAN_LOGOUT_SYNTAX
CHAN_HELP_CMD_LOGOUT
CHAN_GETPASS_UNAVAILABLE
CHAN_GETPASSWORD_IS
CHAN_SERVADMIN_HELP_GETPASS
CHAN_GETPASS_SYNTAX
CHAN_HELP_CMD_GETPASS
CHAN_SENDPASS_SUBJECT
CHAN_SENDPASS_HEAD
CHAN_SENDPASS_LINE_1
CHAN_SENDPASS_LINE_2
CHAN_SENDPASS_LINE_3
CHAN_SENDPASS_LINE_4
CHAN_SENDPASS_LINE_5
CHAN_SENDPASS_OK
CHAN_SENDPASS_UNAVAILABLE
CHAN_HELP_SENDPASS
CHAN_SENDPASS_SYNTAX
CHAN_HELP_CMD_SENDPASS
OPER_DEFCON_NO_CONF
Anope Version 1.9.1
--------------------
*** New Strings:
COMMAND_REQUIRES_PERM
COMMAND_IDENTIFY_REQUIRED
COMMAND_CANNOT_USE
COMMAND_CAN_USE
NICK_STATUS_REPLY
NICK_INFO_SERVICES_OPERTYPE
CHAN_LOGOUT_NOT_LOGGEDIN
CHAN_INVITE_ALREADY_IN
CHAN_INVITE_SUCCESS
CHAN_OP_SYNTAX
CHAN_HALFOP_SYNTAX
CHAN_VOICE_SYNTAX
CHAN_PROTECT_SYNTAX
CHAN_OWNER_SYNTAX
CHAN_DEOP_SYNTAX
CHAN_DEHALFOP_SYNTAX
CHAN_DEVOICE_SYNTAX
CHAN_DEPROTECT_SYNTAX
CHAN_DEOWNER_SYNTAX
CHAN_KICK_SYNTAX
CHAN_BAN_SYNTAX
MEMO_STAFF_SYNTAX
OPER_JUPE_INVALID_SERVER
*** Mod Strings:
NICK_LOGOUT_SERVICESADMIN
CHAN_STATUS_SYNTAX
CHAN_GETKEY_KEY
MEMO_SET_NOTIFY_SYNTAX
BOT_REASON_BADWORD
BOT_BOTLIST_EMPTY
OPER_IGNORE_SYNTAX
OPER_DEFCON_SYNTAX
OPER_HELP_EXCEPTION
OPER_HELP_SESSION
NEWS_LOGON_SYNTAX
NEWS_OPER_SYNTAX
NEWS_RANDOM_SYNTAX
NEWS_HELP_LOGON
NEWS_HELP_OPER
NEWS_HELP_RANDOM
NICK_HELP_STATUS
NICK_HELP_SENDPASS
NICK_SERVADMIN_HELP
NICK_SERVADMIN_HELP_LOGOUT
NICK_SERVADMIN_HELP_DROP
NICK_SERVADMIN_HELP_INFO
NICK_SERVADMIN_HELP_LIST
NICK_SERVADMIN_HELP_ALIST
NICK_SERVADMIN_HELP_GLIST
CHAN_HELP_SET_RESTRICTED
CHAN_HELP_OP
CHAN_HELP_DEOP
CHAN_HELP_VOICE
CHAN_HELP_DEVOICE
CHAN_HELP_HALFOP
CHAN_HELP_DEHALFOP
CHAN_HELP_PROTECT
CHAN_HELP_DEPROTECT
CHAN_HELP_OWNER
CHAN_HELP_DEOWNER
CHAN_HELP_KICK
CHAN_HELP_CLEAR
CHAN_HELP_GETKEY
CHAN_HELP_SENDPASS
CHAN_SERVADMIN_HELP
CHAN_SERVADMIN_HELP_LOGOUT
CHAN_SERVADMIN_HELP_DROP
CHAN_SERVADMIN_HELP_SET
CHAN_SERVADMIN_HELP_INFO
CHAN_SERVADMIN_HELP_LIST
MEMO_HELP_SET_NOTIFY
MEMO_HELP_STAFF
OPER_HELP_CMD_CHANKILL
OPER_HELP_STATS
OPER_HELP_IGNORE
OPER_HELP_UMODE
OPER_HELP_ULINE
OPER_HELP_SVSNICK
OPER_HELP_SET
BOT_HELP
BOT_SERVADMIN_HELP_BOT
BOT_SERVADMIN_HELP_SET
HOST_DELALL_SYNTAX
HOST_SET_SYNTAX
HOST_SETALL_SYNTAX
HOST_DEL_SYNTAX
*** Del Strings:
PERMISSION_DENIED
RAW_DISABLED
HELP_LIMIT_SERV_OPER
HELP_LIMIT_SERV_ADMIN
HELP_LIMIT_SERV_ROOT
HELP_LIMIT_IRC_OPER
HELP_LIMIT_HOST_SETTER
HELP_LIMIT_HOST_REMOVER
NICK_STATUS_0
NICK_STATUS_1
NICK_STATUS_2
NICK_STATUS_3
NICK_INFO_SERVICES_OPER
NICK_INFO_SERVICES_ADMIN
NICK_INFO_SERVICES_ROOT
CHAN_MUST_REGISTER_NICK
CHAN_MUST_IDENTIFY_NICK
OPER_ADMIN_SYNTAX
OPER_ADMIN_SKELETON
OPER_ADMIN_EXISTS
OPER_ADMIN_REACHED_LIMIT
OPER_ADMIN_ADDED
OPER_ADMIN_NOT_FOUND
OPER_ADMIN_NO_MATCH
OPER_ADMIN_DELETED
OPER_ADMIN_DELETED_ONE
OPER_ADMIN_DELETED_SEVERAL
OPER_ADMIN_LIST_EMPTY
OPER_ADMIN_LIST_HEADER
OPER_ADMIN_LIST_FORMAT
OPER_ADMIN_CLEAR
OPER_ADMIN_MOVED
OPER_OPER_SYNTAX
OPER_OPER_SKELETON
OPER_OPER_EXISTS
OPER_OPER_REACHED_LIMIT
OPER_OPER_ADDED
OPER_OPER_NOT_FOUND
OPER_OPER_NO_MATCH
OPER_OPER_DELETED
OPER_OPER_DELETED_ONE
OPER_OPER_DELETED_SEVERAL
OPER_OPER_LIST_EMPTY
OPER_OPER_LIST_HEADER
OPER_OPER_LIST_FORMAT
OPER_OPER_CLEAR
OPER_OPER_MOVED
OPER_SET_SQL_ON
OPER_SET_SQL_OFF
OPER_SET_SQL_ERROR
OPER_SET_SQL_ERROR_INIT
OPER_SET_SQL_ERROR_DISABLED
OPER_RAW_SYNTAX
HELP_HELP
HELP_HELP_BOT
HELP_HELP_HOST
OPER_HELP_CMD_OPER
OPER_HELP_CMD_ADMIN
OPER_HELP_OPER
OPER_HELP_ADMIN
OPER_HELP_SET_SQL
OPER_HELP_RAW
HOST_ID
HOST_NOT_REGGED
HOST_OFF_UNREAL
+14 -35
View File
@@ -32,8 +32,8 @@ Anope DefCon
The DefCon system is part of Anope's core,
The DefCon system has to be configured on your services.conf file to
be enabled. All directives are optional unless they depend on what
options you enable for each level. Look for the "DefCon configuration"
be enabled. The defcon module will not unload unless all non-optional
directives are set. Look for the defcon block
section on your services.conf file for more information.
Make sure you restart Anope after changing the DefCon configuration
@@ -43,40 +43,19 @@ Anope DefCon
Pre-defined DefCon actions:
No new channel registrations 1
No New Nick Registrations 2
No MLOCK changes 4
Force Chan Mode 8
Use Reduced Session Limit 16
KILL any new clients trying to connect 32
Services will ignore everyone but opers 64
Services will silently ignore everyone but opers 128
AKILL all new clients trying to connect 256
No new memos sent to block MemoServ attacks 512
These are the values used to determine each defcon setting, are set via:
DefCon1 XX
DefCon2 XX
DefCon3 XX
DefCon4 XX
To set the desired value, you simply add the value of the numbers together
and place that as your DefCon# setting. For instance:
Say you wish to set:
No Channel Registrations, No Nickname Registrations and Services Ignoring
everyone except for Operators. You would do this by:
1 + 2 + 128 (Each value listed above is added together)
Giving: 131
You would then place this as which ever Defcon setting you want:
No new channel registrations
No New Nick Registrations
No MLOCK changes
Force Chan Mode
Use Reduced Session Limit
KILL any new clients trying to connect
Services will ignore everyone but opers
Services will silently ignore everyone but opers
AKILL all new clients trying to connect
No new memos sent to block MemoServ attacks
DefCon1 131
The recommended default values are safe to use on any network.
Information regarding how to enable this for specific defcon levels can
be found in services.conf
4) Usage
+21 -455
View File
@@ -2,475 +2,41 @@ Anope Internal Events
---------------------
1) Intro
2) Complex Events
3) Triggered Events
4) Triggered Events List
2) Using Events
1) Introduction to Internal Events
Internal Events are setup to give module developers more information
about what the core is doing at different times. This information can
be as complex as data we are feeding to the uplink, to simple triggered
events such as the databases being saved. A list of triggered events
can be found below. Additional there is a module included with the core
events such as the databases being saved.
Additionally there is a module included with the core
which can provide some clue as to how to use the code in your modules.
The rest of this document assumes that you are used to writing modules.
2) Complex Events
2) Using Events
This type of events are based around what happens when we talk to the
IRCd, much like MESSAGE events that the IRCD sends to us. The events
are triggered when Anope writes to the ircd. To watch for these events
you must have some knowledge of how the IRCd command system works. In
our example we will trap for NICK events.
Anope is told about modules wanting to hook to events by the function
ModuleManager::Attach(EventName, Module*);, eg:
A) All functions most be formatted as:
ModuleManager::Attach(I_OnJoinChannel, this);
int functioname(char *source, int ac, char **av);
You can also specifcy an array of events:
B) In AnopeInit you must declare EvtMessage in some fashion, it is into
this variable that we will create the event handler. Here is what the
base AnopeInit should look like at this point:
int AnopeInit(int argc, char **argv)
{
EvtMessage *msg = NULL;
int status;
Implementation i[] = { I_OnJoinChannel, I_OnPartChannel };
ModuleManager::Attach(i, this, 2);
Where 2 is the number of events in the list
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
return MOD_CONT;
}
You must then overload these functions in your main modules class.
The full list of functions and parameters are in modules.h. In this
case, you would be overloading OnJoinChannel() and OnPartChannel() like so:
Note that AUTHOR and VERSION should be defined above the AnopeInit
function, just like you should do with any module.
void OnJoinChannel(User *u, Channel *c) { }
void OnPartChannel(User *u, Channel *c) { }
C) Pass "createEventHandler" the name of the message in this case NICK,
and the function that was created in Step A. At this point you should
assign the return of "createEventHandler" to the EvtMessage variable.
Some of these events can be used to prevent or allow things to happen that
would normally not be allowed or denied. You can also use ModuleManager
(not explained here) to set control which order the modules are queried
(when multiple modules hook to the same event).
msg = createEventHandler("NICK", my_nick);
D) The Handler is not ready for use yet; now you must add it to the hash
with "moduleAddEventHandler". You will want to pass to this function
the return of "createEventHandler".
status = moduleAddEventHandler(msg);
It will return the same module error codes as adding a regular message,
which you can use to confirm it was added correctly.
E) With that setup in your function you will be passed 3 items. The source
most of the time this will be set to ServerName or NULL; consult our
IRCd documentation about how messages are formatted. AC is the count of
variables you will find in AV.
int my_nick(char *source, int ac, char **av)
{
alog("Internal Event - nick is %s",av[0]);
return MOD_CONT;
}
3) Triggered Events
These events also known as "event hooks" are internal events such as
expiring of nicks to the saving of databases.
A) All functions most be formatted as:
int functioname(int argc, char **argv);
B) In AnopeInit you must declare EvtHook in some fashion; it is into
this variable that we will create the event handler. Here is what
the base AnopeInit should look like at this point:
int AnopeInit(int argc, char **argv)
{
EvtHook *hook = NULL;
int status;
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
return MOD_CONT;
}
C) Pass "createEventHook" the name of the event. In this case we are
going to hook to the saving of databases, "EVENT_DB_SAVING".
hook = createEventHook(EVENT_DB_SAVING, my_save);
D) The Handler is not ready for use yet; now you must add it to the hash
with "moduleAddEventHook". You will want to pass to this function the
return of "createEventHook"
status = moduleAddEventHook(hook);
It will return the same module error codes as adding a regular message,
which you can use to confirm it was added correctly.
E) With that setup in your function you will be passed 1 item. The message
is very simple; it could be as simple as a start, stop or message. In
the case of saving it has a start and stop.
int my_save(int argc, char **argv)
{
if (argc < 1) {
return MOD_CONT;
}
if (!stricmp(argv[0], EVENT_START)) {
alog("Saving the databases! has started");
} else {
alog("Saving the databases is complete");
}
return MOD_CONT;
}
4) Triggered Events List
Here's a list of all event hooks we currently offer, with a description
of what argument is being passed to the event functions for this type of
event. All arguments are plain-text strings (char *). The list is sorted
in alphabetical order.
Note that all events are emitted AFTER the action has taken place, so
any deleted nick/channel/etc won't exist anymore and any created one will
exist when your function is being run, unless noted otherwise.
Also note that EVENT_START and EVENT_STOP should not be matched with an
equal sign, but with string comparision. See the bundled events module for
an example on how to do this.
The arguments are given as av[0] for the first argument, av[1] for the
second argument, and so on. If av[0] and av[1] are given, the event has
two arguments, and argc should be 2.
EVENT_ACCESS_ADD
An user has been added to a channel access list.
av[0] Name of the channel the user has been added to.
av[1] The nickname of the user that has just added an entry to the
access list.
av[2] The nickname of the user that has been added to the access
list.
av[3] The level number the user has been added with.
EVENT_ACCESS_CHANGE
An user level has been changed on a channel access list.
av[0] Name of the channel the access list has been modified which.
av[1] The nickname of the user that has just modified the access
list of the channel.
av[2] The nickname of the user wich his access level has just been
modified.
av[3] The new access level for the user.
EVENT_ACCESS_CLEAR
A channel access list has been cleared.
av[0] Name of the channel the access list has been cleared of
av[1] The nickname of the user that has cleared the access list
EVENT_ACCESS_DEL
An user has been deleted of a channel access list.
av[0] Name of the channel the access entry has been deleted which.
av[1] The nickname of the user that has just deleted the access entry.
av[2] [OPTIONAL] The nickname of the user wich his access level has just
been removed. Not present if numbers were used (e.g. /cs access
del 7).
EVENT_BOT_ASSIGN
A BotServ bot has been assigned to a channel.
av[0] Name of the channel the bot has been assigned to.
av[1] The nickname of the bot that has been assigned to the channel.
EVENT_BOT_BAN
A BotServ bot has banned a user, e.g. kickers.
av[0] The nick of the user banned.
av[1] The Channel the user was banned from.
av[2] The mask that was banned.
EVENT_BOT_CHANGE
The properties of a BotServ bot have been changed.
av[0] The nickname of the bot involved.
EVENT_BOT_CREATE
A new BotServ bot has been created, and is ready to use.
av[0] The nickname of the newly created bot.
EVENT_BOT_DEL
A BotServ bot is being deleted from BotServ. This event is being sent
just before the actual deletion is performed.
av[0] The nickname of the bot being deleted.
EVENT_BOT_FANTASY
A fantasy command of the bot has been triggered. This event should be
used to create your own fantasy commands.
av[0] The fantasy command that has been triggered without leading '!'.
av[1] The nickname of the user that has triggered the fantasy
command.
av[2] The name of the channel the fantasy command has been triggered
on.
av[3] Contains any optional paramenters passed after the fantasy
command. If none are present, this will not exist, and argc will
will be 3.
EVENT_BOT_FANTASY_NO_ACCESS
A fantasy command of the bot has been triggered by someone without
access to BotServ FANTASY commands on the channel. This will NOT
trigger if someone with access has triggered a fantasy command; use
EVENT_BOT_FANTASY for those. Hook to both events to catch both event
triggers.
av[0] The fantasy command that has been triggered without leading '!'.
av[1] The nickname of the user that has triggered the fantasy
command.
av[2] The name of the channel the fantasy command has been triggered
on.
av[3] Contains any optional paramenters passed after the fantasy
command. If none are present, this will not exist, and argc will
will be 3.
EVENT_BOT_JOIN
A BotServ bot has joined a channel and opped itself.
av[0] The channel name the bot has just joined.
av[1] The nickname of the bot that has joined the channel.
EVENT_BOT_KICK
A BotServ bot has kicked a user from a channel.
av[0] The name of the user that has been kicked.
av[1] The name of the channel the user was kicked from.
av[2] The reason for the kick.
EVENT_BOT_UNASSIGN
A BotServ bot is being unassigned from a channel. This event is being
sent before the actual removing of the bot is done.
av[0] The channel name the bot has been unassigned from.
av[1] The nickname of the bot that has been unassigned.
EVENT_CHAN_DROP
A channel has been dropped and deleted.
av[0] The name of the channel that has been dropped.
EVENT_CHAN_EXPIRE
A channel has been expired and will be deleted. The event will be
emitted just before the actual channel deletion happens.
av[0] The name of the channel that has been expired.
EVENT_CHAN_FORBIDDEN
A channel has been forbidden (ChanServ FORBID).
av[0] The name of the channel that has been forbidden.
EVENT_CHAN_KICK
Someone has just been kicked from a channel.
av[0] The nick of the user that has been kicked.
av[1] The channel the user has been kicked from.
EVENT_CHAN_REGISTERED
A new channel has been registered.
av[0] The name of the channel that has been registered.
EVENT_NICK_REQUESTED
A new nick has been requested, and mail has been sent to confirm the nick.
av[0] The name of the nick that was requested
EVENT_CHAN_SUSPENDED
A channel has been suspended (ChanServ SUSPEND).
av[0] The name of the channel that has been suspended.
EVENT_CHAN_UNSUSPEND
A channel has been unsuspended (ChanServ UNSUSPEND).
av[0] The name of the channel that has been unsuspended.
EVENT_CHANGE_NICK
A user has just changed its nick.
av[0] The new nickname of the user. Event is called after the user has been changed
to this nickname.
av[1] The old nickname of the user.
EVENT_CONNECT
This event is emitted when the connection to our uplink hub is being
made.
av[0] EVENT_START or EVENT_STOP, to indicate if it's emitted before
or after the connection has been made. EVENT_STOP is emitted
before our burst is being sent over the link.
EVENT_DB_EXPIRE
This event is emitted when the expiry routines for all things that can
expire in Anope are being run.
av[0] EVENT_START or EVENT_STOP, to indicate if it's being emitted
before or after the expiry routines have been run.
EVENT_DB_SAVING
This event is emitted when the databases are being saved.
av[0] EVENT_START or EVENT_STOP, to indicate if it's emitted before
or after the saving routines have been run.
EVENT_DB_BACKUP
This event is emitted when the databases are backed up.
av[0] EVENT_START when the backup commences, and EVENT_STOP when it
finishes.
EVENT_DEFCON_LEVEL
The DefCon level has just been changed. This event is emitted before
any DefCon-related action is taken. The internal DefConLevel has
already been raised at this point.
av[0] The new level of DefCon being invoked.
EVENT_GROUP
A user has grouped its nickname to another user group.
av[0] The nickname of the user that joined the group.
EVENT_JOIN_CHANNEL
A user joins a channel.
av[0] EVENT_START or EVENT_STOP. EVENT_START when the user has passed
all access checks and is allowed to join, but has not yet
joined the channel. EVENT_STOP when the user has joined and all
needed modes are set etc.
av[1] The nickname of the user joining the channel.
av[2] The name of the channel the user has joined.
EVENT_NEWNICK
A new user has been introduced on the network.
av[0] The nickname of the newly introduced user.
EVENT_NICK_DROPPED
A user's nick has just been dropped. Note that the nickname information
has already been deleted!
av[0] The nickname of the user that has just been dropped.
EVENT_NICK_EXPIRE
A user's nick has just expired. Note that, as with EVENT_NICK_DROPPED,
the nickname information has already been deleted!
av[0] The nickname of the user that has just expired.
EVENT_NICK_FORBIDDEN
A user's nick has just been forbidden.
av[0] The nickname that has just been forbidden.
EVENT_CORE_DROPPED
A NickCore will be dropped. Usually send when the last alias is dopped.
This is send BEFORE the event that confirms deletion of the alias.
Note that this event is send before the core data is removed.
av[0] The display nickname of the core that is being dropped.
EVENT_CORE_NEWDISPLAY
The display nick of a NickCore is being changed.
This is send BEFORE the actual change is made in the database.
av[0] The old display nickname of the core.
av[1] The new display nickname of the core.
EVENT_NICK_GHOSTED
A user has just been ghosted.
av[0] EVENT_START or EVENT_STOP. EVENT_START when the user is about
to be removed from the network, EVENT_STOP when this has been
done.
av[1] The nickname of the user doing the ghosting.
av[2] The nickname being ghosted.
EVENT_NICK_IDENTIFY
A user has just identified for its nickname with NickServ.
av[0] The nickname of the user that just identified.
EVENT_NICK_LOGOUT
A user has just (been) logged out.
av[0] The nickname of the user that has (been) logged out.
EVENT_NICK_RECOVERED
A user's nickname has just been recovered.
av[0] EVENT_START or EVENT_STOP. EVENT_START when the user is about
to be recovered, EVENT_STOP when this has been done.
av[1] The nickname of the user doing the recovery.
av[2] The nickname being recovered.
EVENT_NICK_REGISTERED
A new user has just registered its nickname. This event is being
emitted when the registration is completed, but the user modes have not
yet been set.
av[0] The nickname of the newly registered user.
EVENT_NICK_SUSPENDED
A user's nick has just been suspended.
av[0] The nickname that has just been suspended.
EVENT_NICK_UNSUSPEND
A user's nick has just been unsuspended.
av[0] The nickname that has just been unsuspended.
EVENT_PART_CHANNEL
A user parts a channel.
av[0] EVENT_START or EVENT_STOP. EVENT_START when the user is about
to be removed from the channel internally, EVENT_STOP when
this has been done.
av[1] The nickname of the user parting the channel.
av[2] The name of the channel the user has parted.
av[3] The reason the user parted the channel, this is not always sent
so check the count to make sure it was passed. (ac == 4)
EVENT_RELOAD
This event is emitted after the configuration file has been reloaded.
av[0] Always EVENT_START.
EVENT_RESTART
This event is emitted before the services are being restarted.
av[0] Always EVENT_START.
EVENT_SERVER_CONNECT
A new server has just connected to the network.
av[0] The name of the new server.
EVENT_SERVER_SQUIT
A server has sent an SQUIT and is about to be removed from the
network. This event is being sent before the server is actually
removed from the network.
av[0] The name of the server that is being removed.
EVENT_SHUTDOWN
This event is emitted when Anope is being shut down.
av[0] EVENT_START or EVENT_STOP, to indicate where in the process of
restarting the core is. With EVENT_START, services are still
fully online and operating. With EVENT_STOP, every internal
clean up has been done already, and the SQUIT has been sent;
the only thing done after emitting the event is closing the
socket to the uplink hub.
EVENT_SIGNAL
This event is emitted when Anope is quitting because of a signal it
received.
av[0] The quit message that will be sent with the SQUIT for this
shutdown.
EVENT_TOPIC_UPDATED
A channel topic has been succesfully updated. Note that this event is
only emitted if the new topic has been fully accepted and set by the
Anope core.
av[0] The name of the channel involved.
av[1] The new topic set on the channel.
EVENT_USER_LOGOFF
A user has left the network. This event is emitted before the internal
removal is performed, so the user still exists internally.
av[0] The nickname of the user leaving the network.
EVENT_MODLOAD
A module has been loaded. This event is emitted after the loading
sequence has been finished: AnopeInit() has been called and the
module has already been added to the modules table.
av[0] Name of the loaded module.
EVENT_MODUNLOAD
A module has been unloaded. This event is emitted when the unloading
sequence is almost complete: AnopeFini() has been called and all
commands, hooks and callbacks have been removed. The module itself
is still in memory however.
av[0] Name of the unloaded module.
EVENT_ADDCOMMAND
A command hook has been added to anopes command table.
Note that the command may have previously existed and merely a new hook
was added before or after an existing command hook.
av[0] Name of the module adding the command.
av[1] Name of the command hook that was added.
EVENT_DELCOMMAND
A command hook has been removed from anopes command table.
Note that the command may still exist in anopes command table if other
modules have hooks for the same command.
av[0] Name of the module deleting the command.
av[1] Name of the command hook that was removed.
+10 -1
View File
File diff suppressed because one or more lines are too long
+35 -31
View File
@@ -6,7 +6,7 @@ Anope Installation Instructions
3) Setting up the IRCd
4) Starting Anope
5) Setting up a crontab
Note: You should also read the README and FAQ files!
1) Installing Anope
@@ -21,15 +21,35 @@ Note: You should also read the README and FAQ files!
http://www.anope.org/
Anope can be built one of two ways. The recommended way is to use CMake.
You can check if CMake is already installed on your system using the
command:
cmake --version
If it's installed, you will get a line that says something similar to
"cmake version 2.6-patch 1". If the version is less than 2.4 or you get
an error saying the command was not found, you will not be able to use
CMake unless you install it yourself into your home directory. CMake
can be downloaded from:
http://www.cmake.org/cmake/resources/software.html
If you are unable to install CMake yourself (either due to lack of space
or restrictions by your hosting provider), you still have the alternative
to use the provided configure script. This option is not recommended and
will eventually be phased out, but is provided for compatibility for those
lacking CMake.
Next, unpack the package in your home directory, and go into the created
directory.
Now type ./Config to start the configuration script. It will ask you a
few questions, and figure out how to compile Anope on your system. If
you are unsure about the answer to a question, use the default value.
NOTE: although you may specify different binary and data paths, it is
RECOMMENDED that you use the same value for both.
you are unsure about the answer to a question, use the default value.
The question to using configure or cmake depends on your decision from
above. If you have CMake and wish to use it, answer with cmake, otherwise
answer with configure.
You can now type make to compile Anope. If there are errors in the
Makefile, *try to use gmake* instead. If it still doesn't work, you (or
@@ -44,10 +64,10 @@ Note: You should also read the README and FAQ files!
the memos of any user.
If you see errors during this process, please mail us with the *complete*
error output, and don't forget to mention your OS, compiler and C library
versions.
error output, and don't forget to mention your OS, compiler and C++ library
versions.
Now go into the data directory (by default, ~/services). Copy the example
Now go into the data directory (by default, ~/services/data). Copy the example
configuration file (example.conf) to services.conf, and open the latter
with your favorite text editor. It contains all the configuration
directives Anope will use at startup. Read the instructions contained in
@@ -73,8 +93,7 @@ Note: You should also read the README and FAQ files!
section 1. There are however a few specific guidelines:
* IMPORTANT: Back up your old databases!
* Check Changes.conf for the new version for small config changes.
* If you are upgrading to a new major release, create a
* If you are upgrading to a new major release, ALWAYS restart a
fresh configuration file from example.conf.
3) Setting up the IRCd
@@ -116,34 +135,21 @@ Note: You should also read the README and FAQ files!
Don't forget to /rehash your IRCd to apply changes.
A new trend in ircd configuration is popping all over the place, good
examples are the latest Hybrid, Unreal, Bahamut & InspIRCd, which use a more
examples are the latest Hybrid, Unreal and Bahamut, which use a more
"readable" form of configuration. For those, use something like:
UnrealIRCd
link services.localhost.net
{
username *;
hostname localhost;
bind-ip *;
port 7000;
port 6667;
hub *;
password-connect "mypass";
password-receive "mypass";
class servers;
};
InspIRCd
<link name="services.localhost.net"
ipaddr="127.0.0.1"
port="7000"
allowmask="127.0.0.0/8"
sendpass="mypass"
recvpass="mypass">
Note that this block-style configuration files differ heavily, depending
on the IRCd. Consult the interactive link maker (link is below) for more
details on the exact configuration used by your IRCd.
@@ -151,9 +157,7 @@ Note: You should also read the README and FAQ files!
If you're unable to get a link with your IRCd after reading this section,
you might try the interactive link maker, which is located at:
http://www.anope.org/ilm.php
Or finally, contact your IRCd Support Community to seek advice.
http://anope.org/ilm.php
4) Starting Anope
@@ -162,7 +166,7 @@ Note: You should also read the README and FAQ files!
If there are syntax errors in the configuration file they will be
displayed on the screen. Correct them until there are no errors anymore.
A successful startup won't generate any message.
A successful startup won't generate any message.
Give Services at least one minute to link to your network, as certain
IRCds on some OSes may be really slow for the link process. If nothing
@@ -170,8 +174,8 @@ Note: You should also read the README and FAQ files!
to launch Anope with ./services -debug -nofork to see any errors that it
encounters, and try to correct them.
If you need help to solve errors, feel free to visit us on IRC at
irc.anope.org #anope and ask there. See the README file for further details.
If you need help to solve errors, feel free to subscribe to the Anope
mailing list and ask there. See the README file for details.
5) Setting up a crontab
+378 -527
View File
@@ -1,527 +1,378 @@
How To Add IRCd Support
-----------------------
1) Files to Edit
2) Modifing the Header File
3) The Code
4) Modes
5) Functions / Events
6) CAPAB/PROTOCTL
1) Files to Edit
When preparing to add support to Anope for your ircd, you need to edit
the following files.
A) Make a copy of the .c and .h file of the IRCd that matches the ircd
that you are attempting to add support for best.
First step in this process is to rename the .c and .h file after the IRCd
that you are going to be adding support for. Its recommended that you come
up with a name that is clear and easy to understand.
You are now ready to start getting into the code.
2) Modifying the Header File
Now that you have gotten past the first part of the creation process, you
are into the code. This part is the harder and more complex part. You
will need a general understanding of C code to continue. Here are the
step by step instructions required to make this work.
Open the .h file and find the section of code with
#define UMODE_a 0x00000001
#define UMODE_b 0x00000002
This is where you define the MODES. All user modes are stored
with UMODE_ followed by a letter matching the modes case; be careful to
use the correct case as this will make it clear when you setup MODES in
the .c in a few. Use hex values for the modes so starting at 0x00000001
to 0x8000000. In most cases you want to list all modes. If you run out of
values look at removing any modes that do not impact services.
Channel modes are done much like user modes, with the exception that
bans, exceptions, invites, and modes that are applied to a user such as
op and voice are not defined here. All other modes are defined in here.
Again be clear and use the correct case and use hex values as done with
user modes.
Finally we come to DEFAULT_MLOCK; this is the mode that services will set
by default on channels when they are registered. In general you want this
to be what is acceptable by the ircd; in most cases this is "+ntr". This is
expressed by:
#define DEFAULT_MLOCK CMODE_n | CMODE_t | CMODE_r
3) The Code
Here is where the code of the .c file comes in. Be prepared to spend at
least an hour, if not longer, going over the code and getting it right;
Especially if you are setting up an ircd that is completely different
than the one you used as a base. This section covers the majority of the
code that is in use.
The first bit of code you will face is:
IRCDVar ircd[] = { }
This struct contains your basic IRCd functions. Your base source file has
the list of all available variables; note that you should not swap any
around, or you will break stuff. Here is a brief description of the usage
of each.
1) Name: This member tells Anope about the IRCD's name. It may contain
text about its name and version. This is used to identify the
build on startup.
2) NickServ Mode: This is the user mode set by Anope on NickServ.
Normally you want this to be some form of oper flag,
or a services flag.
3) ChanServ Mode: This is the user mode set by Anope on ChanServ.
Normally you want this to be some form of oper flag,
or a services flag.
4) MemoServ Mode: This is the user mode set by Anope on MemoServ.
Normally you want this to be some form of oper flag,
or a services flag.
5) HostServ Mode: This is the user mode set by Anope on HostServ.
Normally you want this to be some form of oper flag,
or a services flag. Note that if your ircd does not
support HostServ, you can safely make this NULL or +,
as there is a check before bringing HostServ online.
6) OperServ Mode: This is the user mode set by Anope on OperServ.
Normally you want this to be some form of oper flag,
or a services flag.
7) BotServ Mode: This is the user mode set by Anope on BotServ.
Normally you want this to be some form of oper flag,
or a services flag.
8) HelpServ Mode: This is the user mode set by Anope on HelpServ.
Normally you want this to be some form of oper flag,
or a services flag.
9) DevNull Mode: This is the user mode set by Anope on DevNull.
Normally you want this to be some form of oper flag,
or a services flag.
10) Global Mode: This is the user mode set by Anope on Global.
Normally you want this to be some form of oper flag,
or a services flag.
11) NickServ Alias Mode: This is the user mode set by Anope on the alias
of NickServ. Normally you want this to be some
form of oper flag, or a services flag.
12) ChanServ Alias Mode: This is the user mode set by Anope on the alias
of ChanServ. Normally you want this to be some
form of oper flag, or a services flag.
13) MemoServ Alias Mode: This is the user mode set by Anope on the alias
of MemoServ. Normally you want this to be some
form of oper flag, or a services flag.
14) HostServ Alias Mode: This is the user mode set by Anope on the alias
of MemoServ. Normally you want this to be some
form of oper flag, or a services flag. Note that
if your ircd does not support HostServ, you can
safely make this NULL or +, as there is a check
before bringing HostServ online.
15) OperServ Alias Mode: This is the user mode set by Anope on the alias
of OperServ. Normally you want this to be some
form of oper flag, or a services flag.
16) BotServ Alias Mode: This is the user mode set by Anope on the alias
of BotServ. Normally you want this to be some
form of oper flag, or a services flag.
17) HelpServ Alias Mode: This is the user mode set by Anope on the alias
of HelpServ. Normally you want this to be some
form of oper flag, or a services flag.
18) DevNull Alias Mode: This is the user mode set by Anope on the alias
of DevNull. Normally you want this to be some
form of oper flag, or a services flag.
19) Global Alias Mode: This is the user mode set by Anope on the alias
of Global. Normally you want this to be some form
of oper flag, or a services flag.
20) BotServ Bots Mode: This is the user mode set by Anope on all BotServ
bots. Normally you want this to be a some form of
service or bot flag; you can use + for no mode at
all.
21) Max Channelmode Symbols: This is the total number of possible channel
modes that can appear before a nick. Do
remember to count each possible mode, so +ov
is 2.
22) Modes to Remove: This is every mode that Anope should remove when
stripping channel modes.
23) Channelmode for bots: When a BotServ bot joins a channel, this is the
mode set on them. Normally you will want them
opped (+o), and protected (+a) on IRCd's that
support it.
24) SVSNICK: Can the ircd use SVSNICK to change some ones nick? Otherwise,
KILL is used. Use 1 for yes, 0 for no.
25) VHOST: Can a user's host be changed on the fly? Enabling this allow
HostServ online. Use 1 for yes, 0 for no.
26) OWNER: Has a channel umode for being the channel owner. For example,
UnrealIRCd has mode +q. Use 1 for yes, 0 for no.
27) OWNER MODE SET: What mode to set to make someone the owner. If the
IRCd doesn't support owners, set this to NULL.
28) OWNER MODE UNSET: What mode to unset to take away someone's channel
owner status. If the IRCd doesn't support owners,
set this to NULL.
29) ADMIN MODE SET: What mode to set to make someone a channel admin.
If the IRCd dosn't support admins, set to NULL.
30) ADMIN MODE UNSET: What mode to unset to take away channel admin.
If the IRCd dosn't support admins, set to NULL.
31) Mode on Nick Register: What mode to give users when they register
with NickServ. If your ircd doesn't set expect
a mode to be set on registration, you should
set this to NULL.
32) Mode on Root ID: What modes to set on services roots when they identify
33) Mode on Admin ID: What modes to set on services admins when they identify
34) Mode on Oper ID: What modes to set on services opers when they identify
35) Mode on Nick Unregister: What mode to set give users when they cancel
their registration with NickServ. If your
IRCd doesn't set a mode for registered users
you should set this to NULL.
36) Mode on Nick Change: What mode to give users when they change their
nick. If your ircd doesn't set a mode, you
should set this to NULL.
37) SGLINE: Does the IRCd support realname (geocs) bans? Use 1 for yes,
0 for no.
38) SQLINE: Does the IRCd support nick bans? Use 1 for yes, 0 for no.
39) SZLINE: Does the IRCd support SZLINES? Use 1 for yes, 0 for no.
40) HALFOP: Is channel mode +h for halfop supported by the IRCd? Use 1 for
yes, 0 for no.
41) Number of Server Args: When an IRCd connects, this is the number of
parameters that are passed.
42) Join to Set: Services must join a channel to set any modes on that
channel. Use 1 for yes, 0 for no.
43) Join to Message: Services must join a channel to send any message to
that channel (cannot override +n). Use 1 for yes,
0 for no.
44) Exceptions: Support for channel exceptions (mode +e). Use 1 for yes,
0 for no.
45) TS Topic Forward: Some IRCd's (like UnrealIRCd) like their topic TS
set forward by +1. Use 1 for yes, 0 for no.
46) TS Topic Backward: Some IRCd's (mainly older DreamForge-like ones)
like their topic TS set back by -1. Use 1 for yes,
0 for no.
47) Protected Umode: UMODE_ define that defines the protected usermod.
Use 0 for no support, or enter the UMODE_ define.
48) Admin: Support for channel admins (Mainly used by UltimateIRCd). Use
1 for yes, 0 for no.
49) SQline Channels: The IRCd's supports banning channel names via
SQLINES. Use 1 for yes, 0 for no.
50) Quit On Kill: When we (SVS)KILL a user, does the IRCd send back a
QUIT message for that user? Use 1 for yes, 0 for no.
51) SVSMODE -b: We can use SVSMODE to unban hosts from a channel. Use
1 for yes, 0 for no.
52) Protect: Support for channel protect (mode +a, mainly being used by
UnrealIRCd and ViagraIRCd). Use 1 for yes, 0 for no.
53) Reverse: We can do a reverse check when unbanning. For use with
DreamForge based IRCd's. Use 1 for yes, 0 for no.
54) Register Channels: Supports sending a channelmode for registered
channels. Use 1 for yes, 0 for no.
55) Registered Mode: Channelmode to set on registered channels, see the
option above. Use 1 for yes, 0 for no.
56) vIdent: Support for including a user's ident in their vHost. Use
1 for yes, 0 for no.
57) SVSHOLD: Support for temporarily 'holding' a nick, instead of using
a nick enforcer client. Use 1 for yes, 0 for no.
58) TS on MODE: We need to send a timestamp when modes are being changed.
Use 1 for yes, 0 for no.
59) NICKIP: The IP address of new users is being sent along with their
hostname when new users are being introduced on the network.
Use 1 for yes, 0 for no.
60) Omode: We can use OperServ to change a user's mode. Use 1 for yes,
0 for no.
61) Umode: We can use OperServ to change a user's mode. Use 1 for yes,
0 for no.
62) Vhost On Nick: On NICK the IRCd sends the VHOST. Use 1 for yes,
0 for no.
63) Change Realname: Change real name. Use 1 for yes, 0 for no.
64) No Knock: CMODE_ that defines NO KNOCK. Use 0 for no support.
65) Admin Only: CMODE_ that defines Admin Only. Use 0 for no support.
66) Default MLock: Default channelmodes for MLOCK. Use 0 for no modes.
67) Vhost Umode: UMODE_ that indicates if the user currently has a vHost.
Use 0 for no support.
68) Flood Mode: The IRCd has a channelmode for blocking floods. Use 1 for
yes, 0 for no.
69) Link Mode: The IRCd has a channelmode for linking a channel to some
other channel. Use 1 for yes, 0 for no.
70) CMode F: CMODE_ that defines flood mode. Use 0 for no support.
71) CMode L: CMODE_ that defines link mode. Use 0 for no support.
72) Check Nick ID: Should we check if a user should remain identified when
changing their nick? This is for IRCd's that remove
their registered-user mode when someone changes their
nick (like Bahamut does).
Use 1 for yes, 0 for no.
73) No Knock Requires +i: Does the No Knock channel mode require invite
only channels? Use 1 for yes, 0 for no.
74) Chan Modes: If sent in CAPAB/PROTOCOL, we store it in here. This is
NULL by default.
75) Tokens: Can we use tokens to talk to the IRCd? Use 1 for yes,
0 for no.
76) Token Case Senstive: Are the IRCd's TOKENS/COMMANDS case sensitive?
Use 1 for yes, 0 for no.
77) base64 SJOIN TS: Are the timestamps sent with a SJOIN in base64? Use
1 for yes, 0 for no.
78) Supports +I: Does the IRCd support channelmode +I? Use 1 for yes,
0 for no.
79) SJOIN Ban Char: Character used to identify bans. Use ''.
80) SJOIN Except Char: Character used to identify exceptions. Use ''.
81) SJOIN Invex Char: Character used to identify invexes. Use ''.
82) SVSMODE UCMODE: Can we clear user channel modes with SVSMODE? Use
1 for yes, 0 for no.
83) SGline Enforce: Does the IRCd enforce SGLINES for us or do we need to
do so? Use 1 for yes, 0 for no.
84) Vhost Character: The character used to represent the vHost mode, if
this is supported by the IRCd.
85) TS6: Does the IRCd support TS6? Use 1 for yes, 0 for no.
86) UMode +h: Does the IRCd support usermode +h for helpers?
Use 1 for yes, 0 for no.
87) P10: Is this IRCd a P10-style IRCd? Use 1 for yes, 0 for no.
88) Character Set: Unreal passes the character set during PROTOCTL,
the value is stored here. Set this NULL to start.
89) Reports sync: Does the IRCd report when it's in sync (or done bursting,
depending on how you want to say it)? Remember to set
the sync state for servers correctly if it does.
Use 1 for yes, 0 for no.
90) Channel CIDR: Set to 1 if channel bans, excepts and invites
support CIDR masks. Expected syntax: *!*@ip/mask.
When set to 1, anope will only parse strict CIDR masks.
IRCd's that try to correct invalid CIDR's (like nefarious)
will need a custom implementation in the core.
Contact the anope Dev Team if this is the case.
Set to 0 if CIDR's are not supported by your IRCd.
91) Throttle Mode: The IRCd has a channelmode for throttling joins per-user.
Use 1 for yes, 0 for no.
92) CMode j: CMODE_ that defines throttle mode. Use 0 for no support.
93) Delayed client introduction: Delay the introduction of services pseudo-
client till after we have received the uplinks
CAPAB.
So we've had this long list. Now there's a second struct to fill. This
struct isn't as long as the previous one though, so we'll handle it quite
quick compared to the previous one.
IRCDCAPAB ircdcap[] = { }
This struct is based on the CAPAB defines. You should review the CAPAB
table below to see how this should be done.
Define Table
--------------------------------------------------------------------------
Define | Value | Token | Description
----------------|------------|-----------|--------------------------------
CAPAB_NOQUIT | 0x00000001 | NOQUIT | NOQUIT protocol support
CAPAB_TSMODE | 0x00000002 | TS | Chanmodes are timestamped
CAPAB_UNCONNECT | 0x00000004 | UNCONNECT | UNCONNECT protocol support
CAPAB_NICKIP | 0x00000008 | NICKIP | IP sent in the NICK line
CAPAB_NSJOIN | 0x00000010 | SSJOIN | Smart SJOIN support
CAPAB_ZIP | 0x00000020 | ZIP | Support for gzipped links
CAPAB_BURST | 0x00000040 | BURST | Supports BURST command
CAPAB_TS3 | 0x00000080 | TS3 | Support for TS3 protocol
CAPAB_TS5 | 0x00000100 | TS5 | Support for TS5 protocol
CAPAB_DKEY | 0x00000200 | DKEY | DH-Key exchange using DKEY
CAPAB_DOZIP | 0x00000400 | ZIP | Link traffic will be gzipped
CAPAB_DODKEY | 0x00000800 | DKEY | Do DKEY with this link
CAPAB_QS | 0x00001000 | QS | Supports quit storm removal
CAPAB_SCS | 0x00002000 | SCS | String Cache System support
CAPAB_PT4 | 0x00004000 | PT4 | Support for PT4 protocol
CAPAB_UID | 0x00008000 | UID | Support for UIDs
CAPAB_KNOCK | 0x00010000 | KNOCK | Supports KNOCK
CAPAB_CLIENT | 0x00020000 | CLIENT | Supports CLIENT
CAPAB_IPV6 | 0x00040000 | IPV6 | Support for IPv6 addresses
CAPAB_SSJ5 | 0x00080000 | SSJ5 | Smart Join protocol 5 support
CAPAB_SN2 | 0x00100000 | SN2 | Support for SN2 protocol
CAPAB_VHOST | 0x00200000 | VHOST | Supports VHOST protocol
CAPAB_TOKEN | 0x00400000 | TOKEN | Supports s2s tokens
CAPAB_SSJ3 | 0x00800000 | SSJ3 | Smart Join protocol 3 support
CAPAB_NICK2 | 0x01000000 | NICK2 | Support for extended NICK (v2)
CAPAB_UMODE2 | 0x02000000 | UMODE2 | Supports UMODE2 command
CAPAB_VL | 0x04000000 | VL | VLine information in info field
CAPAB_TLKEXT | 0x08000000 | TLKEXT | Not 8, but 10 params in TKL's
CAPAB_CHANMODE | 0x10000000 | CHANMODE | Channel modes are passed here
CAPAB_SJB64 | 0x20000000 | SJB64 | SJOIN timestamps are base64 encoded
CAPAB_NICKCHARS | 0x40000000 | NICKCHARS | Character set used by the IRCD for nicks
4) Modes
The next thing you should do is defining the user modes. You will want to
have your .h file handy for this part.
unsigned long umodes[128] = { }
This array goes from 0 to 127 in the ASCII character set. Insert the user
modes at the slot where the mode fits. If you are adding a the user mode
of +i find the 105th (ASCII code of 'i') character slot in the array, and
place the UMODE_i into this slot. Your base .c file should contain a good
start for this, as well as a little help locating the characters.
The following mode set is for the channel symbols. During a SJOIN event
the modes are sent usually before the nick. These normally are @, +, %
etc.. depending on the ircd. Starting at ASCII 0 and running to 127.
Replace the 0 with the character (o = @, h = %) for the given mode. In the
case of halfop which is usually sent as % replace the 37th character with
'h', do this until all modes that are possible be received in this manor
have been inserted into the array.
Now that you have that complete, the following array is ready to be dealt
with. This is the cmmodes array, like the others it is a ASCII array
starting at 0 and going to 127. However at the given letter you will want
to enter the add, and delete function for the given mode. In the case of
bans (+b) there is add_ban, and del_ban. Anope provides functions for
bans, exceptions and invites, should your ircd have more then these please
contact Anope to discuss what can be done to add this mode.
5) Functions and Events
A brief word about functions and events. All events are captured using:
void moduleAddIRCDMsgs(void)
{
m = createMessage("NICK", anope_event_nick);
addCoreMessage(IRCD, m);
}
Each event should have a event handler if its important enough to be
processed by services. All event functions should be formed like this:
int anope_event_capab(char *source, int ac, char **av)
{
return MOD_CONT;
}
They will receive the source; this can be NULL at times depending on the
event. Next, ac is the number of arguments that are in the event, and av
holds the values for each; so av[0] is the first variable, av[1] will be
the second one, and so on. Events are likely to pass to various upper
level event handlers; see the previous ircd source for how they handle
these events.
All commands are formed like this:
void anope_cmd_svsnoop(char *server, int set)
{
send_cmd(NULL, "SVSNOOP %s %s", server, (set ? "+" : "-"));
}
They may take any number of arguments, depending on the command. They
should eventually come to a send_cmd(); this root function is how
commands are sent to the IRCd.
6) CAPAB/PROTOCTL
Most IRCD send a CAPAB or PROTOCTL line so that they can work out what
the other end of the connection is capable of doing. Anope has a function
to read these lines and set itself up to to handle these events better.
When adding support for your ircd, take the following steps.
1) In the ircd.h file make sure to place the defines (see below) that
match your IRCd's tokens; only use the ones that matter to your ircd.
Should your IRCd add new features not covered in the defined, please
contact the Anope Dev team before doing so. See README for information
on how to contact the Anope team.
2) Ensure that the CAPAB/PROTOCTL event his handled correctly.
A) In the function "moduleAddIRCDMsgs" making sure that you have the
following two lines:
m = createMessage("CAPAB", anope_event_capab);
addCoreMessage(IRCD, m);
B) Add the function to handle the event
int anope_event_capab(char *source, int ac, char **av)
{
capab_parse(ac, av);
return MOD_CONT;
}
This function should call the capab_parse function which parses
the received CAPAB/PROTOCTL line.
How To Add IRCd Support
-----------------------
1) Files to Edit
2) The Code
3) The IRCDVar struct
4) Modes
5) Functions / Events
6) CAPAB/PROTOCTL
7) IRCDProto Class
1) Files to Edit
When preparing to add supprt to Anope for your IRCd, you need to edit
the following files
A) Make a copy of the .cpp file of the IRCd that matches the IRCd that
you are attempting to add support for best.
B) Add your IRCd into the supported IRCds in example.conf
2) The Code
Here is where the code of the .cpp file comes in. Be prepared to spend at
least an hour, if not longer, going over the code and getting it right;
Especially if you are setting up an ircd that is completely different
than the one you used as a base. This section covers the majority of the
code that is in use.
The first bit of code you will face is the IRCDVar structure, which is
explained in depth in the next section.
Scroll down to the bottom and find the class for this module and rename it
to something reflecting your IRCd name. Find the function:
pmodule_ircd_version("Unreal 3.2+");
This is the protocol name which will appear in various places; especially
when you do -version at the command prompt, this is where you state the
server name. The version is not always needed unless you are showing that
the support is for one branch of a ircd family, such as Unreal 3.1 and
Unreal 3.2.
The next task that you will face is setting whether the IRCD sends time
stamps on modes but does not tell us that it will do so. If it does, set
UseTSMODE to 1; if it does not set it to be 0. If you're not sure refer
to your IRCd's documentation on how MODE is sent.
pmodule_ircd_useTSMode(0);
3) The IRCDVar struct
Now you've come to the part where you setup your ircd. There are two
structs which hold this information; This allows you to quickly setup
your specific ircd.
IRCDVar myIrcd[] = { };
This struct contains your basic IRCd functions. Your base source file has
the list of all available variables; note that you should not swap any
around, or you will break stuff. Here is a brief description of the usage
of each.
1) Name: This member tells Anope about the IRCD's name. It may contain
text about it's name and version. This is used to identify the
build on startup.
2) Pseudo Client Mode: This is the user mode set by Anope on all BotServ
bots. Normally you want this to be a some form of
service or bot flag; you can use + for no mode at
all.
3) Max Channelmode Symbols: This is the total number of possible channel
modes that can appear before a nick. Do
remember to count each possible mode, so +ov
is 2.
4) Channelmode for bots: When a BotServ bot joins a channel, this is the
mode set on them. Normally you will want them
opped (+o), and protected (+a) on IRCd's that
support it.
5) SVSNICK: Can the ircd use SVSNICK to change some ones nick? Otherwise,
KILL is used. Use 1 for yes, 0 for no.
6) VHOST: Can a user's host be changed on the fly? Enabling this allow
HostServ online. Use 1 for yes, 0 for no.
7) SGLINE: Does the IRCd support realname (geocs) bans? Use 1 for yes,
0 for no.
8) SQLINE: Does the IRCd support nick bans? Use 1 for yes, 0 for no.
9) SZLINE: Does the IRCd support SZLINES? Use 1 for yes, 0 for no.
10) Number of Server Args: When an IRCd connects, this is the number of
parameters that are passed.
11) Join to Set: Services must join a channel to set any modes on that
channel. Use 1 for yes, 0 for no.
12) Join to Message: Services must join a channel to send any message to
that channel (cannot override +n). Use 1 for yes,
0 for no.
13) TS Topic Forward: Some IRCd's (like UnrealIRCd) like their topic TS
set forward by +1. Use 1 for yes, 0 for no.
14) TS Topic Backward: Some IRCd's (mainly older DreamForge-like ones)
like their topic TS set back by -1. Use 1 for yes,
0 for no.
15) SQline Channels: The IRCd's supports banning channel names via
SQLINES. Use 1 for yes, 0 for no.
16) Quit On Kill: When we (SVS)KILL a user, does the IRCd send back a
QUIT message for that user? Use 1 for yes, 0 for no.
17) SVSMODE -b: We can use SVSMODE to unban hosts from a channel. Use
1 for yes, 0 for no.
18) Reverse: We can do a reverse check when unbanning. For use with
DreamForge based IRCd's. Use 1 for yes, 0 for no.
19) vIdent: Support for including a user's ident in their vHost. Use
1 for yes, 0 for no.
20) SVSHOLD: Support for temporarily 'holding' a nick, instead of using
a nick enforcer client. Use 1 for yes, 0 for no.
21) TS on MODE: We need to send a timestamp when modes are being changed.
Use 1 for yes, 0 for no.
22) NICKIP: The IP address of new users is being sent along with their
hostname when new users are being introduced on the network.
Use 1 for yes, 0 for no.
23) OMODE: We can use OperServ to give some user a temporary O:LINE.
Use 1 for yes, 0 for no.
24) Umode: We can use OperServ to change a user's mode. Use 1 for yes,
0 for no.
25) Vhost On Nick: On NICK the IRCd sends the VHOST. Use 1 for yes,
0 for no.
26) Change Realname: Change real name. Use 1 for yes, 0 for no.
27) Check Nick ID: Should we check if a user should remain identified when
changing their nick? This is for IRCd's that remove
their registered-user mode when someone changes their
nick (like Bahamut does).
Use 1 for yes, 0 for no.
28) No Knock Requires +i: Does the No Knock channel mode require invite
only channels? Use 1 for yes, 0 for no.
29) Chan Modes: If sent in CAPAB/PROTOCOL, we store it in here. This is
NULL by default.
30) Tokens: Can we use tokens to talk to the IRCd? Use 1 for yes,
0 for no.
31) base64 SJOIN TS: Are the timestamps sent with a SJOIN in base64? Use
1 for yes, 0 for no.
32) SJOIN Ban Char: Character used to identify bans. Use ''.
33) SJOIN Except Char: Character used to identify exceptions. Use ''.
34) SJOIN Invite char: Character used to idenfity invexs. Use ''.
35) SVSMODE UCMODE: Can we clear user channel modes with SVSMODE? Use
1 for yes, 0 for no.
36) SGline Enforce: Does the IRCd enforce SGLINES for us or do we need to
do so? Use 1 for yes, 0 for no.
37) Vhost Character: The character used to represent the vHost mode, if
this is supported by the IRCd.
38) TS6: Does the IRCd support TS6? Use 1 for yes, 0 for no.
39) P10: Is this IRCd a P10-style IRCd? Use 1 for yes, 0 for no.
40) Character Set: Unreal passes the character set during PROTOCTL,
the value is stored here. Set this NULL to start.
41) Channel CIDR: Set to 1 if channel bans, excepts and invites
support CIDR masks. Expected syntax: *!*@ip/mask.
When set to 1, anope will only parse strict CIDR masks.
IRCd's that try to correct invalid CIDR's (like nefarious)
will need a custom implementation in the core.
Contact the anope Dev Team if this is the case.
Set to 0 if CIDR's are not supported by your IRCd.
42) Global TLD Prefix: Prefix used to send global messages, should probably
be "$"
43) Max Modes: The max number of mode changes we can send in one line
4) Modes
Anope is told about modes in the moduleAddModes() function.
For the most part, the syntax for adding channel and user modes are:
ModeManager::AddUserMode(new UserMode(UMODE_NETADMIN, 'N'));
Where 'N' is the char for the mode, and UMODE_NETADMIN shows what the
mode does. Or:
ModeManager::AddChannelMode(new ChannelMode(CMODE_BLOCKCOLOR, 'c'));
Where 'c' is the char for the mode and CMODE_BLOCKCOLOR shows what
the mode does
A full list of valid mode names for the second param can be found
in services.h in the enum for ChannelModeName and UserModeName
If necessary, you can add additional modes to this list.
Adding simple modes with parameters is similar, instead adding a
'new ChannelMode', use 'new ChannelModeParam', set the third optional
arg of ChannelModeParam to false if the param should NOT be sent when unsetting
it. Eg:
ModeManager::AddChannelMode(new ChannelModeParam(CMODE_JOINFLOOD, 'j', true));
Anope will internally track the params, and they can be retrieved through
Channel::GetParam();
If you want to make param validity checking for a mode, you must create a new
class which inherits from ChannelModeParam and overload the IsValid function.
Modes CMODE_OPERONLY, CMODE_ADMINONLY, and CMODE_REGISTERED already exist
internally as classes, to overload the CanSet function to disable non opers
from mlocking (or in CMODE_REGISTERED's case, anyone) from setting them.
This should be added like:
ModeManager::AddChannelMode(new ChannelModeOper('O'));
The CMODE_FLOOD param also has its own class, but due to the wide range of
valid parameters accepted across IRCds, your protocol module MUST have the
IsValid function for this.
bool ChannelModeFlood::IsValid(const std::string &value) { }
5) Functions and Events
A brief word about functions and events. All events are captured using:
void moduleAddIRCDMsgs(void)
{
m = createMessage("NICK", anope_event_nick);
addCoreMessage(IRCD,m);
}
Each event should have a event handler if its important enough to be
processed by services. All event functions should be formed like this:
int anope_event_capab(char *source, int ac, char **av)
{
return MOD_CONT;
}
They will receive the source; this can be NULL at times depending on the
event. Next, ac is the number of arguments that are in the event, and av
holds the values for each; so av[0] is the first variable, av[1] will be
the second one, and so on. Events are likely to pass to various upper
level event handlers; see the previous ircd source for how they handle
these events.
All commands are formed like this:
void anope_cmd_svsnoop(char *server, int set)
{
send_cmd(NULL, "SVSNOOP %s %s", server, (set ? "+" : "-"));
}
They may take any number of arguments, depending on the command. They
should eventually come to a send_cmd(); this root function is how
commands are sent to the IRCd.
6) CAPAB/PROTOCTL
Most IRCD send a CAPAB or PROTOCTL line so that they can work out what
the other end of the connection is capable of doing. Anope has a function
to read these lines and set itself up to to handle these events better.
When adding support for your ircd, take the following steps.
1) In the module constructor you must tell Anope what the uplink is capable of that
isn't already passed in the CAPAB/PROTOCTL, you do this by something similar to:
CapabType c[] = { CAPAB_NOQUIT, CAPAB_NICKIP, CAPAB_ZIP, CAPAB_TOKEN, CAPAB_SSJ3, CAPAB_NICK2, CAPAB_VL, CAPAB_TLKEXT, CAPAB_CHANMODE, CAPAB_SJB64, CAPAB_NICKCHARS };
for (unsigned i = 0; i < 11; ++i)
Capab.SetFlag(c[i]);
Anything else given to Anope in the CAPAB/PROTOCTL message will be handled later by CapabParse.
The available CAPAB options are:
--------------------------------------------------------------------------
Define | Description
----------------|------------|-----------|--------------------------------
CAPAB_NOQUIT | NOQUIT protocol support
CAPAB_TSMODE | Chanmodes are timestamped
CAPAB_UNCONNECT | UNCONNECT protocol support
CAPAB_NICKIP | IP sent in the NICK line
CAPAB_NSJOIN | Smart SJOIN support
CAPAB_ZIP | Support for gzipped links
CAPAB_BURST | Supports BURST command
CAPAB_TS3 | Support for TS3 protocol
CAPAB_TS5 | Support for TS5 protocol
CAPAB_DKEY | DH-Key exchange using DKEY
CAPAB_DOZIP | Link traffic will be gzipped
CAPAB_DODKEY | Do DKEY with this link
CAPAB_QS | Supports quit storm removal
CAPAB_SCS | String Cache System support
CAPAB_PT4 | Support for PT4 protocol
CAPAB_UID | Support for UIDs
CAPAB_KNOCK | Supports KNOCK
CAPAB_CLIENT | Supports CLIENT
CAPAB_IPV6 | Support for IPv6 addresses
CAPAB_SSJ5 | Smart Join protocol 5 support
CAPAB_SN2 | Support for SN2 protocol
CAPAB_VHOST | Supports VHOST protocol
CAPAB_TOKEN | Supports s2s tokens
CAPAB_SSJ3 | Smart Join protocol 3 support
CAPAB_NICK2 | Support for extended NICK (v2)
CAPAB_UMODE2 | Supports UMODE2 command
CAPAB_VL | VLine information in info field
CAPAB_TLKEXT | Not 8, but 10 params in TKL's
CAPAB_CHANMODE | Channel modes are passed here
CAPAB_SJB64 | SJOIN timestamps are base64 encoded
CAPAB_NICKCHARS | Character set used by the IRCD for nicks
2) In the ircd.c find the function anope_cmd_capab(); this function will
send the CAPAB/PROTOCTL line (consult your ircd documentation for
which to send). In a single line type in the tokens that anope must
send. Here is an example of Hybrid's capab line:
/* CAPAB */
void anope_cmd_capab()
{
send_cmd(NULL, "CAPAB TS5 EX IE HOPS HUB AOPS");
}
3) Ensure that the CAPAB/PROTOCTL event his handled correctly.
A) In the function module constructor make sure that you have the
following two lines:
m = createMessage("CAPAB", anope_event_capab);
addCoreMessage(IRCD,m);
B) Add the function to handle the event
int anope_event_capab(char *source, int ac, char **av)
{
CapabParse(ac, av);
return MOD_CONT;
}
This function should call the CapabParse function which parses
the received CAPAB/PROTOCTL line.
7) IRCDProto Class
The IRCDProto class is set up like:
class MyIRCdProto : public IRCDProto { } ircdproto;
And told to Anope through the
pmodule_ircd_proto(&ircd_proto);
function.
This is used for sending out specific messages from Anope to your IRCd.
A list of all of the valid function names to overload and their args
are in services.h. If the protocol module you are editing is similar enough
to the IRCd you are adding support for, many of these probably won't need to
be changed.
+15 -97
View File
@@ -1,109 +1,27 @@
Anope MySQL Support
-------------------
1) Introduction
MySQL support was readded in version 1.9.2 In the form of three modules.
Anope 1.6 onwards supports MySQL databases. On Anope 1.6.0 only PHASE 1
has been implemented. Since the next phases require major changes in the
core, we decided to save it for 2.0. However, having your db's easily
accessible on your website is still a great feature.
db_mysql_read - Allows you to load your databases from MySQL.
db_mysql_write - Allows live updating of SQL tables whenever something is executed in Anope.
db_mysql_execute - Allows executing of Anope commands via SQL.
PHASE 1:Anope will be able to save all its databases to MySQL. It will
happen in conjunction with the current FFF databases. This first step is
nothing more than a MySQL dump of the databases (i.e. read-only), since
Anope will not (for now) read from Mysql. (COMPLETED)
To execute commands via SQL, you must insert the command into the anope_commands table, an example is as follows:
PHASE 2:The next step is load the databases from MySQL, being able to
replace the FFF completely as an archive method (since all changes to
the MySQL db would be lost on the next Services save). All, while keeping
FFF intact. This is still not the final goal, but it's a milestone.
(COMPLETED)
UPDATE: Anope 1.7.0 (Revision 11 and above) finally supports phase 2!
A new config directive called 'UseRDB' has been added.
If you enable this, anope will automatically try to load its
data from MySQL (if configured and compiled with).
INSERT INTO `anope_commands` (nick, service, command) VALUES('Adam', 'NickServ', 'REGISTER qwerty Adam@anope.org');
PHASE 3:The next step, and most convoluted of all (since we'll need to
modify pretty much all the source) is to load/save (SELECT/INSERT) data
in realtime. That way the MySQL db could be modified externally (web?).
Again, the FFF will be kept intact.
By default, every 60 seconds Anope checks this table for commands to execute. When Anope sees a new command to execute, it checks the following.
2) Requirements
If the nick given is -SQLUser, then the command gets executed by a special fake user within Anope called -SQLUser. -SQLUser has every permission and command available, there are no permission checks at all for this user, it can do anything.
1. MySQL server version 3.23.32 or greater
2. MySQL libs and development files (usually called mysql-dev).
3. A MySQL user account
4. A MySQL database
If the nick is not -SQLUser, it checks to see if it is a registered nick. If it is, it sees if there are any users online using the NickCore of that nick.
If there is a user online with that core the command gets executed as if that user executed it, and the reply goes to that user.
If there isn't a user online with the core, it creates a fake user as the nick given to it, and gives to it the permissions the user would have if they were online and identified.
If the nick is not registered, it checks to see if there is a user currently on that nick. If there is, it executes the command as that user, and the reply goes to that user.
If the nick is not registered and no one is using the nick, it creates a fake user of the nick given to it, and gives it regular nonidentified user access.
3) Installation
Currently there is no way to check to see if a command was executed successfully within Anope from SQL (even if there was, the possibly update delay would be a problem).
1. The ./Config script automatically detects if your system is capable
of running Anope with MySQL support. There is no need anymore to
answer yes when asked.
IMPORTANT: When using db_mysql_write when you already have a database, you need to do an initial import of the data to SQL (as db_mysql_write only updates it when it is changed, it never actually mass-dumps all of your data into SQL). To do this, start Anope and execute /OperServ SQLSYNC.
Note: You might need to run "make distclean" prior to running ./Config
2. Compile Anope as usual. The (g)make process will now compile MySQL
support into Anope.
3. Install Anope as usual.
4) Configuration
1. Go to your "services bin directory" (eg: /home/someuser/services/) and run mydbgen
to help on the schema creation and adjustments.
2. Edit services.conf and add your MySQL data to the MySQL configuration
block.
3. Start or restart services to make use of the new Anope executable.
5) Security
To add a layer of security you have the option of encrypting or encoding
all passwords for nicks and chans. Use the "MysqlSecure" directive on your
services.conf file to enable it. The available storage methods are:
#MysqlSecure ""
or
MysqlSecure ""
Disables security. All passwords will be saved on the MySQL database
as clear text, with no encryption or encoding. FASTEST
MysqlSecure "des"
Encrypts all passwords using a UNIX DES encryption. This is a one way
encryption algorithm. You can only validate it against another DES
encrypted string, using the same "salt" (the first two characters of
the encrypted string). FAST
MysqlSecure "md5"
Calculates an MD5 128-bit checksum for the password. The value is
returned as a 32-digit hex number that may be used as a hash key.
This is a one way encryption algorithm. SLOW
MysqlSecure "sha"
Calculates an SHA 160-bit checksum for the password. The value is
returned as a 40-digit hex number. This is a one way encryption
algorithm. SLOWEST
MysqlSecure "mykey"
Encodes the passwords using "mykey" as the encryption password. It
produces a binary string and can be decoded using the MySQL built in
function DECODE(crypt_str,mykey). VARIABLE
Caveat: Keep in mind that this if you use any method other than clear
text, services will need to encrypt/encode every single password on
every database save. On large networks, it may impact responsiveness
during the saves.
Caveat: If you enable MysqlSecure you can not longer use the UseRDB directive
as all the password types are encrypted with a one way encryption method for
older MySQL servers.
+5 -54
View File
@@ -1,56 +1,7 @@
Highlighted News in Anope 1.8
============================================
* Added optional mail forking on non Windows OS
* Added a new and improved ./Config script.
* Added MySQL phase 2 implementation (see docs/MYSQL).
* Added NickServ registration delays.
* Added read receipts for memos.
* Added a way for modules to store data with internal structures.
* Added nick tracking support.
* Added support for SVSHOLD.
* Added support for U:Lined servers.
* Added support for TS6 IRCd's.
* Added support for Windows.
* Added internal events for modules.
* Added a way to suspend nicks.
* Added support for module configuration directives.
* Added translation support for modules.
* Added a module pack with handy modules.
* Added IRCd protocol modules.
* Added support for new IRCd's. Currently supported:
- Bahamut 1.4.27 or later (including 1.8)
- Charybdis 1.0 or later
- DreamForge 4.6.7
- Hybrid 7 or later
- InspIRCd 1.x and 2.0
- Plexus 2.0 or later (including 3.0)
- PTLink 6.15 or later
- RageIRCd 2.0 or later
- Ratbox 2.0.6 or later
- ShadowIRCd 4.0 beta 7 or later
- Solid IRCd 3.4.6 or later
- UltimateIRCd 2.8.2 or later (including 3.0)
- UnrealIRCd 3.1.1 or later (including 3.2)
- ViagraIRCd 1.3 or later
* Added new languages. Currently included:
Catalan, German, English, Spanish, French, Greek,
Hungarian, Italian, Dutch, Polish, Portugese,
Russian, Turkish
* Added support for CIDR channel lists.
* Converted the core to be completely modular.
* Improved random number algorithm.
* Removed proxy detector (see docs/PROXY).
* Fixed various exploits and vulnerabilities.
* Fixed various language typos and inconsistencies.
* Fixed a bug in the database system causing nickserv passwords
to be saved incorrectly. Note that this breaks backwards
compatibility on nick.db !!!
For the full changes, see the Changes file.
For announcements and discussions about Anope, please visit our
web site http://www.anope.org
Highlighted News in Anope 1.9
=============================
* Added in live updating SQL and the ability to execute commands through SQL
* Re-designed configuration file
* Code refresh / rewrite into C++
-1299
View File
File diff suppressed because it is too large Load Diff
-139
View File
@@ -1,139 +0,0 @@
Highlighted News in Anope 1.7 (and soon 1.8)
============================================
* Added a new and improved ./Config script.
* Added MySQL phase 2 implementation (see docs/MYSQL).
* Added NickServ registration delays.
* Added read receipts for memos.
* Added a way for modules to store data with internal structures.
* Added nick tracking support.
* Added support for SVSHOLD.
* Added support for U:Lined servers.
* Added support for TS6 IRCd's.
* Added support for Windows.
* Added internal events for modules.
* Added a way to suspend nicks.
* Added support for module configuration directives.
* Added translation support for modules.
* Added a module pack with handy modules.
* Added IRCd protocol modules.
* Added support for new IRCd's. Currently supported:
- Bahamut 1.4.27 or later (including 1.8)
- Charybdis 1.0 or later
- DreamForge 4.6.7
- Hybrid 7 or later
- InspIRCd 1.0 or later (including 1.1)
- Plexus 2.0 or later (including 3.0)
- PTLink 6.15 or later
- RageIRCd 2.0 or later
- Ratbox 2.0.6 or later
- ShadowIRCd 4.0 beta 7 or later
- Solid IRCd 3.4.6 or later
- UltimateIRCd 2.8.2 or later (including 3.0)
- UnrealIRCd 3.1.1 or later (including 3.2)
- ViagraIRCd 1.3 or later
* Added new languages. Currently included:
Catalan, German, English, Spanish, French, Greek,
Hungarian, Italian, Dutch, Polish, Portugese,
Russian, Turkish
* Added support for CIDR channel lists.
* Converted the core to be completely modular.
* Improved random number algorithm.
* Removed proxy detector (see docs/PROXY).
* Fixed various exploits and vulnerabilities.
* Fixed various language typos and inconsistencies.
* Fixed a bug in the database system causing nickserv passwords
to be saved incorrectly. Note that this breaks backwards
compatibility on nick.db !!!
Highlighted News in Anope 1.6
=============================
* Fixed various exploits and vulnerabilities.
* Fixed various language typos and inconsistencies.
* Improved ignore system.
* Improved ./configure script.
* Removed all compile warning fixed.
* Converted HelpServ into a proper service.
* Added external module support.
* Added Defense Condition (DEFCON) System.
* Added MySQL support for mirroring databases.
* Added multi-server configuration.
* Added multi-domain /OS GLOBAL support.
* Added combined +oq +oa +ha +va on net-joins.
* Added support for ircd changes and upgrades.
* Added HostSetters configuration directive.
* Added /OS STAFF command.
* Added /OS SVSNICK command.
* Added /OS CHANKILL command.
* Added /MS STAFF command.
* Added /NS UPDATE command.
* Added /MS SENDALL command.
* Added /NS GETMAIL command.
* Added /HS DELALL command.
* Added /HS LIST command with pattern matching.
* New support scripts and tools.
* New ircd support, complete list: DreamForge 4.6.7, Bahamut 1.4.27,
UnrealIRCd 3.1.1, UltimateIRCd 2.8.2,
UltimateIRCd 3.0.0, Hybrid IRCd 7.0
ViagraIRCd 1.3.x, PTlink 6.15.0
* New Language files, complete list: cat.l, de.l, en_us.l, es.l, fr.l,
gr.l, it.l, nl.l, pt.l, ru.l, tr.l
Highlighted News in Anope 1.4
=============================
After the change from Epona to Anope
------------------------------------
* New Italian Language file
* Added support for UltimateIRCd 3.0 and later
* Services realtime logging to a channel
* SuperAdmin directive for access to "super" commands.
* Ban system is now exception aware.
* HostServ for hostname masquerading.
* Smarter XOP System.
* Email verification/handshake upon registration.
* Services can now /ignore users.
* Smarter memo notification for channels.
* Channel can be SUSPENDed instead of FORBIDen.
Before the change from Epona to Anope
-------------------------------------
* HostServ for networks that support them.
* UnrealIRCd support has been rewritten, it is now fully
working (hopefully) and officially supported again.
* Added support for UltimateIRCd 2.8.2 and later.
* A multi-threaded proxy detector that can scan Wingates,
SOCKS 4/5 and HTTP proxies on ports 3128 and 8080. Don't use
it if you have not been authorized to use it by your system
administrator!
* The ChanServ AOP/SOP/VOP commands, and, on networks that
support halfops, the HOP command, have been added. They
allow a more user-friendly control of channel privileges.
* Use of services IDs that allow an user to be automatically
identified after a split (if he was identified before the split)
in a secure way. This also saves lots of bandwidth.
* Services' default language can now be set in services.conf.
* The OperServ RANDOMNEWS command provides an easy way to show
network news in a random manner without flooding your users
with them (one news per connection).
* The BotServ SET PRIVATE option allows services admins to
make the bot usable by IRC operators only.
* The OperServ SQLINE command allows you to forbid nick masks
and even channel masks with the latest Bahamut.
* The ChanServ AKICK STICK command allows akicks to be permanently
kept on channel.
* The ChanServ SET TOPIC command has been renamed to TOPIC, and
a new BAN command has been added. They both have their own
associated levels.
* A SET PEACE command has been added to ChanServ. It prevents
users to use pejorative services commands (DEOP, KICK, ...)
on users with greater or equal levels.
Networks using Bahamut must upgrade to Bahamut 1.4.27 or later,
while networks using UnrealIRCd must upgrade to Unreal 3.1.1.
For the full changes, see the Changes file.
For announcements and discussions about Anope, please visit our
web site http://www.anope.org
+2 -2
View File
@@ -6,9 +6,9 @@ Anope Proxy Detector
1) Introduction
Anope has had a built-in proxy detector since its first version. Recently,
Anope has had a built-in proxy detector since it's first version. Recently,
however, this built-in proxy detector has been removed. This was because
the Anope team found that the proxy detector was showing its age, and the
the Anope team found that the proxy detector was showing it's age, and the
time needed to restore it to a good state wasn't worth it, also considering
that there are currently good alternatives out there which do the job as
good as it can be done already.
+367 -428
View File
@@ -1,428 +1,367 @@
Anope - a set of IRC services for IRC networks
----------------------------------------------
Anope is 2003-2014 Anope Team <team@anope.org>.
Based on Epona 2000-2002 PegSoft <epona@pegsoft.net>.
Based on Services 1996-1999 Andrew Church <achurch@achurch.org>.
This program is free but copyrighted software; see the file COPYING for
details.
Information about Anope may be found at http://www.anope.org/
Information about Epona may be found at http://www.epona.org/
Information about Services may be found at http://www.ircservices.esper.net/
Table of Contents
-----------------
1) Credits
2) Presentation
3) Installation
4) Command Line Options
5) Messages Translation
6) Adding Your Translation Into The Source
7) Contact and Mailing List
1) Credits
Anope is based on Lara's Epona version 1.4.14.
Epona is based on Andy Church's IRC Services version 4.3.3.
The original credits:
* Mauritz Antunes
Portuguese translation
* Jose R. Holzmann, Raul S. Villarreal
Spanish translation
* Andrew Kempe <theshadow@shadowfire.org>
News system
* <d.duca@eurcom.net>
Italian translation
* <mikado@holyfire.com>
Turkish translation
* Andrew Kempe <theshadow@shadowfire.org>
Session limiting
Epona credits:
* lara <lara@pegsoft.net>
Main coding
* CafeiN <oytuny@yahoo.com>
Turkish translation
* Sylvain Cresto aka tost <scresto@netsante.fr>
FreeBSD 5 patch
* Marcelo Conde Foscarini aka Bras <ircadmin@brmarket.net>
Portuguese translation
* Alvaro Toledo aka POLLITO <atoledo@keldon.org>
Spanish translation
* chemical <chemical@musicplay.de>
German translation
* shine <dh@shinewelt.de>
German translation
* Guven Guzelbey aka MeShGuL <guzelbey@cs.utk.edu>
Turkish translation
* Jordi Pujol <jordi.pujol@aujac.org>
Catalan translation
* Eva Dachs <evadachs@terra.es>
Catalan translation
* Toni Perez <toni.perez@aujac.org>
Catalan translation
* Sergios Karalis <sergios_k@hotmail.com>
Greek translation
* Thomas J. Stensas aka ShadowMaster <shadowmaster@shadow-realm.org>
Ultimate 3.x support
Anope credits:
* Adam Kramer <ribosome@anope.org>
* Adam <adam@anope.org>
* Alvaro Toledo <atoledo@keldon.org>
* Amanda Folson <amanda@anope.org>
* Andrew Berquist <vash@anope.org>
* Björn Stiddien <keeper@anope.org>
* Charles Kingsley <chaz@anope.org>
* Chris Hogben <heinz@anope.org>
* Daniel Engel <dane@zero.org>
* David <dv@diboo.net>
* David Narayan <jester@phrixus.net>
* David Robson <rob@anope.org>
* Daniele Nicolucci <jollino@sogno.net>
* Florian Schulze <certus@anope.org>
* Gabriel Acevedo H. <drstein@anope.org>
* Jan Milants <viper@anope.org>
* Jens Voss <dukepyrolator@anope.org>
* JH <jh@irc-chat.net>
* Joris Vink <joris@anope.org>
* Lee Holmes <lethality@anope.org>
* Lucas Nussbaum <lucas@lucas-nussbaum.net>
* Mark Summers <mark@goopler.net>
* Matthew Beeching <jobe@invictachat.net>
* Naram Qashat <cyberbotx@anope.org>
* Phil Lavin <phil@anope.org>
* Pieter Bootsma <geniusdex@anope.org>
* Robin Burchell <w00t@inspircd.org>
* Sean Roe <therock247uk@anope.org>
* Sebastian V <hal9000@anope.org>
* Thomas Juberg Stensås <ShadowMaster@Shadow-Realm.org>
* Trystan .S Lee <trystan@nomadirc.net>
* openglx <openglx@brasnerd.com.br>
Anope Translations:
* GeniusDex <geniusdex@anope.org> (nl.l)
* Kein <kein-of@yandex.ru> (ru.l)
* Maik Funke <Han@mefalcon.org> (de.l)
* Gabriel Acevedo H. <drstein@anope.org> (es.l)
* Janos Kapitany <sarkanyka@cjbchat.hu> (hun.l)
* Szymon S'wierkosz <szymek@adres.pl> (pl.l)
* Christopher N. <saka@epiknet.org> (fr.l)
* Yusuf Kurekci <ysfm.20@gmail.com> (tr.l)
Anope uses the strlcat() and strlcpy() functions from OpenSSH 2.5.1p2.
These functions are copyrighted by Todd C. Miller:
Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
2) Presentation
Anope is a set of Services for IRC networks that allows users to manage
their nicks and channels in a secure and efficient way, and administrators
to manage their network with powerful tools.
Currently available services are:
* NickServ, a powerful nickname manager that users can use to protect
themselves against nick stealing. Each user has its own nickname
group, that allows the user to register as many nicks as needed
while still being able to take profit of his privileges and to
modify the nick configuration. NickServ also has an optional
password retrieval feature.
* ChanServ, a powerful channel manager that helps users to administer
their channels in a totally customizable way. ChanServ has an
internal list of privileged users and banned users that controls
accesses on a per-channel basis. It eliminates all takeover
problems, because of its powerful op/unban/invite and even mass
deop and mass kick functions.
* MemoServ, an helpful companion that allows sending short messages
to offline users, that they can then read when they come online
later.
* BotServ, an original service that allows users to get a permanent,
friendly bot on their channels in an easy way. Each bot can be
configured to monitor the channels against floods, repetitions,
caps writing, and swearing, and to take appropriate actions. It
also can handle user-friendly commands (like !op, !deop, !voice,
!devoice, !kick, and many others), say a short greet message when
an user joins a channel, and even "take over" ChanServ actions such
as auto-opping users, saying the entry notice, and so on. This
service can be disabled if you want to save some bandwidth.
* OperServ, the IRCops' and IRC admins' black box, that allows them
to manage the list of network bans (also known as AKILL (DALnet) or
GLINE (Undernet)), to configure messages displayed to users when
they log on, to set modes and to kick users from any channel, to
send notices quickly to the entire network, and much more!
* HostServ, a neat service that allows users to show custom vHosts
(virtual hosts) instead of their real IP address; this only works
on daemons supporting ip cloaking, such as UnrealIRCd, UltimateIRCd
and ViagraIRCd.
* HelpServ, a skeleton service used to serve help files.
Anope currently works with:
* Bahamut 1.4.27 or later (including 1.8)
* Charybdis 1.0 or later
* DreamForge 4.6.7
* Hybrid 8.1 or later
* InspIRCd 1.x, and 2.0
* Plexus 2.0 or later (including 3.0)
* PTlink 6.15 or later
* RageIRCd 2.0 beta-6 or later
* Ratbox 2.0.6 or later
* ShadowIRCd 4.0 beta 7 or later
* Solid IRCd 3.4.6 or later
* UltimateIRCd 2.8.2 or later (including 3.0)
* UnrealIRCd 3.1.1 or later (including 3.2)
* ViagraIRCd 1.3 or later
Anope could also work with some of the daemons derived by the ones listed
above, but there's no support for them if they work or don't work.
3) Installation
See the INSTALL file for instruction on installing Anope.
4) Command Line Options
Normally, Anope can be run simply by invoking the "services" executable.
Anope will then use the defaults specified in the services.conf file, and
connect to the specified uplink server. Alternatively, any of the
following command-line options can be specified to change the default
values:
-remote server[:port] Connect to the specified server
-local host -or- Connect from the specified address (e.g. for
[host]:[port] multihomed servers)
-name servername Our server name (e.g. services.some.net)
-desc string Description of us (e.g. SomeNet Services)
-user username Username for Services' nicks (e.g. services)
-host hostname Hostname for Services' nicks (e.g. esper.net)
-dir directory Directory containing Services' data files
(e.g. /usr/local/lib/services)
-log filename Services log filename (e.g. services.log)
-update secs How often to update databases (in seconds)
-expire secs How often to check for nick/channel
expiration (in seconds)
Additionally, the following command-line options can be used to modify
the behavior of Anope:
-debug Enable debugging mode; more info sent to log (give
option more times for more info)
-readonly Enable read-only mode; no changes to databases
allowed, .db files and log not written
-skeleton Enable skeleton mode; like read-only mode, but only
OperServ is available
-nofork Do not fork after startup; log messages will be
written to terminal (as well as to the log file
if not in read-only mode)
-forceload Try to load as much of the databases as possible,
even if errors are encountered
-noexpire Expiration routines won't be run at all
-logchan Startup with logchan enabled
-version Display the version of Anope
-nothird Do not load the modules specified in ModulesAutoload
or ModulesDelayedAutoload in the config file
-protocoldebug Debug each incoming message after protocol parsing
-support Used for support, same as -debug -nofork -nothird
Upon starting, Anope will parse its command-line parameters, open its
logfile, then (assuming the -nofork option is not given) detach itself
and run in the background. If Anope encounters a problem reading the
database files or cannot connect to its uplink server, it will terminate
immediately; otherwise, it will run until the connection is terminated
(or a QUIT, SHUTDOWN, or RESTART command is sent; see OperServ's help).
In the case of an error, an appropriate error message will be written to
the log file.
If Anope is run with the "-readonly" command-line option, it can serve as
a "backup" to the full version of services. A "full" version of services
(run without -readonly) will automatically reintroduce its pseudo-clients
(NickServ, ChanServ, etc.), while a "backup" services will not, thus
allowing full services to be brought up at any time without disrupting
the network (and without having to take backup services down beforehand).
If Anope is run with the "-skeleton" command-line option, it will not try
to load the nickname or channel databases, and will respond with "service
is inactive" messages to any commands sent to NickServ, ChanServ,
MemoServ or BotServ. This can be useful as an emergency stopgap measure
when the main copy of Anope cannot be started.
The "-debug" option is useful if you find or suspect a problem in Anope.
Giving it once on the command line will cause all traffic to and from
services as well as some other debugging information to be recorded in
the log file; if you send a bug report, PLEASE include an excerpt from
the log file WITH DEBUGGING ACTIVE; we cannot emphasize enough how
important this is to tracking down problems. (You can also enable
debugging while Services is running using OperServ's SET DEBUG command.)
If you repeat the -debug option more than once, the debugging level will
be increased, which provides more detailed information but may also slow
Anope down considerably and make the log file grow dramatically faster
(in particular, at debug level 4 a message is written to the log for
every character received from the server). In general, a debug level of 1
is sufficient for the coding team to be able to trace a problem, because
all network traffic is included and we can usually reproduce the problem.
The "-forceload" option is provided to attempt recovery of data from
corrupted or truncated databases. Normally, if Anope encounters an error
writing to a database file, it will attempt to restore the original
version of the file and report an error to the logfile and through
WALLOPS. However, if this should fail (which normally should not happen),
or if Anope is terminated abruptly e.g. by kill -9 or a power failure,
then one or more of the databases may be corrupt. Normally, this will
cause Anope to abort the next time you try to run it; however, if yo
give the -forceload option to Anope, it will instead read as much as it
can, then skip to the next database. For obvious reasons, it's highly
recommended to keep backup copies of your databases in case something
does happen (since Anope will stop at the first error in a database, even
with -forceload, meaning you lose any data after that).
5) Messages Translations
Anope has a powerful option in NickServ allowing users to choose what
language it must use when sending messages to users. Messages are stored
in language files (located in the lang directory).
Anope is currently provided with thirteen languages: Catalan, Dutch,
English, French, German, Greek, Hungarian, Italian, Polish, Portuguese,
Russian, Spanish and Turkish. If you want to translate Anope messages
into another language, follow this instructions:
* Copy the lang/en_us.l file to a meaningful name (for example, if
you would like to translate messages in Spanish, you would rename
it to es.l).
* Edit the file with your favorite text editor. Carefully read the
instructions given at the top of the file, and start translating
the whole file. The file is big, so make sure you have some coffee
available ;) Try to avoid the use of English words as much as
possible. If the new language contains only a few 'special'
characters, try and use latin representations of it, if possible.
Remember that most clients are only capable of handling the
ISO-8859-1 charset. Of course, if you are translating Anope to a
language with a totally different charset, such as Russian, feel
free to use the one that suites it best (and the one that is in use
by most speakers of that language ;)).
* When this is done, you have two solutions: either patch Services
source code so they take in account the new language file (section 6),
or send us the translated file so we can make the patch and include
your language in the next Anope release.
* Note that there is a language tool on bin/langtool.pl that can aid
the verification process on newly created language files. Try to
use it before you submit a language file.
When new major releases come out, you'll not have to retranslate the
whole file; the Changes.lang file will help you to know which messages
were added, modified or deleted.
If you did a language file translation, and want to let others use it,
please send it to team@anope.org (don't forget to mention clearly your
(nick)name, your e-mail and the language name). You'll of course get full
credit for it, and will even get future final major releases before
anyone else to complete the translation!... ;)
6) Adding Your Translation Into The Source
First, get the latest version of Anope. This can be done by doing
'git clone git://github.com/anope/anope anope-stable'
Second, Place your language file in lang/, and type 'git add file.l`. Where file is
your language file.
Next, edit lang/Makefile(.win32) and add your file into both the LANGOBJS variable and
the LANGSRCS variable (alphabetically please). Then, go down and add an entry for
it similar the others, eg:
en_us: en_us.l langcomp index
./langcomp $@.l
(which creates the english language file)
Now, edit include/services.h and search for "#define LANG_EN_US", and add your language to
the bottom of the list, eg:
#define LANG_BLAH 16 /* Blah language! */
(given the language above its number is 15).
Then change the NUM_LANGS to one more than it currently is (in this case, 17)
and add one to USED_LANGS.
Finially, edit src/language.c and add your language to the bottom of the array there, eg:
...
LANG_HUN, /* Hungarian */
LANG_PL, /* Polish */
LANG_BLAH, /* Blah language! */
};
then, go down and add it with the others using load_lang(), eg:
...
load_lang(LANG_HUN, "hun");
load_lang(LANG_PL, "pl");
load_lang(LANG_BLAH, "blah");
Now use 'git diff HEAD > language.diff` to get the changes you made, and if it looks good (test it)
email it to team@anope.org!
Please be aware we will only include a new language if there is sufficient demand for it.
Please do not be disappointed if we do not include your language within Anope.
Check Changes.lang in order for your language to continue to work on your copy of Anope upgrades.
7) Contact
For announcements and discussions about Anope, please visit our
Portal and Forums at http://www.anope.org/ -- make sure you register
yourself and your network to get full benefits.
If you read the documentation carefully, and didn't find the answer to
your question, feel free to post on the website forums or join our irc
channel (irc.anope.org #anope). Once you join our Support channel, just
type "? report" for instructions on how to report a Bug. Be as precise as
possible when asking a question, because we have no extraordinary powers
and can't guess things if they aren't provided. The more precise you are,
the sooner you'll be likely to get an answer.
If you think you found a bug, add it to the bug tracking system
(http://bugs.anope.org) and - again - be as precise as possible. Also say
whether the bug happens always or under what circumstances, and anything
that could be useful to track your bug down. If you wrote a patch, send
it over. :)
Anope -- a set of IRC services for IRC networks
-----------------------------------------------
Anope is 2003-2010 Anope Team <team@anope.org>.
Based on Epona 2000-2002 PegSoft <epona@pegsoft.net>.
Based on Services 1996-1999 Andrew Church <achurch@achurch.org>.
This program is free but copyrighted software; see the file COPYING for
details.
Information about Anope may be found at http://www.anope.org/
Information about Epona may be found at http://www.epona.org/
Information about Services may be found at http://www.ircservices.esper.net/
Table of Contents
-----------------
1) Credits
2) Presentation
3) Installation
4) Command Line Options
5) Messages Translation
6) Contact and Mailing List
1) Credits
Anope is based on Lara's Epona version 1.4.14.
Epona is based on Andy Church's IRC Services version 4.3.3.
The original credits:
* Mauritz Antunes
Portuguese translation
* Jose R. Holzmann, Raul S. Villarreal
Spanish translation
* Andrew Kempe <theshadow@shadowfire.org>
News system
* <d.duca@eurcom.net>
Italian translation
* <mikado@holyfire.com>
Turkish translation
* Andrew Kempe <theshadow@shadowfire.org>
Session limiting
Epona credits:
* lara <lara@pegsoft.net>
Main coding
* CafeiN <oytuny@yahoo.com>
Turkish translation
* Sylvain Cresto aka tost <scresto@netsante.fr>
FreeBSD 5 patch
* Marcelo Conde Foscarini aka Bras <ircadmin@brmarket.net>
Portuguese translation
* Alvaro Toledo aka POLLITO <atoledo@keldon.org>
Spanish translation
* chemical <chemical@musicplay.de>
German translation
* shine <dh@shinewelt.de>
German translation
* Guven Guzelbey aka MeShGuL <guzelbey@cs.utk.edu>
Turkish translation
* Jordi Pujol <jordi.pujol@aujac.org>
Catalan translation
* Eva Dachs <evadachs@terra.es>
Catalan translation
* Toni Perez <toni.perez@aujac.org>
Catalan translation
* Sergios Karalis <sergios_k@hotmail.com>
Greek translation
* Thomas J. Stensas aka ShadowMaster <shadowmaster@shadow-realm.org>
Ultimate 3.x support
Anope credits:
* Adam Kramer <ribosome@anope.org>
* Adam <adam@anope.org>
* Alvaro Toledo <atoledo@keldon.org>
* Amanda Folson <amanda@anope.org>
* Andrew Berquist <vash@anope.org>
* Björn Stiddien <keeper@anope.org>
* Charles Kingsley <chaz@anope.org>
* Chris Hogben <heinz@anope.org>
* Daniel Engel <dane@zero.org>
* David <dv@diboo.net>
* David Narayan <jester@phrixus.net>
* David Robson <rob@anope.org>
* Daniele Nicolucci <jollino@sogno.net>
* Florian Schulze <certus@anope.org>
* Gabriel Acevedo H. <drstein@anope.org>
* Jan Milants <viper@anope.org>
* Jens Voss <dukepyrolator@anope.org>
* JH <jh@irc-chat.net>
* Joris Vink <joris@anope.org>
* Lucas Nussbaum <lucas@lucas-nussbaum.net>
* Mark Summers <mark@goopler.net>
* Matthew Beeching <jobe@invictachat.net>
* Naram Qashat <cyberbotx@anope.org>
* Pieter Bootsma <geniusdex@anope.org>
* Robin Burchell <w00t@inspircd.org>
* Thomas Juberg Stensås <ShadowMaster@Shadow-Realm.org>
* Trystan .S Lee <trystan@nomadirc.net>
* openglx <openglx@brasnerd.com.br>
Anope Translations:
* GeniusDex <geniusdex@anope.org> (nl.l)
* Kein <kein-of@yandex.ru> (ru.l)
* Stuff <the.stuff@gmx.de> (de.l)
* Gabriel Acevedo H. <drstein@anope.org> (es.l)
* Janos Kapitany <sarkanyka@cjbchat.hu> (hun.l)
* Szymon S'wierkosz <szymek@adres.pl> (pl.l)
Anope uses the strlcat() and strlcpy() functions from OpenSSH 2.5.1p2.
These functions are copyrighted by Todd C. Miller:
Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
2) Presentation
Anope is a set of Services for IRC networks that allows users to manage
their nicks and channels in a secure and efficient way, and administrators
to manage their network with powerful tools.
Currently available services are:
* NickServ, a powerful nickname manager that users can use to protect
themselves against nick stealing. Each user has its own nickname
group, that allows the user to register as many nicks as needed
while still being able to take profit of his privileges and to
modify the nick configuration. NickServ also has an optional
password retrieval feature.
* ChanServ, a powerful channel manager that helps users to administer
their channels in a totally customizable way. ChanServ has an
internal list of privileged users and banned users that controls
accesses on a per-channel basis. It eliminates all takeover
problems, because of its powerful op/unban/invite and even mass
deop and mass kick functions.
* MemoServ, an helpful companion that allows sending short messages
to offline users, that they can then read when they come online
later.
* BotServ, an original service that allows users to get a permanent,
friendly bot on their channels in an easy way. Each bot can be
configured to monitor the channels against floods, repetitions,
caps writing, and swearing, and to take appropriate actions. It
also can handle user-friendly commands (like !op, !deop, !voice,
!devoice, !kick, and many others), say a short greet message when
an user joins a channel, and even "take over" ChanServ actions such
as auto-opping users, saying the entry notice, and so on. This
service can be disabled if you want to save some bandwidth.
* OperServ, the IRCops' and IRC admins' black box, that allows them
to manage the list of network bans (also known as AKILL (DALnet) or
GLINE (Undernet)), to configure messages displayed to users when
they log on, to set modes and to kick users from any channel, to
send notices quickly to the entire network, and much more!
* HostServ, a neat service that allows users to show custom vHosts
(virtual hosts) instead of their real IP address; this only works
on daemons supporting ip cloaking, such as UnrealIRCd, UltimateIRCd
and ViagraIRCd.
Anope currently works with:
* Bahamut 1.4.27 or later (including 1.8)
* InspIRCd 1.1, 1.2, or 2.0
* Ratbox 2.0.6 or later
* UnrealIRCd 3.2 or later
Anope could also work with some of the daemons derived by the ones listed
above, but there's no support for them if they work or don't work.
3) Installation
See the INSTALL file for instruction on installing Anope.
4) Command Line Options
Normally, Anope can be run simply by invoking the "services" executable.
Anope will then use the defaults specified in the services.conf file, and
connect to the specified uplink server. Alternatively, any of the
following command-line options can be specified to change the default
values:
-remote server[:port] Connect to the specified server
-local host -or- Connect from the specified address (e.g. for
[host]:[port] multihomed servers)
-name servername Our server name (e.g. services.some.net)
-desc string Description of us (e.g. SomeNet Services)
-user username Username for Services' nicks (e.g. services)
-host hostname Hostname for Services' nicks (e.g. esper.net)
-dir directory Directory containing Services' data files
(e.g. /usr/local/lib/services)
-log filename Services log filename (e.g. services.log)
-update secs How often to update databases (in seconds)
-expire secs How often to check for nick/channel
expiration (in seconds)
Additionally, the following command-line options can be used to modify
the behavior of Anope:
-debug Enable debugging mode; more info sent to log (give
option more times for more info)
-readonly Enable read-only mode; no changes to databases
allowed, .db files and log not written
-skeleton Enable skeleton mode; like read-only mode, but only
OperServ is available
-nofork Do not fork after startup; log messages will be
written to terminal (as well as to the log file
if not in read-only mode)
-forceload Try to load as much of the databases as possible,
even if errors are encountered
-noexpire Expiration routines won't be run at all
-logchan Startup with logchan enabled
-version Display the version of Anope
-nothird Do not load the modules specified in ModulesAutoload
or ModulesDelayedAutoload in the config file
-protocoldebug Debug each incoming message after protocol parsing
-support Used for support, same as -debug -nofork -nothird
Upon starting, Anope will parse its command-line parameters, open its
logfile, then (assuming the -nofork option is not given) detach itself
and run in the background. If Anope encounters a problem reading the
database files or cannot connect to its uplink server, it will terminate
immediately; otherwise, it will run until the connection is terminated
(or a QUIT, SHUTDOWN, or RESTART command is sent; see OperServ's help).
In the case of an error, an appropriate error message will be written to
the log file.
If Anope is run with the "-readonly" command-line option, it can serve as
a "backup" to the full version of services. A "full" version of services
(run without -readonly) will automatically reintroduce its pseudo-clients
(NickServ, ChanServ, etc.), while a "backup" services will not, thus
allowing full services to be brought up at any time without disrupting
the network (and without having to take backup services down beforehand).
If Anope is run with the "-skeleton" command-line option, it will not try
to load the nickname or channel databases, and will respond with "service
is inactive" messages to any commands sent to NickServ, ChanServ,
MemoServ or BotServ. This can be useful as an emergency stopgap measure
when the main copy of Anope cannot be started.
The "-debug" option is useful if you find or suspect a problem in Anope.
Giving it once on the command line will cause all traffic to and from
services as well as some other debugging information to be recorded in
the log file; if you send a bug report, PLEASE include an excerpt from
the log file WITH DEBUGGING ACTIVE; we cannot emphasize enough how
important this is to tracking down problems. (You can also enable
debugging while Services is running using OperServ's SET DEBUG command.)
If you repeat the -debug option more than once, the debugging level will
be increased, which provides more detailed information but may also slow
Anope down considerably and make the log file grow dramatically faster
(in particular, at debug level 4 a message is written to the log for
every character received from the server). In general, a debug level of 1
is sufficient for the coding team to be able to trace a problem, because
all network traffic is included and we can usually reproduce the problem.
The "-forceload" option is provided to attempt recovery of data from
corrupted or truncated databases. Normally, if Anope encounters an error
writing to a database file, it will attempt to restore the original
version of the file and report an error to the logfile and through
WALLOPS. However, if this should fail (which normally should not happen),
or if Anope is terminated abruptly e.g. by kill -9 or a power failure,
then one or more of the databases may be corrupt. Normally, this will
cause Anope to abort the next time you try to run it; however, if yo
give the -forceload option to Anope, it will instead read as much as it
can, then skip to the next database. For obvious reasons, it's highly
recommended to keep backup copies of your databases in case something
does happen (since Anope will stop at the first error in a database, even
with -forceload, meaning you lose any data after that).
5) Messages Translations
Anope has a powerful option in NickServ allowing users to choose what
language it must use when sending messages to users. Messages are stored
in language files (located in the lang directory).
Anope is currently provided with thirteen languages: Catalan, Dutch,
English, French, German, Greek, Hungarian, Italian, Polish, Portuguese,
Russian, Spanish and Turkish. If you want to translate Anope messages
into another language, follow this instructions:
* Copy the lang/en_us.l file to a meaningful name (for example, if
you would like to translate messages in Spanish, you would rename
it to es.l).
* Edit the file with your favorite text editor. Carefully read the
instructions given at the top of the file, and start translating
the whole file. The file is big, so make sure you have some coffee
available ;) Try to avoid the use of English words as much as
possible. If the new language contains only a few 'special'
characters, try and use latin representations of it, if possible.
Remember that most clients are only capable of handling the
ISO-8859-1 charset. Of course, if you are translating Anope to a
language with a totally different charset, such as Russian, feel
free to use the one that suites it best (and the one that is in use
by most speakers of that language ;)).
* When this is done, you have two solutions: either patch Services
source code so they take in account the new language file
(basically, you'll have to modify lang/Makefile, language.c and
maybe services.h), or send us the translated file so we can make
the patch and include your language in the next Anope release.
* Note that there is a language tool on bin/langtool.pl that can aid
the verification process on newly created language files. Try to
use it before you submit a language file.
When new major releases come out, you'll not have to retranslate the
whole file; the Changes.lang file will help you to know which messages
were added, modified or deleted.
If you did a language file translation, and want to let others use it,
please send it to team@anope.org (don't forget to mention clearly your
(nick)name, your e-mail and the language name). You'll of course get full
credit for it, and will even get future final major releases before
anyone else to complete the translation!... ;)
6) Contact
For announcements and discussions about Anope, please visit our
Portal and Forums at http://www.anope.org/ -- make sure you register
yourself and your network to get full benefits.
If you read the documentation carefully, and didn't find the answer to
your question, feel free to post on the website forums or join our irc
channel (irc.anope.org #anope). Once you join our Support channel, just
type "? report" for instructions on how to report a Bug. Be as precise as
possible when asking a question, because we have no extraordinary powers
and can't guess things if they aren't provided. The more precise you are,
the sooner you'll be likely to get an answer.
If you think you found a bug, add it to the bug tracking system
(http://bugs.anope.org) and - again - be as precise as possible. Also say
whether the bug happens always or under what circumstances, and anything
that could be useful to track your bug down. If you wrote a patch, send
it over. :)
+80
View File
@@ -0,0 +1,80 @@
Legend:
x = done
? = unsure
+ = in progress
1.9.2
-----
[x] Redo database insanity.
[x] Move database load/save to a module
[x] realtime SQL/whatever module using events (possibly ongoing)
[x] flatfile save on a periodic timer
[x] SANE password encryption - prefix password with the method it was encrypted with, allowing for *seamless* upgrading to different methods
[x] Salted SHA256 (contact Special for this)
[x] New database format (text, not binary - works very well for merging and so on)
[x] generic database routines modules can use to create their own database
[?] IRCd capability support: don't rely on CAPAB, provide an interface to turn capabilities on specifically
[x] Socket subsystem needs some serious loving
[x] Multiple sockets
[x] Asynchronous, using select() (multiple engines? not really needed..)
[x] Callbacks, event style, see also inspircd
[x] generic way to check which modes a user has set (u->HasUmode(UMODE_OPER))
[x] way for one module to depend on another... not like 2 MOD_HEADs and it being unpredictable which is loaded first..
the MOD_HEAD MOD_TAIL allows for too few combinations (interface code of insp, hooks code of insp?)
[x] Last used time on AKICK/access entries
[x] Channel passwords seem to be of limited use, think of a more appropriate way to handle this
[+] General options block, ability to turn LOGCHAN on from the config file..
[x] Docs directory cleanup
[x] Fix permanent channels support properly
[x] CS SET INHABIT to keep pseudoclient in a channel after it empties to maintain banlists and such
[x] Set forbidden channels +s
[x] SendAkill should just take a pointer to the Akill class instead of millions of fields (same for some other stuff)
[x] burn do_sjoin with fire
[x] Channel access additions
[x] Setter
[x] Last used
Future
------
[ ] Asynchronous DNS
[ ] CIDR Akills, session exceptions, etc
[ ] Hashing system for storing just about everything needs to die
[ ] Move a (lot) of stuff to class members as a defined interface rather than copypasta everywhere (ns_set, ns_saset!)
[?] Remote identification (1.9.1? will this break stuff?)
[ ] Language charset stuff, including collation (1.9.1? phoenix?)
[ ] Add support for +k, +q, etc type umodes
[ ] fantasy: allow replies/notifications to fantasy commands to go to the channel via notice
[?] a way for a module to queue itself (or even another module) for unloading
[ ] Language system is disgusting, it must die.
[ ] Modules should also have a way to add strings programatically
[ ] Should be able to add many strings by dropping a file in a set location.
[ ] I forsee this working via a function rather than defines, as it seems to do now: e.g. _("NS_NICK_IS_REGISTERED").
[?] Update help to reflect the fact /msg memoserv set notify mail - works just fine ;)
[ ] Useful/common "third party" modules to core distro
[ ] NS AJOIN
[+] Method to store listmodes (more generically than AKICK, too) for e.g. +beI and extbans, etc.
[ ] Channel access additions
[ ] Time added
[ ] Time modified
[ ] Expiry (useful?)
[ ] NS INFO: seperate field for last seen realhost, shown to SRA only
[ ] NS SUSPEND: show suspender and reason, probably to sopers only (see CS SUSPEND)
[ ] Merge NS INFO blah ALL with NS INFO blah, if you're requesting info, you really want the info anyway.
[?] Don't allow soper accounts to expire
[?] Reason for CS SET RESTRICTED
[ ] NS IDENTIFY changes
[?] Last failed identify? Maybe more useful for sopers only, so users don't get unnecessarily worried
[?] Last successful login time/ip? perhaps both of these should be a new nick setting
[x] AKILL/SGLINE/etc..
[x] Setter
[x] Time added
[+] Time modified (can they be modified?)
[ ] Time until expiry/expiry time (YES, time until expiry *instead of* expiry time, more human)
[x] Reason
[ ] Unique IDs on each AKILL/blah so that networks may use them as ticket IDs
[ ] HS ACTIVATE -ALL (rob sez this all needs reviewing)
[?] NS MARK, CS MARK. Allow multiple marks. Combine into OS MARK? (AKA os_info)
[?] MS IGNORE. Make it take nick (accounts) or n!u@h masks. Fake success of memo send still, but send to opers?
[?] More "friendly" date displays of some things like registration time ("November 7th 2006 (2 years, 0 months, 0 days ago)")
[?] OS INJECT
[?] Drop CS SET ENTRYMSG, replace with a 'news' type system? (limited to a configured number of items, default 3)
+309
View File
@@ -0,0 +1,309 @@
Troubleshooting Guide for Anope 1.9
------------------------------------------------
NOTE:
An updated version of this guide can be found on our wiki:
http://wiki.anope.org/index.php/Troubleshooting
Table of Contents
-----------------
1) General
1.1) Anope complains in the logfile about being unable to load the default
language.
1.2) Anope spricht kein Deutsch!, etc. (Anope doesn't speak my language!)
1.3) I selected a language other than English, but sometimes Anope sends
responses in English instead.
1.4) Anope always dies after about five minutes, saying "FATAL ERROR! Can't
back up nick.db".
1.5) Anope crashed with a segmentation fault.
1.6) I've found a bug that's not mentioned here or in the README or BUGS
files. What should I do?
1.7) My FreeBSD box complains about 'Shared object "nss_dns.so.1" not
found'
1.8) Anope and long (more then 30 character) nicknames.
2) Installation / Configuration
2.1) When I run "make", I get an error message like "missing separator",
"Unassociated shell command", "Unexpected end of line seen", etc.
2.2) I get an error like "Makefile.inc not found".
2.3) I typed "./services" at the command line, but nothing happened!
2.4) Whenever I start Anope, I get a message on my IRC server saying
"connection refused" or something similar, and Anope gives an error
message from the server saying "Closing Link: ...".
2.5) My IRC server is giving me messages like "Connection to
services.whatever.net[127.0.0.1] activated" and then "Access denied --
no N line". Why?
2.6) When I say "/connect services.*", it doesn't work!
2.7) Anope starts up okay, but if I try to register a nickname, it comes
back with "Sorry, registration failed."
2.8) Anope reports (via /stats u or /msg OperServ STATS) a different number
of users online than I get from doing /lusers.
3) BotServ
3.1) How do I add bots to BotServ?
3.2) Why do kick triggers and fantasy commands fail to work with my Bahamut
IRCd?
4) ChanServ
4.1) Anope's channel mode setting doesn't work. I can't set modes with
OperServ, and every time ChanServ tries to set a mode, my server
reverses the change.
4.2) Anope ignored the SET SUCCESSOR setting and deleted a channel when the
founder expired.
4.3) How to auto voice all those whom join my #channel?
4.4) Channel options like RESTRICTED or SECUREOPS don't work. What's wrong?
5) OperServ
5.1) Using the OperServ JUPE command results in server messages like
"Server juped.server introduced by non-hub server services.my.net".
5.2) When I add an AKILL, the users matching it don't get killed.
5.3) Trying to use OperServ gives me "Access denied".
5.4) I can't get /OS UMODES and /OS SVSNICK to work!
5.5) What is a Super-Admin? How does it work? Why might it not work?
-------------------------------------------------------------------------------
1) General
1.1) Anope complains in the logfile about being unable to load the default
language.
You forgot to run "make install".
1.2) Anope spricht kein Deutsch!, etc. (Anope doesn't speak my language!)
See section 5 of the README file.
1.3) I selected a language other than English, but sometimes Anope sends
responses in English instead.
Some language files are not complete--in other words, they only have a
translation of some of the message Anope uses. In this case, the
missing messages will be displayed in English. You can either wait for
the primary translator to provide us with a translation, or do the
translation yourself and send us the messages translated into your
language.
1.4) Anope always dies after about five minutes, saying "FATAL ERROR! Can't
back up nick.db".
Make sure that the user Anope runs as has write access to the data
directory, and that the data directory actually exists (the latter
shouldn't be a problem if you ran the Config script). This means Anope
needs write and execute permission on the data directory itself and execute
permission on every parent directory of the data directory.
1.5) Anope crashed with a segmentation fault.
See if you can reproduce this by doing a certain sequence of things. If
so, please report it to us (see part 6 of README file). If not, you're
probably out of luck; if you like, you can report it to us anyway, but
chances are it won't get fixed if we don't have instructions on reproducing
it. If you do have such a problem, you may find the crontab utility useful
for dealing with it.
Also, see the DumpCore directive in the configuration file. It allows Anope
to dump its core whenever it's segfaulting, usually calling it core and
placing it into Anope's main directory. Open up gdb by issuing the
following command at your shell:
* gdb services core
(of course replacing 'core' with the name of the core if different) and
type 'bt' at the gdb prompt. After that, send us the output you got and
keep the core file in a safe place, in case we need it to dig deeper into
the problem.
1.6) I've found a bug that's not mentioned here or in the README or BUGS files.
What should I do?
See section 6 of the README file.
1.7) My FreeBSD box complains about 'Shared object "nss_dns.so.1" not found'
We haven't figured out the exact cause yet, but as a quickfix you can
delete the /etc/nsswitch.conf file. Please keep in mind that removing a
configuration file can be dangerous, so only do this if you know what you
are doing.
1.8) Anope and long (more then 30 character) nicknames.
By default, Anope only supports nicknames up to 30 characters (NICKLEN=30).
If your IRCd allows for longer nicknames or has been modified to do so
Anope will start logging a lot of ("NICK from nonexistent nick") messages.
This is because once a user uses a nick that is too long for Anope to handle,
Anope loses track of the user for the remainder of the session.
It is POSSIBLE but not NOT RECOMMENDED to extend the maximum length of nicknames
Anope can track, however this will also break database compatibility. DBs saved
with Anope set to allow for example 40 chars cannot be read by a clean Anope
installation and vice versa. So changing the maximum nick length is only possible
when starting with fresh databases and even then the consequences of this are
UNTESTED.
In order to change the maximum internal nick length, change the NICKMAX setting
in include/config.h, recompile anope and start without databases.
2) Installation / Configuration
2.1) When I run "make", I get an error message like "missing separator",
"Unassociated shell command", "Unexpected end of line seen", etc.
Your make program isn't compatible with the Makefile for Anope. The
Makefile was designed to work with GNU make, and as such may not work on
other systems' "make" programs. If you get an error from "make", obtain
GNU make from ftp://prep.ai.mit.edu/pub/gnu/make/ (or wherever you prefer) and
use it instead of your system's default "make". Note that GNU make may
already be installed on your system; try using the command "gmake" instead
of "make".
The make programs bundled with SunOS/Solaris and FreeBSD have been reported
not to work; you will need to use GNU make on these systems.
2.2) I get an error like "Makefile.inc not found".
You forgot to run the Config script first. See the INSTALL file for
compilation instructions.
2.3) I typed "./services" at the command line, but nothing happened!
Anope puts itself in the background when it starts, so you get your shell
prompt right back. Meanwhile, Anope will continue setting up, then connect
to the IRC server specified in services.conf (or on the command line). If
it doesn't connect, you probably specified the wrong IRCd or RemoteServer in
the configuration file. Check to make sure that you are actually running one of
the supported IRCds, also. A list of supported IRCds can be found in the README
file.
You can also check the log file (services.log by default) for error
messages. Starting services with the -support command line option
will prevent it from running in the background will output the
messages written to the log file to the console as well. Please note that this
will also prevent 3rd party modules from loading and will put Anope into
debug mode.
2.4) Whenever I start Anope, I get a message on my IRC server saying
"connection refused" or something similar, and Anope gives an error
message from the server saying "Closing Link: ...".
See section 3 of the INSTALL file.
2.5) My IRC server is giving me messages like "Connection to
services.whatever.net[127.0.0.1] activated" and then "Access denied -- no
N line". Why?
This is typically caused by including a port number in the C:line for
services, which tells your server to try to autoconnect to it (depending on
the class (Y:line) settings). This is not what you want, because Anope
will connect to the server itself, but does not listen for servers to
connect to it. The solution is to remove the port number from the C:line.
2.6) When I say "/connect services.*", it doesn't work!
You cannot /connect services. When you start Anope, it will attempt to
connect to the server you specified in services.conf. Please see the answer
above for more information.
2.7) Anope starts up okay, but if I try to register a nickname, it comes back
with "Sorry, registration failed."
Make sure you've selected the correct IRC server type in the configure
script; see section 3 of the INSTALL file for details.
2.8) Anope reports (via /stats u or /msg OperServ STATS) a different number of
users online than I get from doing /lusers.
Anope doesn't count its own pseudo-clients (NickServ, ChanServ, etc.) in
its user count, while the IRC server does.
3) BotServ
3.1) How do I add bots to BotServ?
Read /msg BotServ HELP and /msg BotServ HELP BOT. Note that you need to be
opered up and identified as a Services Administrator in Anope before you
can use the BOT command.
3.2) Why do kick triggers and fantasy commands fail to work with my Bahamut
IRCd?
Bahamut allows you to setup a server as 'serviceshub'. This will filter
certain data that services usually don't need to process. This option also
filters channel messages, because DALnet's services have no use for them.
Anope parses the channel messages for kick triggers and fantasy commands.
To make sure these work the server type of the hub they're linked to should
be simply 'hub' and not 'serviceshub'.
4) ChanServ
4.1) Anope's channel mode setting doesn't work. I can't set modes with
OperServ, and every time ChanServ tries to set a mode, my server reverses
the change.
Make sure EVERY server on your network has a U: line for Services in
ircd.conf, for example:
U:services.whatever.net:*:*
4.2) Anope ignored the SET SUCCESSOR setting and deleted a channel when the
founder expired.
Normally, this is because the successor had too many channels registered.
In this case, you will see an entry in the log file like the following:
[date] Successor (SuccessorNick) of channel #somechannel owns too many
channels, deleting channel #somechannel
If you don't get a message like this or you can verify that the successor
wasn't running into the channel limit, please report it using the
bug-reporting procedure in section 6 of the README file.
4.3) How to auto voice all those whom join my #channel?
Execute the following commands (/cs is an alias for /msg ChanServ):
/cs set #channel secure off
/cs set #channel xop off
/cs levels #channel set AUTOVOICE -1
4.4) Channel options like RESTRICTED or SECUREOPS don't work. What's wrong?
Make sure that you didn't put any of your normal IRCd's as a ULined server
in Anope. Some access checks for clients from ULined servers are skipped to
avoid fights between the ULined servers. This is usually only useful when
you have a statistics server connected to your network.
5) OperServ
5.1) Using the OperServ JUPE command results in server messages like "Server
juped.server introduced by non-hub server services.my.net".
Services' uplink must have an H: line for Services in the ircd.conf file,
which looks something like:
H:*::services.whatever.net
5.2) When I add an AKILL, the users matching it don't get killed.
Use the AkillOnAdd configuration directive.
5.3) Trying to use OperServ gives me "Access denied".
Check that you're opered on your IRCd (ie, moded +o)
Check that you're identified to a nickname listed within an opertype allowed to do the command you're trying.
Check whether you can use /msg operserv staff
5.4) I can't get /OS UMODES and /OS SVSNICK to work!
You need to be a SuperAdmin to be able to use these commands.
5.5) What is a Super-Admin? How does it work? Why might it not work?
SuperAdmin's have extra privileges, including being founder on all
channels. It must be activated on a per user basis and is only available to
Services Roots. It is set using OperServ and is not persistent. It only
works if SuperAdmin is not commented in the services configuration file,
which is commented out by default. Read /msg OperServ HELP SET SUPERADMIN
for further help.
+223 -202
View File
@@ -1,202 +1,223 @@
Anope for Windows
-----------------
1) Building the Source
2) Installation
3) Compiling Modules
4) Other compile options
5) Credits
1) Building the Source
NOTE: If you have downloaded one of the pre-compiled installers, you do
NOT need to complete this step, and you can proceed to step 2.
If you want to build Anope from source on a Win32 system, you will need
to follow this instructions:
1) Download the required files:
* Current Anope source:
http://sourceforge.net/project/showfiles.php?group_id=94081
If you have Visual C++ 2008, 2010, or 2012 skip ahead to step 2, else you
need to download the following free components from Microsoft. Once
downloaded, install one of the following, for best results use MS VC 2010.
* Microsoft Visual C++ 2010 Express
http://www.microsoft.com/visualstudio/eng/products/visual-studio-2010-express
or
* Microsoft Visual C++ 2008 Express Edition:
http://www.microsoft.com/en-us/download/details.aspx?id=14597
* Microsoft Windows Platform SDK: (Requires WGA validation)
http://www.microsoft.com/en-us/download/details.aspx?id=3138
* MySQL for Windows (only needed if building with MySQL enabled):
http://dev.mysql.com/
(NOTE: Anope can be compiled against MySQL Version 3.23 and above)
2) Unpack the Anope tarball with your favorite uncompression program
(WinZip or WinRAR, etc).
3) Bring up the Visual C++ Command Prompt; This will launch a
DOS Command Prompt like window, which will set the environment
properties needed to make Anope.
Change directories to where you unpacked the source code in step 2, by typing:
cd <path to extracted source>
e.g.
cd c:\anope-stable
4) You now need to configure Anope to your requirements. At the prompt type:
Config.bat
NOTE: If you run an Anti-Virus program such as McAfee or Norton, you may
be unable to run this command due to the protection in place. Some Anti-
Virus programs may detect the Anope Configuration Tool as a worm, however
this is not the case. If you are prompted to allow or deny execution of
the script, you should choose allow. If the script fails to run, and no
notice is displayed, please check your Anti-Virus settings before seeking
assistance.
An interactive configuration program should guide you through the install
options, and then detect your Microsoft Visual C++ Library files. If it
fails to detect them, you should check you have everything installed.
If you cannot find whats causing the error, please visit our forums or
our IRC Support channel for assistance.
5) You are now ready to compile. At the prompt type:
nmake -f Makefile.win32
Once you are back at the command prompt again, if there have been no
errors, you are ready to go.
Should you encounter errors with the installation process, check the
messages displayed for advice on resolving them. If you are unable to
resolve the issues yourself, seek assistance on our forums or in our
IRC Support channel.
6) Anope will install the files where they belong. The only thing you need
to do is rename "data/example.conf" to be "data/services.conf".
You have now completed the building phase of Anope for Windows. You can
now move on to the next section, which is related to setting up Anope.
2) Installation
Since Anope for Windows does not use a visual interface, you must do the
configuration with a text editor before proceeding with running Anope
itself.
NOTE: You may need to open the configuration file with Wordpad, or a text
editor which supports UNIX line endings. Opening the configuration file in
Notepad will cause strange characters to appear, and you may not be able to
edit the file correctly.
Open services.conf, and read through it carefully and adjust the settings
you think you need to adjust. Pay special attention to these settings:
A) IRCDModule: This is the name of an IRCd Module that Anope will use
to communicate with your server. Anope supports 15 IRCds,
so ensure you set the right value here.
B) RemoteServer: This is the address to your ircd, along with the port
and password. You should consult your ircd
documentation on how to link ircds.
C) ServicesRoot: Remove the # and change the names to your nick so you
can take control of services once they are online.
D) UserKey1/2/3: Remove the # infront of the three UserKey settings, and
change the parameters to numbers; around 6-7 digits will
do.
If you are unsure of the settings, you can go to the dos command prompt
and run "anope.exe -nofork -debug" and watch the information as it
attempts to connect.
You can launch services in two ways. If you are sure that the entered
configuration information is correct, simply double clicking the Anope
executable will cause it to start; no window will pop up. If you'd rather
have a more textual output, you can start at the dos prompt and type in
"anope.exe". If services are successfully started up the dos prompt will
seem to hang; at this point you can safely close the dos window.
3) Compiling Modules
If you want to build other modules than the ones shipped by default, you
will need to modify the Makefile.inc.win32 file, in the src\modules folder.
A) Add modules; find the line stating "SRCS=" and add the name of the
file to the end of the line. So if you have two files:
SRCS=file.c file2.c
If you are compiling a folder of module components, such as the example
"catserv", you will need to add/change the "SUBS=" line. If you were
compiling the "catserv" example, the line would look like this:
SUBS=catserv
B) When you've done this, use the same command prompt you set up in part
1, change directories to the src\modules folder, and type:
nmake -f Makefile.win32
followed afterwards, by:
nmake -f Makefile.win32 install
C) You should now be able to load your modules on IRC via OperServ, or via
the services.conf file.
4) Other compile options
A) If you have trouble recompiling Anope, you should try:
nmake -f Makefile.win32 distclean
This will clean up the source directory and allow for chages to be applied
to previously compiled files.
B) A list of valid options are:
install
distclean
clean
spotless
all
core
protocols
mypasql
languages
modules
The syntax for these options is:
nmake -f Makefile.win32 [option]
5) Credits
Anope is based on Epona and IRCServices. See CREDITS for more credits and
a complete list of all developers.
Anope's Windows-specific code is provided by:
* Dominick Meglio <codemastr@unrealircd.com>
* Trystan Scott Lee <trystan@nomadirc.net>
* Chris Hogben <heinz@anope.org>
Anope's Windows Installer was made using:
* NSIS 2.20 <http://nsis.sourceforge.net>
Anope for Windows
-----------------
1) Building the Source
2) Installation
3) Compiling Modules
4) Other compile options
5) Credits
1) Building the Source
NOTE: If you have downloaded one of the pre-compiled installers, you do
NOT need to complete this step, and you can proceed to step 2.
If you want to build Anope from source on a Win32 system, you will need
to follow this instructions:
1) Download the required files:
* Current Anope source:
http://sourceforge.net/project/showfiles.php?group_id=94081
* CMake:
http://www.cmake.org/cmake/resources/software.html
(NOTE: When installing, tell CMake to add itself to the PATH.)
If you have Visual C++ 6, 7 (.NET 2002/2003), 8 (2005), or 9 (2008) skip ahead to step 2, else you
need to download the following free components from Microsoft. Once
downloaded, install these packages.
* Microsoft Visual C++ 2008 Express Edition:
http://www.microsoft.com/express/vc/
or
* Microsoft Visual C++ 2005 Express Edition:
http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E&displaylang=en
then download and install:
* Microsoft Windows 2008 SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
or (if you prefer a smaller download)
* Microsoft Windows 2003 Platform SDK: (Requires WGA validation)
http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
(NOTE: Although they say for Windows Server 2003 or 2008, they do infact work on all supported
versions of Windows. When installing the 2003 SDK, you should select the Custom option, and only select
to have the Microsoft Windows Core SDK installed. When installing the 2008 SDK, you should select the
Custom option, and only select to have the Developer Tools installed, but also expand that and deselect
the Visual C++ Compilers as well as the Mobile Tools. Doing this will decrease the install time as well
as the space used by the SDK.)
If you chose to download the 2003 SDK, it will not work out-of-the-box on either Visual C++ 2005 Express or
Visual C++ 2008 Express. The 2008 SDK will work out-of-the-box with Visual C++ 2008 Express but not with
Visual C++ 2005 Express.
2) Unpack the Anope tarball with your favorite uncompression program
(WinZip or WinRAR, etc).
3) (Note before this step: If you fall under one of the situations at the end of Step 1 where it says that the
SDK will not work out of the box, do not bring up the Visual C++ Command Prompt by using the link in
the Windows Start Menu. Instead, edit vsvars32.bat in the directory where you unpacked the source code
in step 2, so the first line that says "@SET VSINSTALLDIR=<whatever>" has the directory where you installed
Visual C++ Express to, if different from the default. Save the file and then run it instead.)
Bring up the Visual C++ Command Prompt; This will launch a
DOS Command Prompt like window, which will set the environment
properties needed to make Anope.
Create a new directory, which will be used to hold the build files. You can make it
be a directory under the source directory unpacked in step 2, or somewhere else entirely.
Change directories to this new folder, by typing:
cd <path to build directory>
e.g.
cd c:\anope-build
4) You now need to configure Anope to your requirements. At the prompt type:
<path to source directory>\Config.bat
NOTE: If you run an Anti-Virus program such as McAfee or Norton, you may
be unable to run this command due to the protection in place. Some Anti-
Virus programs may detect the Anope Configuration Tool as a worm, however
this is not the case. If you are prompted to allow or deny execution of
the script, you should choose allow. If the script fails to run, and no
notice is displayed, please check your Anti-Virus settings before seeking
assistance.
An interactive configuration program should guide you through the install
options. You will be given a choice to use NMake or not. NMake will compile
inside the command prompt window you are in. If you want to build within
the Visual C++ IDE, say no to that option, and it'll create a Solution for
you to open up.
If you cannot find whats causing the error, please visit our forums or
our IRC Support channel for assistance.
5) You are now ready to compile. If you said you wanted to use NMake in step 4,
at the prompt type:
nmake
Once you are back at the command prompt again, if there have been no
errors, you are ready to go.
If instead you decided to use the Visual C++ IDE, open up the Anope.sln
file. After the IDE has fully loaded, hit F7 to build everything.
Should you encounter errors with the installation process, check the
messages displayed for advice on resolving them. If you are unable to
resolve the issues yourself, seek assistance on our forums or in our
IRC Support channel.
6) Finally you will need to install Anope. If you said you wanted to use NMake
in step 4, at the prompt type:
nmake install
Otherwise, if you decided to use the Visual C++ IDE, find the project called
INSTALL within the Solution Explorer. Right-click on INSTALL and choose Build.
When you have done this, all the files will be installed to where they belong.
The only thing you need to do is rename "data/example.conf" to be "data/services.conf",
and then follow the steps to set up Anope.
You have now completed the building phase of Anope for Windows. You can
now move on to the next section, which is related to setting up Anope.
2) Installation
Since Anope for Windows does not use a visual interface, you must do the
configuration with a text editor before proceeding with running Anope
itself.
NOTE: You may need to open the configuration file with Wordpad, or a text
editor which supports UNIX line endings. Opening the configuration file in
Notepad will cause strange characters to appear, and you may not be able to
edit the file correctly.
Open services.conf, and read through it carefully and adjust the settings
you think you need to adjust. Pay special attention to these settings:
A) IRCDModule: This is the name of an IRCd Module that Anope will use
to communicate with your server. Anope supports 15 IRCds,
so ensure you set the right value here.
B) RemoteServer: This is the address to your ircd, along with the port
and password. You should consult your ircd
documentation on how to link ircds.
C) ServicesRoot: Remove the # and change the names to your nick so you
can take control of services once they are online.
D) UserKey1/2/3: Remove the # infront of the three UserKey settings, and
change the parameters to numbers; around 6-7 digits will
do.
If you are unsure of the settings, you can go to the dos command prompt
and run "anope.exe -nofork -debug" and watch the information as it
attempts to connect.
You can launch services in two ways. If you are sure that the entered
configuration information is correct, simply double clicking the Anope
executable will cause it to start; no window will pop up. If you'd rather
have a more textual output, you can start at the dos prompt and type in
"anope.exe". If services are successfully started up the dos prompt will
seem to hang; at this point you can safely close the dos window.
3) Compiling Modules
If you want to build other modules than the ones shipped by default, you
will need to modify the Makefile.inc.win32 file, in the src\modules folder.
A) Add modules; find the line stating "SRCS=" and add the name of the
file to the end of the line. So if you have two files:
SRCS=file.c file2.c
If you are compiling a folder of module components, such as the example
"catserv", you will need to add/change the "SUBS=" line. If you were
compiling the "catserv" example, the line would look like this:
SUBS=catserv
B) When you've done this, use the same command prompt you set up in part
1, change directories to the src\modules folder, and type:
nmake -f Makefile.win32
followed afterwards, by:
nmake -f Makefile.win32 install
C) You should now be able to load your modules on IRC via OperServ, or via
the services.conf file.
4) Other compile options
A) If you have trouble recompiling Anope, you should delete all files and folders
within the build folder you created in step 3 of section 1. Afterwards, follow
the directions from step 4 of section 1 down.
5) Credits
Anope is based on Epona and IRCServices. See CREDITS for more credits and
a complete list of all developers.
Anope's Windows-specific code is provided by:
* Dominick Meglio <codemastr@unrealircd.com>
* Trystan Scott Lee <trystan@nomadirc.net>
* Chris Hogben <heinz@anope.org>
Anope's Windows Installer was made using:
* NSIS 2.20 <http://nsis.sourceforge.net>
View File
+30
View File
@@ -0,0 +1,30 @@
# If we are building for Visual Studio OR if the system we are on doesn't have sh (which would be odd on a *nix system...), we'll build a C++ program to create version.h
if(MSVC OR NOT SH)
# Set version.sh.c to use C++ as well as set it's compile flags
set_source_files_properties(version.sh.c PROPERTIES LANGUAGE CXX COMPILE_FLAGS "${CXXFLAGS}")
# Generate version_sh executable to create version.h from the contents of version.sh, setting it's linker flags as well
add_executable(version_sh version.sh.c)
set_target_properties(version_sh PROPERTIES LINKER_LANGUAGE CXX LINK_FLAGS "${LDFLAGS}")
# Generate version.h from the above executable and the version.log file from the main source directory, with dependencies to the given headers and all source files in the main Anope build
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version.h
COMMAND version_sh ${Anope_SOURCE_DIR}/version.log ${CMAKE_CURRENT_SOURCE_DIR}/version.sh ${CMAKE_CURRENT_BINARY_DIR}/version.h
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/version.sh DEPENDS version_sh ${CMAKE_CURRENT_SOURCE_DIR}/services.h ${CMAKE_CURRENT_SOURCE_DIR}/pseudo.h ${CMAKE_CURRENT_SOURCE_DIR}/messages.h ${SRC_SRCS}
)
# Add version_sh to list of files for CPack to ignore
get_target_property(version_sh_BINARY version_sh LOCATION)
get_filename_component(version_sh_BINARY ${version_sh_BINARY} NAME)
add_to_cpack_ignored_files("${version_sh_BINARY}$" TRUE)
# For any non-Visual Studio platforms that do have sh, we will run version.h through the version.h shell script
else(MSVC OR NOT SH)
# Generate version.h from version.sh and the version.log file from the main source directory, with dependencies to the given headers and all source files in the main Anope build
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version.h
COMMAND ${SH} ${CMAKE_CURRENT_SOURCE_DIR}/version.sh ${Anope_SOURCE_DIR}/version.log ${CMAKE_CURRENT_BINARY_DIR}/version.h
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/version.sh DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/services.h ${CMAKE_CURRENT_SOURCE_DIR}/pseudo.h ${CMAKE_CURRENT_SOURCE_DIR}/messages.h ${SRC_SRCS}
)
endif(MSVC OR NOT SH)
# Add version.h to the list of files for CPack to ignore
add_to_cpack_ignored_files("version.h$" TRUE)
# Add a custom target to the above file
add_custom_target(headers DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/version.h)
+3 -3
View File
@@ -2,7 +2,7 @@
all: services.h extern.h pseudo.h version.h
version.h: Makefile version.sh services.h pseudo.h messages.h $(SRCS)
sh version.sh
sh version.sh ../version.log $@
services.h: sysconf.h config.h extern.h
touch $@
@@ -10,10 +10,10 @@ services.h: sysconf.h config.h extern.h
extern.h: slist.h
touch $@
pseudo.h: commands.h timeout.h encrypt.h datafiles.h slist.h
pseudo.h: commands.h timers.h slist.h
touch $@
clean:
clean:
(rm -f language.h)
distclean: clean
+218
View File
@@ -0,0 +1,218 @@
/* NickServ nickname structures. */
/** Flags set on NickAliases
*/
enum NickNameFlag
{
NS_BEGIN,
/* Nick may not be registered or used */
NS_FORBIDDEN,
/* Nick never expires */
NS_NO_EXPIRE,
/* This nick is being held after a kill by an enforcer client
* or is being SVSHeld. Used by ns_release to determin if something
* should be allowed to be released
*/
NS_HELD,
/* We are taking over this nick, either by SVSNICK or KILL.
* We are waiting for the confirmation of either of these actions to
* proceed. This is checked in NickAlias::OnCancel
*/
NS_COLLIDED,
NS_END
};
/** Flags set on NickCores
*/
enum NickCoreFlag
{
NI_BEGIN,
/* Kill others who take this nick */
NI_KILLPROTECT,
/* Dont recognize unless IDENTIFIED */
NI_SECURE,
/* Use PRIVMSG instead of NOTICE */
NI_MSG,
/* Don't allow user to change memo limit */
NI_MEMO_HARDMAX,
/* Notify of memos at signon and un-away */
NI_MEMO_SIGNON,
/* Notify of new memos when sent */
NI_MEMO_RECEIVE,
/* Don't show in LIST to non-servadmins */
NI_PRIVATE,
/* Don't show email in INFO */
NI_HIDE_EMAIL,
/* Don't show last seen address in INFO */
NI_HIDE_MASK,
/* Don't show last quit message in INFO */
NI_HIDE_QUIT,
/* Kill in 20 seconds instead of in 60 */
NI_KILL_QUICK,
/* Kill immediatly */
NI_KILL_IMMED,
/* User gets email on memo */
NI_MEMO_MAIL,
/* Don't show services access status */
NI_HIDE_STATUS,
/* Nickname is suspended */
NI_SUSPENDED,
/* Autoop nickname in channels */
NI_AUTOOP,
/* This nickcore is forbidden, which means the nickalias for it is aswell */
NI_FORBIDDEN,
NI_END
};
/** XXX: this really needs to die with fire and be merged with metadata into NickCore or something.
*/
class CoreExport NickRequest
{
public:
NickRequest(const std::string &nickname);
~NickRequest();
NickRequest *next, *prev;
char *nick;
std::string passcode;
std::string password;
char *email;
time_t requested;
time_t lastmail; /* Unsaved */
};
class NickCore;
class CoreExport NickAlias : public Extensible, public Flags<NickNameFlag>
{
public:
/** Default constructor
* @param nickname The nick
* @param nickcore The nickcofe for this nick
*/
NickAlias(const std::string &nickname, NickCore *nickcore);
/** Default destructor
*/
~NickAlias();
NickAlias *next, *prev;
char *nick; /* Nickname */
char *last_quit; /* Last quit message */
char *last_realname; /* Last realname */
char *last_usermask; /* Last usermask */
time_t time_registered; /* When the nick was registered */
time_t last_seen; /* When it was seen online for the last time */
NickCore *nc; /* I'm an alias of this */
HostInfo hostinfo;
/** Release a nick
* See the comment in users.cpp
*/
void Release();
/** This function is called when a user on this nick either disconnects or changes nick.
* Note that the user isnt necessarially identified to this nick
* See the comment in users.cpp
* @param u The user
*/
void OnCancel(User *u);
};
class CoreExport NickCore : public Extensible, public Flags<NickCoreFlag>
{
public:
/** Default constructor
* @param display The display nick
*/
NickCore(const std::string &nickdisplay);
/** Default destructor
*/
~NickCore();
NickCore *next, *prev;
std::list<User *> Users;
char *display; /* How the nick is displayed */
std::string pass; /* Password of the nicks */
char *email; /* E-mail associated to the nick */
char *greet; /* Greet associated to the nick */
uint32 icq; /* ICQ # associated to the nick */
char *url; /* URL associated to the nick */
uint16 language; /* Language selected by nickname owner (LANG_*) */
std::vector<std::string> access; /* Access list, vector of strings */
MemoInfo memos;
uint16 channelcount; /* Number of channels currently registered */
OperType *ot;
/* Unsaved data */
time_t lastmail; /* Last time this nick record got a mail */
SList aliases; /* List of aliases */
/** Check whether this opertype has access to run the given command string.
* @param cmdstr The string to check, e.g. botserv/set/private.
* @return True if this opertype may run the specified command, false otherwise.
*/
virtual bool HasCommand(const std::string &cmdstr) const;
/** Checks whether this account is a services oper or not.
* @return True if this account is a services oper, false otherwise.
*/
virtual bool IsServicesOper() const;
/** Check whether this opertype has access to the given special permission.
* @param privstr The priv to check for, e.g. users/auspex.
* @return True if this opertype has the specified priv, false otherwise.
*/
virtual bool HasPriv(const std::string &privstr) const;
/** Add an entry to the nick's access list
*
* @param entry The nick!ident@host entry to add to the access list
*
* Adds a new entry into the access list.
*/
void AddAccess(const std::string &entry);
/** Get an entry from the nick's access list by index
*
* @param entry Index in the access list vector to retrieve
* @return The access list entry of the given index if within bounds, an empty string if the vector is empty or the index is out of bounds
*
* Retrieves an entry from the access list corresponding to the given index.
*/
std::string GetAccess(unsigned entry);
/** Find an entry in the nick's access list
*
* @param entry The nick!ident@host entry to search for
* @return True if the entry is found in the access list, false otherwise
*
* Search for an entry within the access list.
*/
bool FindAccess(const std::string &entry);
/** Erase an entry from the nick's access list
*
* @param entry The nick!ident@host entry to remove
*
* Removes the specified access list entry from the access list.
*/
void EraseAccess(const std::string &entry);
/** Clears the entire nick's access list
*
* Deletes all the memory allocated in the access list vector and then clears the vector.
*/
void ClearAccess();
};
+87
View File
@@ -0,0 +1,87 @@
/*
* Copyright (C) 2008-2010 Robin Burchell <w00t@inspircd.org>
* Copyright (C) 2008-2010 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*
*
* $Id$
*
*/
/** Flags settable on a bot
*/
enum BotFlag
{
BI_BEGIN,
/* This bot can only be assigned by IRCops */
BI_PRIVATE,
/* The following flags are used to determin what bot really is what.
* Since you *could* have ChanServ really named BotServ or something stupid,
* this keeps track of them and allows them to be renamed in the config
* at any time, even if they already exist in the database
*/
BI_CHANSERV,
BI_BOTSERV,
BI_HOSTSERV,
BI_OPERSERV,
BI_MEMOSERV,
BI_NICKSERV,
BI_GLOBAL,
BI_END
};
struct CommandHash;
class CoreExport BotInfo : public Extensible, public Flags<BotFlag>
{
public:
BotInfo *next, *prev;
std::string uid; /* required for UID supporting servers, as opposed to the shitty struct Uid. */
std::string nick; /* Nickname of the bot */
std::string user; /* Its user name */
std::string host; /* Its hostname */
std::string real; /* Its real name */
time_t created; /* Birth date ;) */
int16 chancount; /* Number of channels that use the bot. */
/* Dynamic data */
time_t lastmsg; /* Last time we said something */
CommandHash **cmdTable;
/** Create a new bot.
* @param nick The nickname to assign to the bot.
* @param user The ident to give the bot.
* @param host The hostname to give the bot.
* @param real The realname to give the bot.
*/
BotInfo(const std::string &nick, const std::string &user = "", const std::string &host = "", const std::string &real = "");
/** Destroy a bot, clearing up appropriately.
*/
virtual ~BotInfo();
/** Change the nickname set on a bot.
* @param newnick The nick to change to
*/
void ChangeNick(const char *newnick);
/** Rejoins all channels that this bot is assigned to.
* Used on /kill, rename, etc.
*/
void RejoinAll();
/** Assign this bot to a given channel, removing the existing assigned bot if one exists.
* @param u The user assigning the bot, or NULL
* @param ci The channel registration to assign the bot to.
*/
void Assign(User *u, ChannelInfo *ci);
/** Remove this bot from a given channel.
* @param u The user requesting the unassign, or NULL.
* @param ci The channel registration to remove the bot from.
*/
void UnAssign(User *u, ChannelInfo *ci);
};
+264
View File
@@ -0,0 +1,264 @@
/* Channel support
*
* (C) 2008-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* $Id$
*
*/
struct UserData
{
UserData()
{
lastline = NULL;
last_use = last_start = time(NULL);
lines = times = 0;
}
virtual ~UserData() { delete [] lastline; }
/* Data validity */
time_t last_use;
/* for flood kicker */
int16 lines;
time_t last_start;
/* for repeat kicker */
char *lastline;
int16 times;
};
struct UserContainer
{
User *user;
UserData ud;
Flags<ChannelModeName> *Status;
UserContainer(User *u) : user(u) { }
virtual ~UserContainer() { }
};
typedef std::list<UserContainer *> CUserList;
enum ChannelFlags
{
/* Channel still exists when emptied */
CH_PERSIST,
/* If set the channel is syncing users (channel was just created) and it should not be deleted */
CH_SYNCING
};
class CoreExport Channel : public Extensible, public Flags<ChannelFlags>
{
private:
/** A map of channel modes with their parameters set on this channel
*/
std::map<ChannelModeName, std::string> Params;
/* Modes set on the channel */
std::bitset<128> modes;
public:
/** Default constructor
* @param name The channel name
* @param ts The time the channel was created
*/
Channel(const std::string &name, time_t ts = time(NULL));
/** Default destructor
*/
~Channel();
Channel *next, *prev;
std::string name; /* Channel name */
ChannelInfo *ci; /* Corresponding ChannelInfo */
time_t creation_time; /* When channel was created */
char *topic;
std::string topic_setter;
time_t topic_time; /* When topic was set */
EList *bans;
EList *excepts;
EList *invites;
/* List of users in the channel */
CUserList users;
BanData *bd;
time_t server_modetime; /* Time of last server MODE */
time_t chanserv_modetime; /* Time of last check_modes() */
int16 server_modecount; /* Number of server MODEs this second */
int16 chanserv_modecount; /* Number of check_mode()'s this sec */
int16 bouncy_modes; /* Did we fail to set modes here? */
int16 topic_sync; /* Is the topic in sync? */
/** Restore the channel topic, set mlock (key), set stickied bans, etc
*/
void Sync();
/** Join a user internally to the channel
* @param u The user
*/
void JoinUser(User *u);
/** Remove a user internally from the channel
* @param u The user
*/
void DeleteUser(User *u);
/** Check if the user is on the channel
* @param u The user
* @return A user container if found, else NULL
*/
UserContainer *FindUser(User *u);
/** Check if a user has a status on a channel
* @param u The user
* @param cms The status mode, or NULL to represent no status
* @return true or false
*/
bool HasUserStatus(User *u, ChannelModeStatus *cms);
/** Check if a user has a status on a channel
* Use the overloaded function for ChannelModeStatus* to check for no status
* @param u The user
* @param Name The Mode name, eg CMODE_OP, CMODE_VOICE
* @return true or false
*/
bool HasUserStatus(User *u, ChannelModeName Name);
/** See if the channel has any modes at all
* @return true or false
*/
inline const bool HasModes() const { return modes.count(); }
/** See if a channel has a mode
* @param Name The mode name
* @return true or false
*/
bool HasMode(ChannelModeName Name);
/** Set a mode internally on a channel, this is not sent out to the IRCd
* @param cm The mode
* @param param The param
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void SetModeInternal(ChannelMode *cm, const std::string &param = "", bool EnforceMLock = true);
/** Remove a mode internally on a channel, this is not sent out to the IRCd
* @param cm The mode
* @param param The param
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void RemoveModeInternal(ChannelMode *cm, const std::string &param = "", bool EnforceMLock = true);
/** Set a mode on a channel
* @param bi The client setting the modes
* @param cm The mode
* @param param Optional param arg for the mode
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void SetMode(BotInfo *bi, ChannelMode *cm, const std::string &param = "", bool EnforceMLock = true);
/**
* Set a mode on a channel
* @param bi The client setting the modes
* @param Name The mode name
* @param param Optional param arg for the mode
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void SetMode(BotInfo *bi, ChannelModeName Name, const std::string &param = "", bool EnforceMLock = true);
/**
* Set a mode on a channel
* @param bi The client setting the modes
* @param Mode The mode
* @param param Optional param arg for the mode
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void SetMode(BotInfo *bi, char Mode, const std::string &param = "", bool EnforceMLock = true);
/** Remove a mode from a channel
* @param bi The client setting the modes
* @param cm The mode
* @param param Optional param arg for the mode
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void RemoveMode(BotInfo *bi, ChannelMode *cm, const std::string &param = "", bool EnforceMLock = true);
/**
* Remove a mode from a channel
* @param bi The client setting the modes
* @param Name The mode name
* @param param Optional param arg for the mode
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void RemoveMode(BotInfo *bi, ChannelModeName Name, const std::string &param = "", bool EnforceMLock = true);
/**
* Remove a mode from a channel
* @param bi The client setting the modes
* @param Mode The mode
* @param param Optional param arg for the mode
* @param EnforceMLock true if mlocks should be enforced, false to override mlock
*/
void RemoveMode(BotInfo *bi, char Mode, const std::string &param = "", bool EnforceMLock = true);
/** Clear all the modes from the channel
* @param bi The client unsetting the modes
*/
void ClearModes(BotInfo *bi = NULL);
/** Clear all the bans from the channel
* @param bi The client unsetting the modes
*/
void ClearBans(BotInfo *bi = NULL);
/** Clear all the excepts from the channel
* @param bi The client unsetting the modes
*/
void ClearExcepts(BotInfo *bi = NULL);
/** Clear all the invites from the channel
* @param bi The client unsetting the modes
*/
void ClearInvites(BotInfo *bi = NULL);
/** Get a param from the channel
* @param Name The mode
* @param Target a string to put the param into
* @return true on success
*/
const bool GetParam(ChannelModeName Name, std::string &Target);
/** Check if a mode is set and has a param
* @param Name The mode
*/
const bool HasParam(ChannelModeName Name);
/** Set a string of modes on the channel
* @param bi The client setting the modes
* @param EnforceMLock Should mlock be enforced on this mode change
* @param cmodes The modes to set
*/
void SetModes(BotInfo *bi, bool EnforceMLock, const char *cmodes, ...);
/** Kick a user from a channel internally
* @param source The sender of the kick
* @param nick The nick being kicked
* @param reason The reason for the kick
*/
void KickInternal(const std::string &source, const std::string &nick, const std::string &reason);
/** Kick a user from the channel
* @param bi The sender, can be NULL for the service bot for this channel
* @param u The user being kicked
* @param reason The reason for the kick
* @return true if the kick was scucessful, false if a module blocked the kick
*/
bool Kick(BotInfo *bi, User *u, const char *reason = NULL, ...);
};
+8 -13
View File
@@ -1,13 +1,14 @@
/* Declarations for command data.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
@@ -20,14 +21,8 @@
*/
extern MDE Command *lookup_cmd(Command *list, char *name);
extern void run_cmd(char *service, User *u, Command *list,
char *name);
extern void help_cmd(char *service, User *u, Command *list,
char *name);
extern void do_run_cmd(char *service, User * u, Command *c,const char *cmd);
extern MDE void do_help_limited(char *service, User * u, Command * c);
extern void do_help_cmd(char *service, User * u, Command *c,const char *cmd);
extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
extern MDE void mod_run_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[], const char *cmd);
extern MDE void mod_run_cmd(const std::string &service, User *u, CommandHash *cmdTable[], const char *cmd);
//extern MDE void do_help_limited(char *service, User * u, Command * c);
/*************************************************************************/
+5 -40
View File
@@ -1,13 +1,14 @@
/* Services configuration.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
@@ -21,24 +22,9 @@
/******* General configuration *******/
/* Name of configuration file (in Services directory) */
#define SERVICES_CONF "services.conf"
/* Name of log file (in Services directory) */
#define LOG_FILENAME "services.log"
/* Maximum amount of data from/to the network to buffer (bytes). */
#define NET_BUFSIZE 65536
/******* OperServ configuration *******/
/* Define this to enable OperServ's svs commands (superadmin only). */
#define USE_OSSVS
/* Define this to enable OperServ's debugging commands (Services root
* only). These commands are undocumented; "use the source, Luke!" */
/* #define DEBUG_COMMANDS */
/******************* END OF USER-CONFIGURABLE SECTION ********************/
/* Size of input buffer (note: this is different from BUFSIZ)
@@ -46,29 +32,8 @@
* things will happen. */
#define BUFSIZE 1024
/* Extra warning: If you change CHANMAX, your ChanServ database will be
* unusable.
*/
/* Maximum length of a channel name, including the trailing null. Any
* channels with a length longer than (CHANMAX-1) including the leading #
* will not be usable with ChanServ. */
#define CHANMAX 64
/* Maximum length of a nickname, including the trailing null. This MUST be
* at least one greater than the maximum allowable nickname length on your
* network, or people will run into problems using Services! The default
* (32) works with all servers I know of. */
#define NICKMAX 32
/* Maximum length of a password */
#define PASSMAX 32
/* Maximum length of a username */
#define USERMAX 10
/* Maximum length of a domain */
#define HOSTMAX 64
/* Maximum amount of data from/to the network to buffer (bytes). */
#define NET_BUFSIZE 65536
/**************************************************************************/
+903
View File
@@ -0,0 +1,903 @@
#ifndef _CONFIGREADER_H_
#define _CONFIGREADER_H_
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include <map>
#include <deque>
/** A configuration key and value pair
*/
typedef std::pair<std::string, std::string> KeyVal;
/** A list of related configuration keys and values
*/
typedef std::vector<KeyVal> KeyValList;
/** An entire config file, built up of KeyValLists
*/
typedef std::multimap<std::string, KeyValList> ConfigDataHash;
// Required forward definitions
class ServerConfig;
/** Types of data in the core config
*/
enum ConfigDataType {
DT_NOTHING, // No data
DT_INTEGER, // Integer
DT_UINTEGER, // Unsigned Integer
DT_LUINTEGER, // Long Unsigned Integer
DT_CHARPTR, // Char pointer
DT_STRING, // std::string
DT_BOOLEAN, // Boolean
DT_HOSTNAME, // Hostname syntax
DT_NOSPACES, // No spaces
DT_IPADDRESS, // IP address (v4, v6)
DT_TIME, // Time value
DT_NORELOAD = 32, // Item can't be reloaded after startup
DT_ALLOW_WILD = 64, // Allow wildcards/CIDR in DT_IPADDRESS
DT_ALLOW_NEWLINE = 128 // New line characters allowed in DT_CHARPTR
};
/** Holds a config value, either string, integer or boolean.
* Callback functions receive one or more of these, either on
* their own as a reference, or in a reference to a deque of them.
* The callback function can then alter the values of the ValueItem
* classes to validate the settings.
*/
class ValueItem
{
/** Actual data */
std::string v;
public:
/** Initialize with an int */
ValueItem(int);
/** Initialize with a bool */
ValueItem(bool);
/** Initialize with a char pointer */
ValueItem(const char *);
/** Initialize with an std::string */
ValueItem(const std::string &);
/** Initialize with a long */
ValueItem(long);
/** Change value to a char pointer */
//void Set(char *);
/** Change value to a const char pointer */
void Set(const char *);
/** Change value to an std::string */
void Set(const std::string &);
/** Change value to an int */
void Set(int);
/** Get value as an int */
int GetInteger();
/** Get value as a string */
const char *GetString() const;
/** Get value as a string */
inline const std::string &GetValue() const { return v; }
/** Get value as a bool */
bool GetBool();
};
/** The base class of the container 'ValueContainer'
* used internally by the core to hold core values.
*/
class ValueContainerBase
{
public:
/** Constructor */
ValueContainerBase() { }
/** Destructor */
virtual ~ValueContainerBase() { }
};
/** ValueContainer is used to contain pointers to different
* core values such as the server name, maximum number of
* clients etc.
* It is specialized to hold a data type, then pointed at
* a value in the ServerConfig class. When the value has been
* read and validated, the Set method is called to write the
* value safely in a type-safe manner.
*/
template<typename T> class ValueContainer : public ValueContainerBase
{
/** Contained item */
T val;
public:
/** Initialize with nothing */
ValueContainer() : ValueContainerBase(), val(NULL) { }
/** Initialize with a value of type T */
ValueContainer(T Val) : ValueContainerBase(), val(Val) { }
/** Initialize with a copy */
ValueContainer(const ValueContainer &Val) : ValueContainerBase(), val(Val.val) { }
ValueContainer &operator=(const ValueContainer &Val)
{
val = Val.val;
return *this;
}
/** Change value to type T of size s */
void Set(const T newval, size_t s)
{
memcpy(val, newval, s);
}
};
/** This a specific version of ValueContainer to handle character arrays specially
*/
template<> class ValueContainer<char **> : public ValueContainerBase
{
/** Contained item */
char **val;
public:
/** Initialize with nothing */
ValueContainer() : ValueContainerBase(), val(NULL) { }
/** Initialize with a value of type T */
ValueContainer(char **Val) : ValueContainerBase(), val(Val) { }
/** Initialize with a copy */
ValueContainer(const ValueContainer &Val) : ValueContainerBase(), val(Val.val) { }
ValueContainer &operator=(const ValueContainer &Val)
{
val = Val.val;
return *this;
}
/** Change value to type T of size s */
void Set(const char *newval, size_t s)
{
if (*val) delete [] *val;
if (!*newval) {
*val = NULL;
return;
}
*val = new char[s];
strlcpy(*val, newval, s);
}
};
/** This a specific version of ValueContainer to handle std::string specially
*/
template<> class ValueContainer<std::string *> : public ValueContainerBase
{
/** Contained item */
std::string *val;
public:
/** Initialize with nothing */
ValueContainer() : ValueContainerBase(), val(NULL) { }
/** Initialize with an std::string */
ValueContainer(std::string *Val) : ValueContainerBase(), val(Val) { }
/** Initialize with a copy */
ValueContainer(const ValueContainer &Val) : ValueContainerBase(), val(Val.val) { }
ValueContainer &operator=(const ValueContainer &Val)
{
val = Val.val;
return *this;
}
/** Change value to given std::string */
void Set(const std::string &newval)
{
*val = newval;
}
/** Change value to given char pointer */
void Set(const char *newval)
{
*val = newval;
}
};
/** A specialization of ValueContainer to hold a pointer to a bool
*/
typedef ValueContainer<bool *> ValueContainerBool;
/** A specialization of ValueContainer to hold a pointer to
* an unsigned int
*/
typedef ValueContainer<unsigned *> ValueContainerUInt;
/** A specialization of ValueContainer to hold a pointer to
* a long unsigned int
*/
typedef ValueContainer<long unsigned *> ValueContainerLUInt;
/** A specialization of ValueContainer to hold a pointer to
* a char array.
*/
typedef ValueContainer<char **> ValueContainerChar;
/** A specialization of ValueContainer to hold a pointer to
* an int
*/
typedef ValueContainer<int *> ValueContainerInt;
/** A specialization of ValueContainer to hold a pointer to
* a time_t
*/
typedef ValueContainer<time_t *> ValueContainerTime;
/** A specialization of ValueContainer to hold a pointer to
* an std::string
*/
typedef ValueContainer<std::string *> ValueContainerString;
/** A set of ValueItems used by multi-value validator functions
*/
typedef std::deque<ValueItem> ValueList;
/** A callback for validating a single value
*/
typedef bool (*Validator)(ServerConfig *, const char *, const char *, ValueItem &);
/** A callback for validating multiple value entries
*/
typedef bool (*MultiValidator)(ServerConfig *, const char *, const char **, ValueList &, int *, bool);
/** A callback indicating the end of a group of entries
*/
typedef bool (*MultiNotify)(ServerConfig *, const char *, bool);
/** Holds a core configuration item and its callbacks
*/
struct InitialConfig
{
/** Tag name */
const char *tag;
/** Value name */
const char *value;
/** Default, if not defined */
const char *default_value;
/** Value containers */
ValueContainerBase *val;
/** Data types */
int datatype;
/** Validation function */
Validator validation_function;
};
/** Holds a core configuration item and its callbacks
* where there may be more than one item
*/
struct MultiConfig
{
/** Tag name */
const char *tag;
/** One or more items within tag */
const char *items[17];
/** One or more defaults for items within tags */
const char *items_default[17];
/** One or more data types */
int datatype[17];
/** Initialization function */
MultiNotify init_function;
/** Validation function */
MultiValidator validation_function;
/** Completion function */
MultiNotify finish_function;
};
/** This class holds the bulk of the runtime configuration for the ircd.
* It allows for reading new config values, accessing configuration files,
* and storage of the configuration data needed to run the ircd, such as
* the servername, connect classes, /ADMIN data, MOTDs and filenames etc.
*/
class ServerConfig
{
private:
/** This variable holds the names of all
* files included from the main one. This
* is used to make sure that no files are
* recursively included.
*/
std::vector<std::string> include_stack;
/** Check that there is only one of each configuration item
*/
bool CheckOnce(const char *);
public:
std::ostringstream errstr;
ConfigDataHash newconfig;
/** This holds all the information in the config file,
* it's indexed by tag name to a vector of key/values.
*/
ConfigDataHash config_data;
/** Construct a new ServerConfig
*/
ServerConfig();
/** Clears the include stack in preperation for a Read() call.
*/
void ClearStack();
/** Read the entire configuration into memory
* and initialize this class. All other methods
* should be used only by the core.
*/
int Read(bool);
/** Report a configuration error given in errormessage.
* @param bail If this is set to true, the error is sent to the console, and the program exits
* @param connection If this is set to a non-null value, and bail is false, the errors are spooled to
* this connection as SNOTICEs.
* If the parameter is NULL, the messages are spooled to all connections via WriteOpers as SNOTICEs.
*/
void ReportConfigError(const std::string &, bool);
/** Load 'filename' into 'target', with the new config parser everything is parsed into
* tag/key/value at load-time rather than at read-value time.
*/
bool LoadConf(ConfigDataHash &, const char *, std::ostringstream &);
/** Load 'filename' into 'target', with the new config parser everything is parsed into
* tag/key/value at load-time rather than at read-value time.
*/
bool LoadConf(ConfigDataHash &, const std::string &, std::ostringstream &);
// Both these return true if the value existed or false otherwise
/** Writes 'length' chars into 'result' as a string
*/
bool ConfValue(ConfigDataHash &, const char *, const char *, int, char *, int, bool = false);
/** Writes 'length' chars into 'result' as a string
*/
bool ConfValue(ConfigDataHash &, const char *, const char *, const char *, int, char *, int, bool = false);
/** Writes 'length' chars into 'result' as a string
*/
bool ConfValue(ConfigDataHash &, const std::string &, const std::string &, int, std::string &, bool = false);
/** Writes 'length' chars into 'result' as a string
*/
bool ConfValue(ConfigDataHash &, const std::string &, const std::string &, const std::string &, int, std::string &, bool = false);
/** Tries to convert the value to an integer and write it to 'result'
*/
bool ConfValueInteger(ConfigDataHash &, const char *, const char *, int, int &);
/** Tries to convert the value to an integer and write it to 'result'
*/
bool ConfValueInteger(ConfigDataHash &, const char *, const char *, const char *, int, int &);
/** Tries to convert the value to an integer and write it to 'result'
*/
bool ConfValueInteger(ConfigDataHash &, const std::string &, const std::string &, int, int &);
/** Tries to convert the value to an integer and write it to 'result'
*/
bool ConfValueInteger(ConfigDataHash &, const std::string &, const std::string &, const std::string &, int, int &);
/** Returns true if the value exists and has a true value, false otherwise
*/
bool ConfValueBool(ConfigDataHash &, const char *, const char *, int);
/** Returns true if the value exists and has a true value, false otherwise
*/
bool ConfValueBool(ConfigDataHash &, const char *, const char *, const char *, int);
/** Returns true if the value exists and has a true value, false otherwise
*/
bool ConfValueBool(ConfigDataHash &, const std::string &, const std::string &, int);
/** Returns true if the value exists and has a true value, false otherwise
*/
bool ConfValueBool(ConfigDataHash &, const std::string &, const std::string &, const std::string &, int);
/** Returns the number of occurences of tag in the config file
*/
int ConfValueEnum(ConfigDataHash &, const char *);
/** Returns the number of occurences of tag in the config file
*/
int ConfValueEnum(ConfigDataHash &, const std::string &);
/** Returns the numbers of vars inside the index'th 'tag in the config file
*/
int ConfVarEnum(ConfigDataHash &, const char *, int);
/** Returns the numbers of vars inside the index'th 'tag in the config file
*/
int ConfVarEnum(ConfigDataHash &, const std::string &, int);
void ValidateHostname(const char *, const std::string &, const std::string &);
void ValidateIP(const char *p, const std::string &, const std::string &, bool);
void ValidateNoSpaces(const char *, const std::string &, const std::string &);
/** Below here is a list of variables which contain the config files values
*/
/* IRCd module in use */
char *IRCDModule;
/* Host to connect to **/
char *LocalHost;
/* List of uplink servers to try and connect to */
std::list<Uplink *> Uplinks;
/* Our server name */
char *ServerName;
/* Our servers description */
char *ServerDesc;
/* The username/ident of services clients */
char *ServiceUser;
/* The hostname if services clients */
char *ServiceHost;
/* Help channel, ops here get usermode +h **/
char *HelpChannel;
/* Log channel */
char *LogChannel;
/* Name of the network were on */
char *NetworkName;
/* The max legnth of nicks */
unsigned NickLen;
/* Max length of idents */
unsigned UserLen;
/* Max lenght of hostnames */
unsigned HostLen;
/* Max length of passwords */
unsigned PassLen;
/* NickServ Name */
char *s_NickServ;
/* ChanServ Name */
char *s_ChanServ;
/* MemoServ Name */
char *s_MemoServ;
/* BotServ Name */
char *s_BotServ;
/* OperServ name */
char *s_OperServ;
/* Global name */
char *s_GlobalNoticer;
/* NickServs realname */
char *desc_NickServ;
/* ChanServ realname */
char *desc_ChanServ;
/* MemoServ relname */
char *desc_MemoServ;
/* BotServ realname */
char *desc_BotServ;
/* OperServ realname */
char *desc_OperServ;
/* Global realname */
char *desc_GlobalNoticer;
/* HostServ Name */
char *s_HostServ;
/* HostServ realname */
char *desc_HostServ;
/* Filename for the PID file */
char *PIDFilename;
/* MOTD filename */
char *MOTDFilename;
/* True if its ok to not be able to save backs */
bool NoBackupOkay;
/* Do password checking when new people register */
bool StrictPasswords;
/* How many times you're allowed to give a bad password before being killed */
unsigned BadPassLimit;
/* How long before bad passwords are forgotten */
time_t BadPassTimeout;
/* Delay between automatic database updates */
time_t UpdateTimeout;
/* Delay between checks for expired nicks and channels */
time_t ExpireTimeout;
/* How long to wait for something from the uplink, this is passed to select() */
time_t ReadTimeout;
/* How often to send program errors */
time_t WarningTimeout;
/* How long to process things such as timers to see if there is anything to calll */
time_t TimeoutCheck;
/* Num of days logfiles are kept */
int KeepLogs;
/* Number of days backups are kept */
int KeepBackups;
/* Forbidding requires a reason */
bool ForceForbidReason;
/* Services should use privmsgs instead of notices */
bool UsePrivmsg;
/* Services only respond to full PRIVMSG client@services.server.name messages */
bool UseStrictPrivMsg;
/* Dump a core file if we crash */
bool DumpCore;
/* Log users connecting/existing/changing nicks */
bool LogUsers;
/* Number of seconds between consecutive uses of the REGISTER command
* Not to be confused with NSRegDelay */
unsigned NickRegDelay;
/* Max number if news items allowed in the list */
unsigned NewsCount;
/* Default mlock modes */
std::string MLock;
/* Default botmodes on channels, defaults to ao */
std::string BotModes;
/* How many times to try and reconnect to the uplink before giving up */
unsigned MaxRetries;
/* How long to wait between connection attempts */
int RetryWait;
/* Services can use email */
bool UseMail;
/* Path to the sendmail executable */
char *SendMailPath;
/* Address to send from */
char *SendFrom;
/* Only opers can have services send mail */
bool RestrictMail;
/* Delay between sending mail */
time_t MailDelay;
/* Don't quote the To: address */
bool DontQuoteAddresses;
/* Prefix of guest nicks when a user gets forced off of a nick */
char *NSGuestNickPrefix;
/* Allow users to set kill immed on */
bool NSAllowKillImmed;
/* Don't allow nicks to use /ns group to regroup nicks */
bool NSNoGroupChange;
/* Default flags for newly registered nicks */
Flags<NickCoreFlag> NSDefFlags;
/* Default language used by services */
unsigned NSDefLanguage;
/* Users must be connected this long before they can register
* Not to be confused with NickRegDelay */
time_t NSRegDelay;
/* Time before the registering mail will be resent */
time_t NSResendDelay;
/* How long before nicks expir */
time_t NSExpire;
/* Time before NickRequests expire */
time_t NSRExpire;
/* Force email when registering */
bool NSForceEmail;
/* Max number of nicks in a group */
int NSMaxAliases;
/* Max number of allowed strings on the access list */
unsigned NSAccessMax;
/* Enforcer client user name */
char *NSEnforcerUser;
/* Enforcer client hostname */
char *NSEnforcerHost;
/* How long before recovered nicks are released */
time_t NSReleaseTimeout;
/* /nickserv list is oper only */
bool NSListOpersOnly;
/* Max number of entries that can be returned from the list command */
unsigned NSListMax;
/* Only allow usermode +a etc on real services admins */
bool NSSecureAdmins;
/* Services opers must be /operd on the ircd aswell */
bool NSStrictPrivileges;
/* Use email to verify new users registering */
bool NSEmailReg;
/* Set the proper channel modes on users when they identify */
bool NSModeOnID;
/* Add the users hostnask their access list when they register */
bool NSAddAccessOnReg;
/* Default flags for newly registered channels */
Flags<ChannelInfoFlag> CSDefFlags;
/* Max number of channels a user can own */
unsigned CSMaxReg;
/* Time before a channel expires */
time_t CSExpire;
/* Default ban type to use for channels */
int CSDefBantype;
/* Max number of entries allowed on channel access lists */
unsigned CSAccessMax;
/* Max number of entries allowed on autokick lists */
unsigned CSAutokickMax;
/* Default autokick reason */
char *CSAutokickReason;
/* Time ChanServ should stay in the channel to hold it to keep users from getting in */
time_t CSInhabit;
/* ChanServ's LIST command is oper only */
bool CSListOpersOnly;
/* Max number of entries allowed to be returned from the LIST command */
unsigned CSListMax;
/* true to make ChanServ oper only */
bool CSOpersOnly;
/* Max number of memos allowed */
unsigned MSMaxMemos;
/* Time you must wait between sending memos */
time_t MSSendDelay;
/* Notify all of the aliases of the core the memo was sent to */
bool MSNotifyAll;
/* Who can use memos reciepts */
unsigned MSMemoReceipt;
/* Defai;t BotServ flags */
Flags<BotServFlag> BSDefFlags;
/* How long before botserv forgets a user. This is used for flood kickers etc */
time_t BSKeepData;
/* Min number of users to have in the channel before the service bot joins */
unsigned BSMinUsers;
/* Max number of words allowed on the badwordslist */
unsigned BSBadWordsMax;
/* BotServ bot only joins if it would normally allowed to, abides by bans etc */
bool BSSmartJoin;
/* Dont tell users what badword they used */
bool BSGentleBWReason;
/* Case sensitive badwords matching */
bool BSCaseSensitive;
/* Char to use for the fantasy char, eg ! */
char *BSFantasyCharacter;
/* Only show /stats o to opers */
bool HideStatsO;
/* Send out a global when services shut down or restart */
bool GlobalOnCycle;
/* Don't include the opers name in globals */
bool AnonymousGlobal;
/* Dont allow users to register nicks with oper names in them */
bool RestrictOperNicks;
/* Message to send when shutting down */
char *GlobalOnCycleMessage;
/* Message to send when starting up */
char *GlobalOnCycleUP;
/* Super admin is allowed */
bool SuperAdmin;
/* Log things said through ACT/SAY */
bool LogBot;
/* Log when new user max is reached */
bool LogMaxUsers;
/* Default expiry time for akills */
time_t AutokillExpiry;
/* Default expiry time for chan kills */
time_t ChankillExpiry;
/* Default expiry time for SGLine Expire */
time_t SGLineExpiry;
/* Default expiry time for SQLines */
time_t SQLineExpiry;
/* Default expiry time for SZLine */
time_t SZLineExpiry;
/* Actually akill the user when the akill is added */
bool AkillOnAdd;
/* Kill users on SGline */
bool KillonSGline;
/* Kill users on SQline */
bool KillonSQline;
/* Send a WALLOPS/GLOBOPS when a user opers */
bool WallOper;
/* Send a WALLOPS/GLOBOPS when a nonoper tries to use OperServ */
bool WallBadOS;
/* Send a WALLOPS/GLOBOPS when someone uses the GLOBAL command */
bool WallOSGlobal;
/* Send a WALLOPS/GLOBOPS when someone uses the MODE command */
bool WallOSMode;
/* Send a WALLOPS/GLOBOPS when someone uses the CLEARMODES command */
bool WallOSClearmodes;
/* Send a WALLOPS/GLOBOPS when someone uses the KICK command */
bool WallOSKick;
/* Send a WALLOPS/GLOBOPS when someone uses the AKILL command */
bool WallOSAkill;
/* Send a WALLOPS/GLOBOPS when someone uses the SGLINE command */
bool WallOSSGLine;
/* Send a WALLOPS/GLOBOPS when someone uses the SQLINE command */
bool WallOSSQLine;
/* Send a WALLOPS/GLOBOPS when someone uses the SZLINE command */
bool WallOSSZLine;
/* Send a WALLOPS/GLOBOPS when someone uses the NOOP command */
bool WallOSNoOp;
/* Send a WALLOPS/GLOBOPS when when someone uses the JUPE command */
bool WallOSJupe;
/* Send a WALLOPS/GLOBOPS when an akill expires */
bool WallAkillExpire;
/* Send a WALLOPS/GLOBOPS when SGLines expire */
bool WallSGLineExpire;
/* Send a WALLOPS/GLOBOPS when SQLines expire */
bool WallSQLineExpire;
/* Send a WALLOPS/GLOBOPS when SZLines expire */
bool WallSZLineExpire;
/* Send a WALLOPS/GLOBOPS when exceptions expire */
bool WallExceptionExpire;
/* Send a WALLOPS/GLOBOPS when DROP is used */
bool WallDrop;
/* Send a WALLOPS/GLOBOPS when FORBID is used */
bool WallForbid;
/* Send a WALLOPS/GLOBOPS when GETPASS is used */
bool WallGetpass;
/* Send a WALLOPS/GLOBOPS when SETPASS is used */
bool WallSetpass;
/* Add the akillers nick to the akill reason */
bool AddAkiller;
/* Limit sessions */
bool LimitSessions;
/* The default session limit */
unsigned DefSessionLimit;
/* How long before exceptions expire */
time_t ExceptionExpiry;
/* How many times to kill before adding an KILL */
int MaxSessionKill;
/* Max limit that can be used for exceptions */
unsigned MaxSessionLimit;
/* How long session akills should last */
time_t SessionAutoKillExpiry;
/* Reason to use for session kills */
char *SessionLimitExceeded;
/* Optional second reason */
char *SessionLimitDetailsLoc;
/* OperServ requires you to be an operator */
bool OSOpersOnly;
/* List of modules to autoload */
std::list<std::string> ModulesAutoLoad;
/* Encryption modules */
std::list<std::string> EncModuleList;
/* Database modules */
std::list<std::string> DBModuleList;
/* HostServ Core Modules */
std::list<std::string> HostServCoreModules;
/* MemoServ Core Modules */
std::list<std::string> MemoServCoreModules;
/* BotServ Core Modules */
std::list<std::string> BotServCoreModules;
/* OperServ Core Modules */
std::list<std::string> OperServCoreModules;
/* NickServ Core Modules */
std::list<std::string> NickServCoreModules;
/* ChanServ Core Modules */
std::list<std::string> ChanServCoreModules;
/* Default defcon level */
int DefConLevel;
/* Timeout before defcon is reset */
time_t DefConTimeOut;
/* Session limiit to use when using defcon */
int DefConSessionLimit;
/* How long to add akills for defcon */
time_t DefConAKILL;
/* Chan modes for defcon */
char *DefConChanModes;
/* Should we global on defcon */
bool GlobalOnDefcon;
/* Should we send DefconMessage aswell? */
bool GlobalOnDefconMore;
/* Message to send when defcon is off */
char *DefConOffMessage;
/* Message to send when defcon is on*/
char *DefconMessage;
/* Reason to akill clients for defcon */
char *DefConAkillReason;
/* User keys to use for generating random hashes for pass codes etc */
long unsigned int UserKey1;
long unsigned int UserKey2;
long unsigned int UserKey3;
/* Numeric */
char *Numeric;
/* Array of ulined servers */
char **Ulines;
/* Number of ulines */
int NumUlines;
/* List of available opertypes */
std::list<OperType *> MyOperTypes;
/* List of pairs of opers and their opertype from the config */
std::list<std::pair<std::string, std::string> > Opers;
};
/** This class can be used on its own to represent an exception, or derived to represent a module-specific exception.
* When a module whishes to abort, e.g. within a constructor, it should throw an exception using ModuleException or
* a class derived from ModuleException. If a module throws an exception during its constructor, the module will not
* be loaded. If this happens, the error message returned by ModuleException::GetReason will be displayed to the user
* attempting to load the module, or dumped to the console if the ircd is currently loading for the first time.
*/
class ConfigException : public CoreException
{
public:
/** Default constructor, just uses the error mesage 'Config threw an exception'.
*/
ConfigException() : CoreException("Config threw an exception", "Config Parser") {}
/** This constructor can be used to specify an error message before throwing.
*/
ConfigException(const std::string &message) : CoreException(message, "Config Parser") {}
/** This destructor solves world hunger, cancels the world debt, and causes the world to end.
* Actually no, it does nothing. Never mind.
* @throws Nothing!
*/
virtual ~ConfigException() throw() { }
};
#define CONF_NO_ERROR 0x000000
#define CONF_NOT_A_NUMBER 0x000010
#define CONF_INT_NEGATIVE 0x000080
#define CONF_VALUE_NOT_FOUND 0x000100
#define CONF_FILE_NOT_FOUND 0x000200
/** Allows reading of values from configuration files
* This class allows a module to read from either the main configuration file (inspircd.conf) or from
* a module-specified configuration file. It may either be instantiated with one parameter or none.
* Constructing the class using one parameter allows you to specify a path to your own configuration
* file, otherwise, inspircd.conf is read.
*/
class CoreExport ConfigReader
{
protected:
/** The contents of the configuration file
* This protected member should never be accessed by a module (and cannot be accessed unless the
* core is changed). It will contain a pointer to the configuration file data with unneeded data
* (such as comments) stripped from it.
*/
ConfigDataHash *data;
/** Used to store errors
*/
std::ostringstream *errorlog;
/** If we're using our own config data hash or not
*/
bool privatehash;
/** True if an error occured reading the config file
*/
bool readerror;
/** Error code
*/
long error;
public:
/** Default constructor.
* This constructor initialises the ConfigReader class to read services.conf.
*/
ConfigReader();
/** Overloaded constructor.
* This constructor initialises the ConfigReader class to read a user-specified config file
*/
ConfigReader(const std::string &);
/** Default destructor.
* This method destroys the ConfigReader class.
*/
~ConfigReader();
/** Retrieves a value from the config file.
* This method retrieves a value from the config file. Where multiple copies of the tag
* exist in the config file, index indicates which of the values to retrieve.
*/
std::string ReadValue(const std::string &, const std::string &, int, bool = false);
/** Retrieves a value from the config file.
* This method retrieves a value from the config file. Where multiple copies of the tag
* exist in the config file, index indicates which of the values to retrieve. If the
* tag is not found the default value is returned instead.
*/
std::string ReadValue(const std::string &, const std::string &, const std::string &, int, bool = false);
/** Retrieves a boolean value from the config file.
* This method retrieves a boolean value from the config file. Where multiple copies of the tag
* exist in the config file, index indicates which of the values to retrieve. The values "1", "yes"
* and "true" in the config file count as true to ReadFlag, and any other value counts as false.
*/
bool ReadFlag(const std::string &, const std::string &, int);
/** Retrieves a boolean value from the config file.
* This method retrieves a boolean value from the config file. Where multiple copies of the tag
* exist in the config file, index indicates which of the values to retrieve. The values "1", "yes"
* and "true" in the config file count as true to ReadFlag, and any other value counts as false.
* If the tag is not found, the default value is used instead.
*/
bool ReadFlag(const std::string &, const std::string &, const std::string &, int);
/** Retrieves an integer value from the config file.
* This method retrieves an integer value from the config file. Where multiple copies of the tag
* exist in the config file, index indicates which of the values to retrieve. Any invalid integer
* values in the tag will cause the objects error value to be set, and any call to GetError() will
* return CONF_INVALID_NUMBER to be returned. need_positive is set if the number must be non-negative.
* If a negative number is placed into a tag which is specified positive, 0 will be returned and GetError()
* will return CONF_INT_NEGATIVE. Note that need_positive is not suitable to get an unsigned int - you
* should cast the result to achieve that effect.
*/
int ReadInteger(const std::string &, const std::string &, int, bool);
/** Retrieves an integer value from the config file.
* This method retrieves an integer value from the config file. Where multiple copies of the tag
* exist in the config file, index indicates which of the values to retrieve. Any invalid integer
* values in the tag will cause the objects error value to be set, and any call to GetError() will
* return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned.
* If a signed number is placed into a tag which is specified unsigned, 0 will be returned and GetError()
* will return CONF_NOT_UNSIGNED. If the tag is not found, the default value is used instead.
*/
int ReadInteger(const std::string &, const std::string &, const std::string &, int, bool);
/** Returns the last error to occur.
* Valid errors can be found by looking in modules.h. Any nonzero value indicates an error condition.
* A call to GetError() resets the error flag back to 0.
*/
long GetError();
/** Counts the number of times a given tag appears in the config file.
* This method counts the number of times a tag appears in a config file, for use where
* there are several tags of the same kind, e.g. with opers and connect types. It can be
* used with the index value of ConfigReader::ReadValue to loop through all copies of a
* multiple instance tag.
*/
int Enumerate(const std::string &);
/** Returns true if a config file is valid.
* This method is partially implemented and will only return false if the config
* file does not exist or could not be opened.
*/
bool Verify();
/** Dumps the list of errors in a config file to an output location. If bail is true,
* then the program will abort. If bail is false and user points to a valid user
* record, the error report will be spooled to the given user by means of NOTICE.
* if bool is false AND user is false, the error report will be spooled to all opers
* by means of a NOTICE to all opers.
*/
void DumpErrors(bool);
/** Returns the number of items within a tag.
* For example if the tag was &lt;test tag="blah" data="foo"&gt; then this
* function would return 2. Spaces and newlines both qualify as valid seperators
* between values.
*/
int EnumerateValues(const std::string &, int);
};
#endif
-70
View File
@@ -1,70 +0,0 @@
/* Database file descriptor structure and file handling routine prototypes.
*
* (C) 2003-2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
*/
#ifndef DATAFILES_H
#define DATAFILES_H
#ifndef _WIN32
#include <sys/param.h>
#endif
/*************************************************************************/
typedef struct dbFILE_ dbFILE;
struct dbFILE_ {
int mode; /* 'r' for reading, 'w' for writing */
FILE *fp; /* The normal file descriptor */
FILE *backupfp; /* Open file pointer to a backup copy of
* the database file (if non-NULL) */
char filename[MAXPATHLEN]; /* Name of the database file */
char backupname[MAXPATHLEN]; /* Name of the backup file */
};
/*************************************************************************/
/* Prototypes and macros: */
E void check_file_version(dbFILE *f);
E int get_file_version(dbFILE *f);
E int write_file_version(dbFILE *f, uint32 version);
E dbFILE *open_db(const char *service, const char *filename, const char *mode, uint32 version);
E void restore_db(dbFILE *f); /* Restore to state before open_db() */
E void close_db(dbFILE *f);
E void backup_databases(void);
#define read_db(f,buf,len) (fread((buf),1,(len),(f)->fp))
#define write_db(f,buf,len) (fwrite((buf),1,(len),(f)->fp))
#define getc_db(f) (fgetc((f)->fp))
E int read_int16(uint16 *ret, dbFILE *f);
E int write_int16(uint16 val, dbFILE *f);
E int read_int32(uint32 *ret, dbFILE *f);
E int write_int32(uint32 val, dbFILE *f);
E int read_ptr(void **ret, dbFILE *f);
E int write_ptr(const void *ptr, dbFILE *f);
E int read_string(char **ret, dbFILE *f);
E int write_string(const char *s, dbFILE *f);
#define read_int8(ret,f) ((*(ret)=fgetc((f)->fp))==EOF ? -1 : 0)
#define write_int8(val,f) (fputc((val),(f)->fp)==EOF ? -1 : 0)
#define read_buffer(buf,f) (read_db((f),(buf),sizeof(buf)) == sizeof(buf))
#define write_buffer(buf,f) (write_db((f),(buf),sizeof(buf)) == sizeof(buf))
#define read_buflen(buf,len,f) (read_db((f),(buf),(len)) == (len))
#define write_buflen(buf,len,f) (write_db((f),(buf),(len)) == (len))
#define read_variable(var,f) (read_db((f),&(var),sizeof(var)) == sizeof(var))
#define write_variable(var,f) (write_db((f),&(var),sizeof(var)) == sizeof(var))
/*************************************************************************/
#endif /* DATAFILES_H */
+3 -2
View File
@@ -1,14 +1,15 @@
/* Set default values for any constants that should be in include files but
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
* $Id$
*
*/
-127
View File
@@ -1,127 +0,0 @@
/* depricated.h
*
* (C) 2003-2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
*/
/*
All of these functions were replaced in 1.7.6, you should move your modules
to use the new functions
*/
#define change_user_mode(u, modes, arg) common_svsmode(u, modes, arg)
#define GetIdent(x) common_get_vident(x)
#define GetHost(x) common_get_vhost(x)
#define NEWNICK(nick,user,host,real,modes,qline) \
anope_cmd_bot_nick(nick,user,host,real,modes)
#define s_akill(user, host, who, when, expires, reason) \
anope_cmd_akill(user, host, who, when, expires, reason)
#define set_umode(user, ac, av) anope_set_umode(user, ac, av)
#define s_svsnoop(server, set) anope_cmd_svsnoop(server, set)
#define s_sqline(mask, reason) anope_cmd_sqline(mask, reason)
#define s_sgline(mask, reason) anope_cmd_sgline(mask, reason)
#define s_szline(mask, reason) anope_cmd_szline(mask, reason)
#define s_unsgline(mask) anope_cmd_unsgline(mask)
#define s_unsqline(mask) anope_cmd_unsqline(mask)
#define s_unszline(mask) anope_cmd_unszline(mask)
#define s_rakill(user, host) anope_cmd_remove_akill(user, host)
# define NICKSERV_MODE ircd->nickservmode
# define CHANSERV_MODE ircd->chanservmode
# define HOSTSERV_MODE ircd->hostservmode
# define MEMOSERV_MODE ircd->memoservmode
# define BOTSERV_MODE ircd->botservmode
# define HELPSERV_MODE ircd->helpservmode
# define OPERSERV_MODE ircd->oprservmode
# define DEVNULL_MODE ircd->devnullmode
# define GLOBAL_MODE ircd->globalmode
# define NICKSERV_ALIAS_MODE ircd->nickservaliasmode
# define CHANSERV_ALIAS_MODE ircd->chanservaliasmode
# define MEMOSERV_ALIAS_MODE ircd->memoservaliasmode
# define BOTSERV_ALIAS_MODE ircd->botservaliasmode
# define HELPSERV_ALIAS_MODE ircd->helpservaliasmode
# define OPERSERV_ALIAS_MODE ircd->operservaliasmode
# define DEVNULL_ALIAS_MODE ircd->devnullaliasmode
# define GLOBAL_ALIAS_MODE ircd->globalaliasmode
# define HOSTSERV_ALIAS_MODE ircd->hostservaliasmode
# define BOTSERV_BOTS_MODE ircd->botserv_bot_mode
#define CHAN_MAX_SYMBOL ircd->max_symbols
#define MODESTOREMOVE ircd->modestoremove
#ifdef IRC_HYBRID
# define HAS_HALFOP
# define HAS_EXCEPT
#endif
#ifdef IRC_VIAGRA
# define HAS_HALFOP
# define HAS_VHOST
# define HAS_VIDENT
# define HAS_EXCEPT
#endif
#ifdef IRC_BAHAMUT
# define HAS_NICKIP
# define HAS_EXCEPT
# define HAS_SVSHOLD
#endif
#ifdef IRC_RAGE2
# define HAS_HALFOP
# define HAS_EXCEPT
# define HAS_VHOST
# define HAS_NICKVHOST
#endif
#ifdef IRC_PTLINK
# define HAS_NICKVHOST
# define HAS_VHOST
# define HAS_FMODE
# define HAS_EXCEPT
#endif
#ifdef IRC_ULTIMATE2
# define IRC_ULTIMATE /* gotta do this for old mods */
# define HAS_FMODE
# define HAS_HALFOP
# define HAS_LMODE
# define HAS_VHOST
# define HAS_VIDENT
# define HAS_EXCEPT
#endif
#if defined(IRC_UNREAL31) || defined(IRC_UNREAL32)
# define IRC_UNREAL /* gotta do this for old mods */
# define HAS_FMODE
# define HAS_HALFOP
# define HAS_LMODE
# define HAS_NICKVHOST
# define HAS_VHOST
# define HAS_VIDENT
# define HAS_EXCEPT
#endif
#ifdef IRC_ULTIMATE3
# define HAS_HALFOP
# define HAS_VHOST
# define HAS_NICKVHOST
# define HAS_VIDENT
# define HAS_EXCEPT
#endif
-20
View File
@@ -1,20 +0,0 @@
/* Include file for high-level encryption routines.
*
* (C) 2003-2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
*/
typedef struct encryption_ {
int (*encrypt)(const char *src, int len, char *dest, int size);
int (*encrypt_check_len)(int passlen, int bufsize);
int (*decrypt)(const char *src, char *dest, int size);
int (*check_password)(const char *plaintext, const char *password);
} Encryption;
-72
View File
@@ -1,72 +0,0 @@
/* Prototypes and external variable declarations.
*
* (C) 2003-2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
*/
#define EVENT_START "start"
#define EVENT_STOP "stop"
#define EVENT_DB_SAVING "db_saving"
#define EVENT_DB_BACKUP "db_backup"
#define EVENT_NEWNICK "newnick"
#define EVENT_BOT_UNASSIGN "bot_unassign"
#define EVENT_BOT_JOIN "bot_join"
#define EVENT_BOT_CREATE "bot_create"
#define EVENT_BOT_CHANGE "bot_change"
#define EVENT_BOT_FANTASY "bot_command"
#define EVENT_BOT_FANTASY_NO_ACCESS "bot_command_no_access"
#define EVENT_BOT_DEL "bot_del"
#define EVENT_BOT_ASSIGN "bot_assign"
#define EVENT_BOT_KICK "bot_kick"
#define EVENT_BOT_BAN "bot_ban"
#define EVENT_TOPIC_UPDATED "chan_topic_updated"
#define EVENT_CHAN_EXPIRE "chan_expire"
#define EVENT_CHAN_REGISTERED "chan_registered"
#define EVENT_CHAN_DROP "chan_dropped"
#define EVENT_CHAN_FORBIDDEN "chan_forbidden"
#define EVENT_CHAN_SUSPENDED "chan_suspended"
#define EVENT_CHAN_UNSUSPEND "chan_unsuspend"
#define EVENT_CONNECT "connect"
#define EVENT_DB_EXPIRE "db_expire"
#define EVENT_RESTART "restart"
#define EVENT_RELOAD "reload"
#define EVENT_SHUTDOWN "shutdown"
#define EVENT_SIGNAL "signal"
#define EVENT_NICK_REGISTERED "nick_registered"
#define EVENT_NICK_REQUESTED "nick_requested"
#define EVENT_NICK_DROPPED "nick_dropped"
#define EVENT_NICK_FORBIDDEN "nick_forbidden"
#define EVENT_NICK_EXPIRE "nick_expire"
#define EVENT_CORE_DROPPED "nickcore_dropped"
#define EVENT_CORE_NEWDISPLAY "nickcore_newdisplay"
#define EVENT_CHANGE_NICK "change_nick"
#define EVENT_USER_LOGOFF "user_logoff"
#define EVENT_NICK_GHOSTED "nick_ghosted"
#define EVENT_NICK_RECOVERED "nick_recovered"
#define EVENT_GROUP "nick_group"
#define EVENT_NICK_IDENTIFY "nick_id"
#define EVENT_SERVER_SQUIT "server_squit"
#define EVENT_SERVER_CONNECT "server_connect"
#define EVENT_DEFCON_LEVEL "defcon_level"
#define EVENT_NICK_SUSPENDED "nick_suspended"
#define EVENT_NICK_UNSUSPEND "nick_unsuspend"
#define EVENT_JOIN_CHANNEL "join_channel"
#define EVENT_PART_CHANNEL "part_channel"
#define EVENT_ACCESS_ADD "access_add"
#define EVENT_ACCESS_CHANGE "access_change"
#define EVENT_ACCESS_DEL "access_del"
#define EVENT_ACCESS_CLEAR "access_clear"
#define EVENT_NICK_LOGOUT "nick_logout"
#define EVENT_CHAN_KICK "chan_kick"
#define EVENT_MODLOAD "modload"
#define EVENT_MODUNLOAD "modunload"
#define EVENT_ADDCOMMAND "addcommand"
#define EVENT_DELCOMMAND "delcommand"
+232
View File
@@ -0,0 +1,232 @@
/*
*
* Copyright (C) 2008-2010 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*
*
* $Id$
*
*/
/** Dummy base class we use to cast everything to/from
*/
class ExtensibleItemBase
{
public:
ExtensibleItemBase() { }
virtual ~ExtensibleItemBase() { }
};
/** Class used to represent an extensible item that doesn't hold a pointer
*/
template<typename T> class ExtensibleItemRegular : public ExtensibleItemBase
{
protected:
T Item;
public:
ExtensibleItemRegular(T item) : Item(item) { }
virtual ~ExtensibleItemRegular() { }
T GetItem() const { return Item; }
};
/** Class used to represent an extensible item that holds a pointer
*/
template<typename T> class ExtensibleItemPointer : public ExtensibleItemBase
{
protected:
T *Item;
public:
ExtensibleItemPointer(T *item) : Item(item) { }
virtual ~ExtensibleItemPointer() { delete Item; }
T *GetItem() const { return Item; }
};
/** Class used to represent an extensible item that holds a pointer to an arrray
*/
template<typename T> class ExtensibleItemPointerArray : public ExtensibleItemBase
{
protected:
T *Item;
public:
ExtensibleItemPointerArray(T *item) : Item(item) { }
virtual ~ExtensibleItemPointerArray() { delete [] Item; }
T *GetItem() const { return Item; }
};
class CoreExport Extensible
{
private:
std::map<std::string, ExtensibleItemBase *> Extension_Items;
public:
/** Default constructor, does nothing
*/
Extensible() { }
/** Default destructor, deletes all of the extensible items in this object
* then clears the map
*/
virtual ~Extensible()
{
for (std::map<std::string, ExtensibleItemBase *>::iterator it = Extension_Items.begin(); it != Extension_Items.end(); ++it)
{
delete it->second;
}
Extension_Items.clear();
}
/** Extend an Extensible class.
*
* @param key The key parameter is an arbitary string which identifies the extension data
* @param p This parameter is a pointer to an ExtensibleItem or ExtensibleItemBase derived class
*
* You must provide a key to store the data as via the parameter 'key'.
* The data will be inserted into the map. If the data already exists, you may not insert it
* twice, Extensible::Extend will return false in this case.
*
* @return Returns true on success, false if otherwise
*/
bool Extend(const std::string &key, ExtensibleItemBase *p)
{
bool Ret = this->Extension_Items.insert(std::make_pair(key, p)).second;
if (!Ret)
delete p;
return Ret;
}
/** Extend an Extensible class.
*
* @param key The key parameter is an arbitary string which identifies the extension data
*
* You must provide a key to store the data as via the parameter 'key', this single-parameter
* version takes no 'data' parameter, this is used purely for boolean values.
* The key will be inserted into the map with a NULL 'data' pointer. If the key already exists
* then you may not insert it twice, Extensible::Extend will return false in this case.
*
* @return Returns true on success, false if otherwise
*/
bool Extend(const std::string &key)
{
/* This will only add an item if it doesnt already exist,
* the return value is a std::pair of an iterator to the
* element, and a bool saying if it was actually inserted.
*/
return this->Extend(key, new ExtensibleItemRegular<char *>(NULL));
}
/** Shrink an Extensible class.
*
* @param key The key parameter is an arbitary string which identifies the extension data
*
* You must provide a key name. The given key name will be removed from the classes data. If
* you provide a nonexistent key (case is important) then the function will return false.
* @return Returns true on success.
*/
bool Shrink(const std::string &key)
{
std::map<std::string, ExtensibleItemBase *>::iterator it = this->Extension_Items.find(key);
if (it != this->Extension_Items.end())
{
delete it->second;
/* map::size_type map::erase( const key_type& key );
* returns the number of elements removed, std::map
* is single-associative so this should only be 0 or 1
*/
return this->Extension_Items.erase(key);
}
return false;
}
/** Get an extension item that is not a pointer.
*
* @param key The key parameter is an arbitary string which identifies the extension data
* @param p If you provide a non-existent key, this value will be 0. Otherwise a copy to the item you requested will be placed in this templated parameter.
* @return Returns true if the item was found and false if it was nor, regardless of wether 'p' is NULL. This allows you to store NULL values in Extensible.
*/
template<typename T> bool GetExtRegular(const std::string &key, T &p)
{
std::map<std::string, ExtensibleItemBase *>::iterator it = this->Extension_Items.find(key);
if (it != this->Extension_Items.end())
{
p = dynamic_cast<ExtensibleItemRegular<T> *>(it->second)->GetItem();
return true;
}
return false;
}
/** Get an extension item that is a pointer.
*
* @param key The key parameter is an arbitary string which identifies the extension data
* * @param p If you provide a non-existent key, this value will be NULL. Otherwise a pointer to the item you requested will be placed in this templated parameter.
* @return Returns true if the item was found and false if it was nor, regardless of wether 'p' is NULL. This allows you to store NULL values in Extensible.
*/
template<typename T> bool GetExtPointer(const std::string &key, T *&p)
{
std::map<std::string, ExtensibleItemBase *>::iterator it = this->Extension_Items.find(key);
if (it != this->Extension_Items.end())
{
p = dynamic_cast<ExtensibleItemPointer<T> *>(it->second)->GetItem();
return true;
}
p = NULL;
return false;
}
/** Get an extension item that is a pointer to an array
*
* @param key The key parameter is an arbitary string which identifies the extension data
* @param p If you provide a non-existent key, this value will be NULL. Otherwise a pointer to the item you requested will be placed in this templated parameter.
* @return Returns true if the item was found and false if it was nor, regardless of wether 'p' is NULL. This allows you to store NULL values in Extensible.
*/
template<typename T> bool GetExtArray(const std::string &key, T *&p)
{
std::map<std::string, ExtensibleItemBase *>::iterator it = this->Extension_Items.find(key);
if (it != this->Extension_Items.end())
{
p = dynamic_cast<ExtensibleItemPointerArray<T> *>(it->second)->GetItem();
return true;
}
p = NULL;
return false;
}
/** Get an extension item.
*
* @param key The key parameter is an arbitary string which identifies the extension data
* @return Returns true if the item was found and false if it was not.
*
* This single-parameter version only checks if the key exists, it does nothing with
* the 'data' field and is probably only useful in conjunction with the single-parameter
* version of Extend().
*/
bool GetExt(const std::string &key)
{
return (this->Extension_Items.find(key) != this->Extension_Items.end());
}
/** Get a list of all extension items names.
* @param list A deque of strings to receive the list
* @return This function writes a list of all extension items stored
* in this object by name into the given deque and returns void.
*/
void GetExtList(std::deque<std::string> &list)
{
for (std::map<std::string, ExtensibleItemBase *>::iterator i = Extension_Items.begin(); i != Extension_Items.end(); ++i)
{
list.push_back(i->first);
}
}
};
+219 -1033
View File
File diff suppressed because it is too large Load Diff
+474
View File
@@ -0,0 +1,474 @@
/*
* Copyright (C) 2002-2010 InspIRCd Development Team
* Copyright (C) 2009-2010 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*
* These classes have been copied from InspIRCd and modified
* for use in Anope.
*
* $Id$
*
*/
#ifndef _HASHCOMP_H_
#define _HASHCOMP_H_
#include <string>
/*******************************************************
* This file contains classes and templates that deal
* with the comparison and hashing of 'irc strings'.
* An 'irc string' is a string which compares in a
* case insensitive manner, and as per RFC 1459 will
* treat [ identical to {, ] identical to }, and \
* as identical to |.
*
* Our hashing functions are designed to accept
* std::string and compare/hash them as type irc::string
* by converting them internally. This makes them
* backwards compatible with other code which is not
* aware of irc::string.
*******************************************************/
#ifndef LOWERMAP
#define LOWERMAP
/** A mapping of uppercase to lowercase, including scandinavian
* 'oddities' as specified by RFC1459, e.g. { -> [, and | -> \
*/
unsigned const char rfc_case_insensitive_map[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, /* 0-19 */
20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, /* 20-39 */
40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, /* 40-59 */
60, 61, 62, 63, 64, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, /* 60-79 */
112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 94, 95, 96, 97, 98, 99, /* 80-99 */
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, /* 100-119 */
120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, /* 120-139 */
140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, /* 140-159 */
160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, /* 160-179 */
180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, /* 180-199 */
200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, /* 200-219 */
220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, /* 220-239 */
240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 /* 240-255 */
};
/** Case insensitive map, ASCII rules.
* That is;
* [ != {, but A == a.
*/
unsigned const char ascii_case_insensitive_map[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, /* 0-19 */
20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, /* 20-39 */
40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, /* 40-59 */
60, 61, 62, 63, 64, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, /* 60-79 */
112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 91, 92, 93, 94, 95, 96, 97, 98, 99, /* 80-99 */
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, /* 100-119 */
120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, /* 120-139 */
140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, /* 140-159 */
160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, /* 160-179 */
180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, /* 180-199 */
200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, /* 200-219 */
220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, /* 220-239 */
240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 /* 240-255 */
};
#endif
/** The irc namespace contains a number of helper classes.
*/
namespace irc
{
/** The irc_char_traits class is used for RFC-style comparison of strings.
* This class is used to implement irc::string, a case-insensitive, RFC-
* comparing string class.
*/
struct irc_char_traits : std::char_traits<char>
{
/** Check if two chars match.
* @param c1st First character
* @param c2nd Second character
* @return true if the characters are equal
*/
static bool eq(char c1st, char c2nd);
/** Check if two chars do NOT match.
* @param c1st First character
* @param c2nd Second character
* @return true if the characters are unequal
*/
static bool ne(char c1st, char c2nd);
/** Check if one char is less than another.
* @param c1st First character
* @param c2nd Second character
* @return true if c1st is less than c2nd
*/
static bool lt(char c1st, char c2nd);
/** Compare two strings of size n.
* @param str1 First string
* @param str2 Second string
* @param n Length to compare to
* @return similar to strcmp, zero for equal, less than zero for str1
* being less and greater than zero for str1 being greater than str2.
*/
static int compare(const char *str1, const char *str2, size_t n);
/** Find a char within a string up to position n.
* @param s1 String to find in
* @param n Position to search up to
* @param c Character to search for
* @return Pointer to the first occurance of c in s1
*/
static const char *find(const char *s1, int n, char c);
};
/** This typedef declares irc::string based upon irc_char_traits.
*/
typedef std::basic_string<char, irc_char_traits, std::allocator<char> > string;
}
/** The ci namespace contains a number of helper classes.
*/
namespace ci
{
/** The ci_char_traits class is used for ASCII-style comparison of strings.
* This class is used to implement ci::string, a case-insensitive, ASCII-
* comparing string class.
*/
struct CoreExport ci_char_traits : std::char_traits<char>
{
/** Check if two chars match.
* @param c1st First character
* @param c2nd Second character
* @return true if the characters are equal
*/
static bool eq(char c1st, char c2nd);
/** Check if two chars do NOT match.
* @param c1st First character
* @param c2nd Second character
* @return true if the characters are unequal
*/
static bool ne(char c1st, char c2nd);
/** Check if one char is less than another.
* @param c1st First character
* @param c2nd Second character
* @return true if c1st is less than c2nd
*/
static bool lt(char c1st, char c2nd);
/** Compare two strings of size n.
* @param str1 First string
* @param str2 Second string
* @param n Length to compare to
* @return similar to strcmp, zero for equal, less than zero for str1
* being less and greater than zero for str1 being greater than str2.
*/
static int compare(const char *str1, const char *str2, size_t n);
/** Find a char within a string up to position n.
* @param s1 String to find in
* @param n Position to search up to
* @param c Character to search for
* @return Pointer to the first occurance of c in s1
*/
static const char *find(const char *s1, int n, char c);
};
/** This typedef declares ci::string based upon ci_char_traits.
*/
typedef std::basic_string<char, ci_char_traits, std::allocator<char> > string;
}
/* Define operators for using >> and << with irc::string to an ostream on an istream. */
/* This was endless fun. No. Really. */
/* It was also the first core change Ommeh made, if anyone cares */
/** Operator << for irc::string
*/
inline std::ostream &operator<<(std::ostream &os, const irc::string &str) { return os << std::string(str.c_str()); }
/** Operator >> for irc::string
*/
inline std::istream &operator>>(std::istream &is, irc::string &str)
{
std::string tmp;
is >> tmp;
str = tmp.c_str();
return is;
}
/** Operator << for ci::string
*/
inline std::ostream &operator<<(std::ostream &os, const ci::string &str) { return os << std::string(str.c_str()); }
/** Operator >> for ci::string
*/
inline std::istream &operator>>(std::istream &is, ci::string &str)
{
std::string tmp;
is >> tmp;
str = tmp.c_str();
return is;
}
/* Define operators for + and == with irc::string to std::string for easy assignment
* and comparison
*
* Operator +
*/
inline std::string operator+(std::string &leftval, irc::string &rightval)
{
return leftval + std::string(rightval.c_str());
}
/* Define operators for + and == with irc::string to std::string for easy assignment
* and comparison
*
* Operator +
*/
inline irc::string operator+(irc::string &leftval, std::string &rightval)
{
return leftval + irc::string(rightval.c_str());
}
/* Define operators for + and == with ci::string to std::string for easy assignment
* and comparison
*
* Operator +
*/
inline std::string operator+(std::string &leftval, ci::string &rightval)
{
return leftval + std::string(rightval.c_str());
}
/* Define operators for + and == with ci::string to std::string for easy assignment
* and comparison
*
* Operator +
*/
inline ci::string operator+(ci::string &leftval, std::string &rightval)
{
return leftval + ci::string(rightval.c_str());
}
/* Define operators for + and == with irc::string to ci::string for easy assignment
* and comparison
*
* Operator +
*/
inline irc::string operator+(irc::string &leftval, ci::string &rightval)
{
return leftval + irc::string(rightval.c_str());
}
/* Define operators for + and == with irc::string to ci::string for easy assignment
* and comparison
*
* Operator +
*/
inline ci::string operator+(ci::string &leftval, irc::string &rightval)
{
return leftval + ci::string(rightval.c_str());
}
/* Define operators for + and == with irc::string to std::string for easy assignment
* and comparison
*
* Operator ==
*/
inline bool operator==(const std::string &leftval, const irc::string &rightval)
{
return leftval.c_str() == rightval;
}
/* Define operators for + and == with irc::string to std::string for easy assignment
* and comparison
*
* Operator ==
*/
inline bool operator==(const irc::string &leftval, const std::string &rightval)
{
return leftval == rightval.c_str();
}
/* Define operators for + and == with ci::string to std::string for easy assignment
* and comparison
*
* Operator ==
*/
inline bool operator==(const std::string &leftval, const ci::string &rightval)
{
return leftval.c_str() == rightval;
}
/* Define operators for + and == with ci::string to std::string for easy assignment
* and comparison
*
* Operator ==
*/
inline bool operator==(const ci::string &leftval, const std::string &rightval)
{
return leftval == rightval.c_str();
}
/* Define operators for + and == with irc::string to ci::string for easy assignment
* and comparison
*
* Operator ==
*/
inline bool operator==(const ci::string &leftval, const irc::string &rightval)
{
return leftval.c_str() == rightval;
}
/* Define operators for + and == with irc::string to ci::string for easy assignment
* and comparison
*
* Operator ==
*/
inline bool operator==(const irc::string &leftval, const ci::string &rightval)
{
return leftval == rightval.c_str();
}
/* Define operators != for irc::string to std::string for easy comparison
*/
inline bool operator!=(const irc::string &leftval, const std::string &rightval)
{
return !(leftval == rightval.c_str());
}
/* Define operators != for std::string to irc::string for easy comparison
*/
inline bool operator!=(const std::string &leftval, const irc::string &rightval)
{
return !(leftval.c_str() == rightval);
}
/* Define operators != for ci::string to std::string for easy comparison
*/
inline bool operator!=(const ci::string &leftval, const std::string &rightval)
{
return !(leftval == rightval.c_str());
}
/* Define operators != for ci::string to irc::string for easy comparison
*/
inline bool operator!=(const std::string &leftval, const ci::string &rightval)
{
return !(leftval.c_str() == rightval);
}
/* Define operators != for irc::string to ci::string for easy comparison
*/
inline bool operator!=(const irc::string &leftval, const ci::string &rightval)
{
return !(leftval == rightval.c_str());
}
/* Define operators != for irc::string to ci::string for easy comparison
*/
inline bool operator!=(const ci::string &leftval, const irc::string &rightval)
{
return !(leftval.c_str() == rightval);
}
/** Assign an irc::string to a std::string.
*/
//inline std::string assign(const irc::string &other) { return other.c_str(); }
/** Assign a std::string to an irc::string.
*/
//inline irc::string assign(const std::string &other) { return other.c_str(); }
/** Assign an ci::string to a std::string.
*/
//inline std::string assign(const ci::string &other) { return other.c_str(); }
/** Assign a std::string to an ci::string.
*/
//inline ci::string assign(const std::string &other) { return other.c_str(); }
/** Assign an irc::string to a ci::string.
*/
//inline ci::string assign(const irc::string &other) { return other.c_str(); }
/** Assign a ci::string to an irc::string.
*/
//inline irc::string assign(const ci::string &other) { return other.c_str(); }
/** sepstream allows for splitting token seperated lists.
* Each successive call to sepstream::GetToken() returns
* the next token, until none remain, at which point the method returns
* an empty string.
*/
class CoreExport sepstream
{
private:
/** Original string.
*/
std::string tokens;
/** Last position of a seperator token
*/
std::string::iterator last_starting_position;
/** Current string position
*/
std::string::iterator n;
/** Seperator value
*/
char sep;
public:
/** Create a sepstream and fill it with the provided data
*/
sepstream(const std::string &source, char seperator);
sepstream(const ci::string &source, char seperator);
sepstream(const char *source, char seperator);
virtual ~sepstream() { }
/** Fetch the next token from the stream
* @param token The next token from the stream is placed here
* @return True if tokens still remain, false if there are none left
*/
virtual bool GetToken(std::string &token);
virtual bool GetToken(ci::string &token);
/** Fetch the entire remaining stream, without tokenizing
* @return The remaining part of the stream
*/
virtual const std::string GetRemaining();
/** Returns true if the end of the stream has been reached
* @return True if the end of the stream has been reached, otherwise false
*/
virtual bool StreamEnd();
};
/** A derived form of sepstream, which seperates on commas
*/
class commasepstream : public sepstream
{
public:
/** Initialize with comma seperator
*/
commasepstream(const std::string &source) : sepstream(source, ',') { }
commasepstream(const ci::string &source) : sepstream(source, ',') { }
commasepstream(const char *source) : sepstream(source, ',') { }
};
/** A derived form of sepstream, which seperates on spaces
*/
class spacesepstream : public sepstream
{
public:
/** Initialize with space seperator
*/
spacesepstream(const std::string &source) : sepstream(source, ' ') { }
spacesepstream(const ci::string &source) : sepstream(source, ' ') { }
spacesepstream(const char *source) : sepstream(source, ' ') { }
};
#endif
-24
View File
@@ -1,24 +0,0 @@
# Make file for Win32
#
# (C) 2003-2014 Anope Team
# Contact us at team@anope.org
#
# Please read COPYING and README for further details.
#
# Based on the original code of Epona by Lara.
# Based on the original code of Services by Andy Church.
#
#
###########################################################################
clean:
-@erase language.h
spotless: clean
-@erase sysconf.h version.h
distclean: spotless
FRC:
+4 -3
View File
@@ -1,13 +1,14 @@
/* Declarations of IRC message structures, variables, and functions.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
@@ -15,7 +16,7 @@
#include "modules.h"
extern Message messages[];
extern void moduleAddMsgs(void);
extern void moduleAddMsgs();
extern Message *find_message(const char *name);
+531
View File
@@ -0,0 +1,531 @@
/* Mode support
*
* Copyright (C) 2008-2010 Adam <Adam@anope.org>
* Copyright (C) 2008-2010 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*
*
* $Id$
*
*/
/** All of the valid user mode names
*/
enum UserModeName
{
UMODE_BEGIN,
UMODE_SERV_ADMIN, UMODE_BOT, UMODE_CO_ADMIN, UMODE_FILTER, UMODE_HIDEOPER, UMODE_NETADMIN,
UMODE_REGPRIV, UMODE_PROTECTED, UMODE_NO_CTCP, UMODE_WEBTV, UMODE_WHOIS, UMODE_ADMIN, UMODE_DEAF,
UMODE_GLOBOPS, UMODE_HELPOP, UMODE_INVIS, UMODE_OPER, UMODE_PRIV, UMODE_GOD, UMODE_REGISTERED,
UMODE_SNOMASK, UMODE_VHOST, UMODE_WALLOPS, UMODE_CLOAK, UMODE_SSL, UMODE_CALLERID, UMODE_COMMONCHANS,
UMODE_HIDDEN, UMODE_STRIPCOLOR,
UMODE_END
};
/** All of the valid channel mode names
*/
enum ChannelModeName
{
CMODE_BEGIN,
/* Channel modes */
CMODE_BLOCKCOLOR, CMODE_FLOOD, CMODE_INVITE, CMODE_KEY, CMODE_LIMIT, CMODE_MODERATED, CMODE_NOEXTERNAL,
CMODE_PRIVATE, CMODE_REGISTERED, CMODE_SECRET, CMODE_TOPIC, CMODE_AUDITORIUM, CMODE_SSL, CMODE_ADMINONLY,
CMODE_NOCTCP, CMODE_FILTER, CMODE_NOKNOCK, CMODE_REDIRECT, CMODE_REGMODERATED, CMODE_NONICK, CMODE_OPERONLY,
CMODE_NOKICK, CMODE_REGISTEREDONLY, CMODE_STRIPCOLOR, CMODE_NONOTICE, CMODE_NOINVITE, CMODE_ALLINVITE,
CMODE_BLOCKCAPS, CMODE_PERM, CMODE_NICKFLOOD, CMODE_JOINFLOOD, CMODE_DELAYEDJOIN, CMODE_NOREJOIN,
/* b/e/I */
CMODE_BAN, CMODE_EXCEPT,
CMODE_INVITEOVERRIDE,
/* v/h/o/a/q */
CMODE_VOICE, CMODE_HALFOP, CMODE_OP,
CMODE_PROTECT, CMODE_OWNER,
CMODE_END
};
/** The different types of modes
*/
enum ModeType
{
/* Regular mode */
MODE_REGULAR,
/* b/e/I */
MODE_LIST,
/* k/l etc */
MODE_PARAM,
/* v/h/o/a/q */
MODE_STATUS
};
/* Classes of modes, Channel modes and User modes
*/
enum ModeClass
{
/* Channel mode */
MC_CHANNEL,
/* User mode */
MC_USER
};
/** This class is the basis of all modes in Anope
*/
class CoreExport Mode
{
public:
/* Class of mode this is */
ModeClass Class;
/* Mode char for this */
char ModeChar;
/* Type of mode this is */
ModeType Type;
/** Default constructor
* @param mClass The type of mode this is
* @param modeChar The mode char
* @param type The mode type
*/
Mode(ModeClass mClass, char modeChar, ModeType type);
/** Default destructor
*/
virtual ~Mode();
};
/** This class is a user mode, all user modes use this/inherit from this
*/
class CoreExport UserMode : public Mode
{
public:
/* Mode name */
UserModeName Name;
/** Default constructor
* @param nName The mode name
* @param modeChar The mode char
*/
UserMode(UserModeName mName, char modeChar);
/** Default destructor
*/
virtual ~UserMode();
};
class UserModeParam : public UserMode
{
public:
/** Default constructor
* @param mName The mode name
* @param modeChar The mode char
*/
UserModeParam(UserModeName mName, char modeChar);
/** Check if the param is valid
* @param value The param
* @return true or false
*/
virtual bool IsValid(const std::string &value) { return true; }
};
/** This class is a channel mode, all channel modes use this/inherit from this
*/
class CoreExport ChannelMode : public Mode
{
public:
/* Mode name */
ChannelModeName Name;
/** Default constructor
* @param mName The mode name
* @param modeChar The mode char
*/
ChannelMode(ChannelModeName mName, char modeChar);
/** Default destructor
*/
virtual ~ChannelMode();
/** Can a user set this mode, used for mlock
* NOTE: User CAN be NULL, this is for checking if it can be locked with defcon
* @param u The user, or NULL
*/
virtual bool CanSet(User *u) { return true; }
};
/** This is a mode for lists, eg b/e/I. These modes should inherit from this
*/
class CoreExport ChannelModeList : public ChannelMode
{
public:
/** Default constructor
* @param mName The mode name
* @param modeChar The mode char
*/
ChannelModeList(ChannelModeName mName, char modeChar);
/** Default destructor
*/
virtual ~ChannelModeList();
/** Is the mask valid
* @param mask The mask
* @return true for yes, false for no
*/
virtual bool IsValid(const std::string &mask) { return true; }
/** Add the mask to the channel, this should be overridden
* @param chan The channel
* @param mask The mask
*/
virtual void AddMask(Channel *chan, const char *mask) { }
/** Delete the mask from the channel, this should be overridden
* @param chan The channel
* @param mask The mask
*/
virtual void DelMask(Channel *chan, const char *mask) { }
};
/** This is a mode with a paramater, eg +k/l. These modes should use/inherit from this
*/
class CoreExport ChannelModeParam : public ChannelMode
{
public:
/** Default constructor
* @param mName The mode name
* @param modeChar The mode char
* @param MinusArg true if this mode sends no arg when unsetting
*/
ChannelModeParam(ChannelModeName mName, char modeChar, bool MinusArg = false);
/** Default destructor
*/
virtual ~ChannelModeParam();
/* Should we send an arg when unsetting this mode? */
bool MinusNoArg;
/** Is the param valid
* @param value The param
* @return true for yes, false for no
*/
virtual bool IsValid(const std::string &value) { return true; }
};
/** This is a mode that is a channel status, eg +v/h/o/a/q.
*/
class CoreExport ChannelModeStatus : public ChannelMode
{
public:
/* The symbol, eg @ % + */
char Symbol;
/** Default constructor
* @param mName The mode name
* @param modeChar The mode char
* @param mSymbol The symbol for the mode, eg @ % +
*/
ChannelModeStatus(ChannelModeName mName, char modeChar, char mSymbol);
/** Default destructor
*/
virtual ~ChannelModeStatus();
};
/** Channel mode +b
*/
class CoreExport ChannelModeBan : public ChannelModeList
{
public:
ChannelModeBan(char modeChar) : ChannelModeList(CMODE_BAN, modeChar) { }
void AddMask(Channel *chan, const char *mask);
void DelMask(Channel *chan, const char *mask);
};
/** Channel mode +e
*/
class CoreExport ChannelModeExcept : public ChannelModeList
{
public:
ChannelModeExcept(char modeChar) : ChannelModeList(CMODE_EXCEPT, modeChar) { }
void AddMask(Channel *chan, const char *mask);
void DelMask(Channel *chan, const char *mask);
};
/** Channel mode +I
*/
class CoreExport ChannelModeInvite : public ChannelModeList
{
public:
ChannelModeInvite(char modeChar) : ChannelModeList(CMODE_INVITEOVERRIDE, modeChar) { }
void AddMask(Channel *chan, const char *mask);
void DelMask(Channel *chan, const char *mask);
};
/** Channel mode +k (key)
*/
class CoreExport ChannelModeKey : public ChannelModeParam
{
public:
ChannelModeKey(char modeChar) : ChannelModeParam(CMODE_KEY, modeChar) { }
bool IsValid(const std::string &value);
};
/** Channel mode +f (flood)
*/
class ChannelModeFlood : public ChannelModeParam
{
public:
ChannelModeFlood(char modeChar, bool minusNoArg = false) : ChannelModeParam(CMODE_FLOOD, modeChar, minusNoArg) { }
bool IsValid(const std::string &value);
};
/** This class is used for channel mode +A (Admin only)
* Only opers can mlock it
*/
class CoreExport ChannelModeAdmin : public ChannelMode
{
public:
ChannelModeAdmin(char modeChar) : ChannelMode(CMODE_ADMINONLY, modeChar) { }
/* Opers only */
bool CanSet(User *u);
};
/** This class is used for channel mode +O (Opers only)
* Only opers can mlock it
*/
class CoreExport ChannelModeOper : public ChannelMode
{
public:
ChannelModeOper(char modeChar) : ChannelMode(CMODE_OPERONLY, modeChar) { }
/* Opers only */
bool CanSet(User *u);
};
/** This class is used for channel mode +r (registered channel)
* No one may mlock r
*/
class CoreExport ChannelModeRegistered : public ChannelMode
{
public:
ChannelModeRegistered(char modeChar) : ChannelMode(CMODE_REGISTERED, modeChar) { }
/* No one mlocks +r */
bool CanSet(User *u);
};
enum StackerType
{
ST_CHANNEL,
ST_USER
};
class StackerInfo
{
public:
/* Modes to be added */
std::list<std::pair<void *, std::string> > AddModes;
/* Modes to be deleted */
std::list<std::pair<void *, std::string> > DelModes;
/* The type of object this stacker info is for */
StackerType Type;
/* Bot this is sent from */
BotInfo *bi;
/** Add a mode to this object
* @param Mode The mode
* @param Set true if setting, false if unsetting
* @param Param The param for the mode
*/
void AddMode(void *Mode, bool Set, const std::string &Param);
};
/** This is mode manager
* It contains functions for adding modes to Anope so Anope can track them
* and do things such as MLOCK.
* This also contains a mode stacker that will combine multiple modes and set
* them on a channel all at once
*/
class CoreExport ModeManager
{
protected:
/* List of pairs of user/channels and their stacker info */
static std::list<std::pair<void *, StackerInfo *> > StackerObjects;
/** Get the stacker info for an item, if one doesnt exist it is created
* @param Item The user/channel etc
* @return The stacker info
*/
static StackerInfo *GetInfo(void *Item);
/** Build a list of mode strings to send to the IRCd from the mode stacker
* @param info The stacker info for a channel or user
* @return a list of strings
*/
static std::list<std::string> BuildModeStrings(StackerInfo *info);
/** Add a mode to the stacker, internal use only
* @param bi The client to set the modes from
* @param u The user
* @param um The user mode
* @param Set Adding or removing?
* @param Param A param, if there is one
*/
static void StackerAddInternal(BotInfo *bi, User *u, UserMode *um, bool Set, const std::string &Param);
/** Add a mode to the stacker, internal use only
* @param bi The client to set the modes from
* @param c The channel
* @param cm The channel mode
* @param Set Adding or removing?
* @param Param A param, if there is one
*/
static void StackerAddInternal(BotInfo *bi, Channel *c, ChannelMode *cm, bool Set, const std::string &Param);
/** Really add a mode to the stacker, internal use only
* @param bi The client to set the modes from
* @param Object The object, user/channel
* @param Mode The mode
* @param Set Adding or removing?
* @param Param A param, if there is one
* @param Type The type this is, user or channel
*/
static void StackerAddInternal(BotInfo *bi, void *Object, void *Mode, bool Set, const std::string &Param, StackerType Type);
public:
/* User modes */
static std::map<char, UserMode *> UserModesByChar;
static std::map<UserModeName, UserMode *> UserModesByName;
/* Channel modes */
static std::map<char, ChannelMode *> ChannelModesByChar;
static std::map<ChannelModeName, ChannelMode *> ChannelModesByName;
/* Although there are two different maps for UserModes and ChannelModes
* the pointers in each are the same. This is used to increase
* efficiency.
*/
/* List of all modes Anope knows about */
static std::list<Mode *> Modes;
/** Add a user mode to Anope
* @param um A UserMode or UserMode derived class
* @return true on success, false on error
*/
static bool AddUserMode(UserMode *um);
/** Add a channel mode to Anope
* @param cm A ChannelMode or ChannelMode derived class
* @return true on success, false on error
*/
static bool AddChannelMode(ChannelMode *cm);
/** Find a channel mode
* @param Mode The mode
* @return The mode class
*/
static ChannelMode *FindChannelModeByChar(char Mode);
/** Find a user mode
* @param Mode The mode
* @return The mode class
*/
static UserMode *FindUserModeByChar(char Mode);
/** Find a channel mode
* @param Mode The modename
* @return The mode class
*/
static ChannelMode *FindChannelModeByName(ChannelModeName Name);
/** Find a user mode
* @param Mode The modename
* @return The mode class
*/
static UserMode *FindUserModeByName(UserModeName Name);
/** Gets the channel mode char for a symbol (eg + returns v)
* @param Value The symbol
* @return The char
*/
static char GetStatusChar(char Value);
/** Add a mode to the stacker to be set on a channel
* @param bi The client to set the modes from
* @param c The channel
* @param cm The channel mode
* @param Set true for setting, false for removing
* @param Param The param, if there is one
*/
static void StackerAdd(BotInfo *bi, Channel *c, ChannelMode *cm, bool Set, const std::string &Param = "");
/** Add a mode to the stacker to be set on a channel
* @param bi The client to set the modes from
* @param c The channel
* @param Name The channel mode name
* @param Set true for setting, false for removing
* @param Param The param, if there is one
*/
static void StackerAdd(BotInfo *bi, Channel *c, ChannelModeName Name, bool Set, const std::string &Param = "");
/** Add a mode to the stacker to be set on a channel
* @param bi The client to set the modes from
* @param c The channel
* @param Mode The mode char
* @param Set true for setting, false for removing
* @param Param The param, if there is one
*/
static void StackerAdd(BotInfo *bi, Channel *c, const char Mode, bool Set, const std::string &Param = "");
/** Add a mode to the stacker to be set on a user
* @param bi The client to set the modes from
* @param u The user
* @param um The user mode
* @param Set true for setting, false for removing
* @param param The param, if there is one
*/
static void StackerAdd(BotInfo *bi, User *u, UserMode *um, bool Set, const std::string &Param = "");
/** Add a mode to the stacker to be set on a user
* @param bi The client to set the modes from
* @param u The user
* @param Name The user mode name
* @param Set true for setting, false for removing
* @param Param The param, if there is one
*/
static void StackerAdd(BotInfo *bi, User *u, UserModeName Name, bool Set, const std::string &Param = "");
/** Add a mode to the stacker to be set on a user
* @param bi The client to set the modes from
* @param u The user
* @param Mode The mode to be set
* @param Set true for setting, false for removing
* @param Param The param, if there is one
*/
static void StackerAdd(BotInfo *bi, User *u, const char Mode, bool Set, const std::string &Param = "");
/** Process all of the modes in the stacker and send them to the IRCd to be set on channels/users
*/
static void ProcessModes();
};
-5
View File
@@ -5,12 +5,7 @@
#include "commands.h"
#include "language.h"
#include "modules.h"
#include "depricated.h"
#include "version.h"
#define MOD_UNIQUE 0
#define MOD_HEAD 1
#define MOD_TAIL 2
#endif
+1257 -264
View File
File diff suppressed because it is too large Load Diff
+66
View File
@@ -0,0 +1,66 @@
/*
* Copyright (C) 2008-2010 Robin Burchell <w00t@inspircd.org>
* Copyright (C) 2008-2010 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*
*
* $Id$
*
*/
#include "hashcomp.h"
class CoreExport OperType
{
private:
/** The name of this opertype, e.g. "sra".
*/
ci::string name;
/** Privs that this opertype may use, e.g. 'users/auspex'.
* This *must* be std::list, see commands comment for details.
*/
std::list<std::string> privs;
/** Commands this user may execute, e.g:
* botserv/set/ *, botserv/set/private, botserv/ *
* et cetera.
*
* This *must* be std::list, not std::map, because
* we support full globbing here. This shouldn't be a problem
* as we don't invoke it often.
*/
std::list<std::string> commands;
public:
/** Create a new opertype of the given name.
* @param nname The opertype name, e.g. "sra".
*/
OperType(const ci::string &nname);
/** Check whether this opertype has access to run the given command string.
* @param cmdstr The string to check, e.g. botserv/set/private.
* @return True if this opertype may run the specified command, false otherwise.
*/
bool HasCommand(const std::string &cmdstr) const;
/** Check whether this opertype has access to the given special permission.
* @param privstr The priv to check for, e.g. users/auspex.
* @return True if this opertype has the specified priv, false otherwise.
*/
bool HasPriv(const std::string &privstr) const;
/** Add the specified command to this opertype.
* @param cmdstr The command mask to grant this opertype access to, e.g: nickserv/ *, chanserv/set/ *, botserv/set/private.
*/
void AddCommand(const std::string &cmdstr);
/** Add the specified priv mask to this opertype.
* @param privstr The specified mask of privs to grant this opertype access to, e.g. users/auspex, users/ *, etc.
*/
void AddPriv(const std::string &privstr);
/** Returns the name of this opertype.
*/
const ci::string &GetName() const;
};
+4 -5
View File
@@ -1,19 +1,18 @@
/* Include extra includes needed by most/all pseudo-clients.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
#include "commands.h"
#include "language.h"
#include "timeout.h"
#include "encrypt.h"
#include "datafiles.h"
#include "timers.h"
#include "slist.h"
+300
View File
@@ -0,0 +1,300 @@
/* Modular support
*
* (C) 2008-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* $Id$
*
*/
/** Flags used for the ChannelInfo class
*/
enum ChannelInfoFlag
{
CI_BEGIN,
/* ChanServ is currently holding the channel */
CI_INHABIT,
/* Retain the topic even after the channel is emptied */
CI_KEEPTOPIC,
/* Don't allow non-authorized users to be opped */
CI_SECUREOPS,
/* Hide channel from ChanServ LIST command */
CI_PRIVATE,
/* Topic can only be changed by SET TOPIC */
CI_TOPICLOCK,
/* Only users on the access list may join */
CI_RESTRICTED,
/* Don't allow ChanServ and BotServ commands to do bad things to users with higher access levels */
CI_PEACE,
/* Don't allow any privileges unless a user is IDENTIFIED with NickServ */
CI_SECURE,
/* Don't allow the channel to be registered or used */
CI_FORBIDDEN,
/* Channel does not expire */
CI_NO_EXPIRE,
/* Channel memo limit may not be changed */
CI_MEMO_HARDMAX,
/* Send notice to channel on use of OP/DEOP */
CI_OPNOTICE,
/* Stricter control of channel founder status */
CI_SECUREFOUNDER,
/* Sign kicks with the user who did the kick */
CI_SIGNKICK,
/* Sign kicks if level is < than the one defined by the SIGNKIGK level */
CI_SIGNKICK_LEVEL,
/* Uses XOP */
CI_XOP,
/* Channel is suspended */
CI_SUSPENDED,
/* Channel still exists when emptied, this can be caused by setting a perm
* channel mode (+P on InspIRCd) or /cs set #chan persist on.
* This keeps the service bot in the channel regardless if a +P type mode
* is set or not
*/
CI_PERSIST,
CI_END
};
class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag>
{
private:
std::map<ChannelModeName, std::string> Params; /* Map of parameters by mode name for mlock */
std::vector<ChanAccess *> access; /* List of authorized users */
std::vector<AutoKick *> akick; /* List of users to kickban */
std::vector<BadWord *> badwords; /* List of badwords */
std::bitset<128> mlock_on; /* Modes mlocked on */
std::bitset<128> mlock_off; /* Modes mlocked off */
public:
/** Default constructor
* @param chname The channel name
*/
ChannelInfo(const std::string &chname);
/** Default destructor
*/
~ChannelInfo();
ChannelInfo *next, *prev;
std::string name; /* Channel name */
NickCore *founder;
NickCore *successor; /* Who gets the channel if the founder
* nick is dropped or expires */
char *desc;
char *url;
char *email;
time_t time_registered;
time_t last_used;
char *last_topic; /* Last topic on the channel */
std::string last_topic_setter; /* Who set the last topic */
time_t last_topic_time; /* When the last topic was set */
char *forbidby;
char *forbidreason;
int16 bantype;
int16 *levels; /* Access levels for commands */
char *entry_message; /* Notice sent on entering channel */
MemoInfo memos;
Channel *c; /* Pointer to channel record (if *
* channel is currently in use) */
/* For BotServ */
BotInfo *bi; /* Bot used on this channel */
Flags<BotServFlag> botflags;
int16 *ttb; /* Times to ban for each kicker */
int16 capsmin, capspercent; /* For CAPS kicker */
int16 floodlines, floodsecs; /* For FLOOD kicker */
int16 repeattimes; /* For REPEAT kicker */
/** Add an entry to the channel access list
*
* @param nc The NickCore of the user that the access entry should be tied to
* @param level The channel access level the user has on the channel
* @param creator The user who added the access
* @param last_seen When the user was last seen within the channel
*
* Creates a new access list entry and inserts it into the access list.
*/
void AddAccess(NickCore *nc, int16 level, const std::string &creator, int32 last_seen = 0);
/** Get an entry from the channel access list by index
*
* @param index The index in the access list vector
* @return A ChanAccess struct corresponding to the index given, or NULL if outside the bounds
*
* Retrieves an entry from the access list that matches the given index.
*/
ChanAccess *GetAccess(unsigned index);
/** Get an entry from the channel access list by NickCore
*
* @param nc The NickCore to find within the access list vector
* @param level Optional channel access level to compare the access entries to
* @return A ChanAccess struct corresponding to the NickCore, or NULL if not found
*
* Retrieves an entry from the access list that matches the given NickCore, optionally also matching a certain level.
*/
ChanAccess *GetAccess(NickCore *nc, int16 level = 0);
/** Get the size of the accss vector for this channel
* @return The access vector size
*/
const unsigned GetAccessCount() const;
/** Erase an entry from the channel access list
*
* @param index The index in the access list vector
*
* Clears the memory used by the given access entry and removes it from the vector.
*/
void EraseAccess(unsigned index);
/** Cleans the channel access list
*
* Cleans up the access list so it no longer contains entries no longer in use.
*/
void CleanAccess();
/** Clear the entire channel access list
*
* Clears the entire access list by deleting every item and then clearing the vector.
*/
void ClearAccess();
/** Add an akick entry to the channel by NickCore
* @param user The user who added the akick
* @param akicknc The nickcore being akicked
* @param reason The reason for the akick
* @param t The time the akick was added, defaults to now
* @param lu The time the akick was last used, defaults to never
*/
AutoKick *AddAkick(const std::string &user, NickCore *akicknc, const std::string &reason, time_t t = time(NULL), time_t lu = 0);
/** Add an akick entry to the channel by reason
* @param user The user who added the akick
* @param mask The mask of the akick
* @param reason The reason for the akick
* @param t The time the akick was added, defaults to now
* @param lu The time the akick was last used, defaults to never
*/
AutoKick *AddAkick(const std::string &user, const std::string &mask, const std::string &reason, time_t t = time(NULL), time_t lu = 0);
/** Get an entry from the channel akick list
* @param index The index in the akick vector
* @return The akick structure, or NULL if not found
*/
AutoKick *GetAkick(unsigned index);
/** Get the size of the akick vector for this channel
* @return The akick vector size
*/
const unsigned GetAkickCount() const;
/** Erase an entry from the channel akick list
* @param akick The akick
*/
void EraseAkick(AutoKick *akick);
/** Clear the whole akick list
*/
void ClearAkick();
/** Clean all of the nonused entries from the akick list
*/
void CleanAkick();
/** Add a badword to the badword list
* @param word The badword
* @param type The type (SINGLE START END)
* @return The badword
*/
BadWord *AddBadWord(const std::string &word, BadWordType type);
/** Get a badword structure by index
* @param index The index
* @return The badword
*/
BadWord *GetBadWord(unsigned index);
/** Get how many badwords are on this channel
* @return The number of badwords in the vector
*/
const unsigned GetBadWordCount() const;
/** Remove a badword
* @param badword The badword
*/
void EraseBadWord(BadWord *badword);
/** Clear all badwords from the channel
*/
void ClearBadWords();
/** Clean all of the nonused entries from the badwords list
*/
void CleanBadWords();
/** Check if a mode is mlocked
* @param Name The mode
* @param status True to check mlock on, false for mlock off
* @return true on success, false on fail
*/
const bool HasMLock(ChannelModeName Name, bool status);
/** Set a mlock
* @param Name The mode
* @param status True for mlock on, false for mlock off
* @param param An optional param arg for + mlocked modes
* @return true on success, false on failure (module blocking)
*/
bool SetMLock(ChannelModeName Name, bool status, const std::string param = "");
/** Remove a mlock
* @param Name The mode
* @return true on success, false on failure (module blcoking)
*/
bool RemoveMLock(ChannelModeName Name);
/** Clear all mlocks on the channel
*/
void ClearMLock();
/** Get the number of mlocked modes for this channel
* @param status true for mlock on, false for mlock off
* @return The number of mlocked modes
*/
const size_t GetMLockCount(bool status) const;
/** Get a param from the channel
* @param Name The mode
* @param Target a string to put the param into
* @return true on success
*/
const bool GetParam(ChannelModeName Name, std::string &Target);
/** Check if a mode is set and has a param
* @param Name The mode
*/
const bool HasParam(ChannelModeName Name);
/** Clear all the params from the channel
*/
void ClearParams();
/** Check whether a user is permitted to be on this channel
* @param u The user
* @return true if they are allowed, false if they aren't and were kicked
*/
bool CheckKick(User *user);
};
+8 -8
View File
@@ -2,19 +2,19 @@
// Microsoft Developer Studio generated include file.
// Used by Win32GUI.rc
//
#define VER_ANOPE 1
#define MANIFEST_RESOURCE_ID 2
#define ICON_APP 129
#define VER_ANOPE 1
#define MANIFEST_RESOURCE_ID 2
#define ICON_APP 129
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 152
#define _APS_NEXT_COMMAND_VALUE 40061
#define _APS_NEXT_CONTROL_VALUE 1167
#define _APS_NEXT_SYMED_VALUE 104
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 152
#define _APS_NEXT_COMMAND_VALUE 40061
#define _APS_NEXT_CONTROL_VALUE 1167
#define _APS_NEXT_SYMED_VALUE 104
#endif
#endif
+881 -1067
View File
File diff suppressed because it is too large Load Diff
+4 -3
View File
@@ -1,13 +1,14 @@
/* Header for Services list handler.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
@@ -31,7 +32,7 @@ struct slistopts_ {
int32 flags; /* Flags for the list. See below. */
int (*compareitem) (SList *slist, void *item1, void *item2); /* Called to compare two items */
int (*isequal) (SList *slist, void *item1, void *item2); /* Called by slist_indexof. item1 can be an arbitrary pointer. */
int (*isequal) (SList *slist, void *item1, void *item2); /* Called by slist_indexof. item1 can be an arbitrary pointer. */
void (*freeitem) (SList *slist, void *item); /* Called when an item is removed */
};
+166 -28
View File
@@ -1,9 +1,9 @@
/*
*
* (C) 2004-2014 Anope Team
* (C) 2004-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
@@ -15,33 +15,171 @@
#define SOCKETS_H
#ifdef _WIN32
typedef SOCKET ano_socket_t;
#define ano_sockread(fd, buf, len) recv(fd, buf, len, 0)
#define ano_sockwrite(fd, buf, len) send(fd, buf, len, 0)
#define ano_sockclose(fd) closesocket(fd)
#define ano_sockgeterr() WSAGetLastError()
#define ano_sockseterr(err) WSASetLastError(err)
/* ano_sockstrerror in sockutil.c */
/* ano_socksetnonb in sockutil.c */
#define ano_sockerrnonb(err) (err == WSAEINPROGRESS || err == WSAEWOULDBLOCK)
#define SOCKERR_EBADF WSAENOTSOCK
#define SOCKERR_EINTR WSAEINTR
#define SOCKERR_EINVAL WSAEINVAL
#define SOCKERR_EINPROGRESS WSAEINPROGRESS
#define CloseSocket closesocket
#else
typedef int ano_socket_t;
#define ano_sockread(fd, buf, len) read(fd, buf, len)
#define ano_sockwrite(fd, buf, len) write(fd, buf, len)
#define ano_sockclose(fd) close(fd)
#define ano_sockgeterr() errno
#define ano_sockseterr(err) errno = err
#define ano_sockstrerror(err) strerror(err)
#define ano_socksetnonb(fd) fcntl(fd, F_SETFL, O_NONBLOCK)
#define ano_sockerrnonb(err) (err == EINPROGRESS)
#define SOCKERR_EBADF EBADF
#define SOCKERR_EINTR EINTR
#define SOCKERR_EINVAL EINVAL
#define SOCKERR_EINPROGRESS EINPROGRESS
#define CloseSocket close
#endif
class SocketException : public CoreException
{
public:
/** Default constructor for socket exceptions
* @param message Error message
*/
SocketException(const std::string &message) : CoreException(message) { }
/** Default destructor
* @throws Nothing
*/
virtual ~SocketException() throw() { }
};
class CoreExport Socket
{
private:
/** Read from the socket
* @param buf Buffer to read to
* @param sz How much to read
* @return Number of bytes recieved
*/
virtual int RecvInternal(char *buf, size_t sz) const;
/** Write to the socket
* @param buf What to write
* @return Number of bytes sent, -1 on error
*/
virtual int SendInternal(const std::string &buf) const;
protected:
/* Socket FD */
int Sock;
/* Host this socket is connected to */
std::string TargetHost;
/* Port we're connected to */
int Port;
/* IP this socket is bound to */
std::string BindHost;
/* Is this an IPv6 socket? */
bool IPv6;
/* Messages to be written to the socket */
std::string WriteBuffer;
/* Part of a message not totally yet recieved */
std::string extrabuf;
/* How much data was recieved from the socket */
size_t RecvLen;
public:
/** Default constructor
* @param nTargetHost Hostname to connect to
* @param nPort Port to connect to
* @param nBindHos Host to bind to when connecting
* @param nIPv6 true to use IPv6
*/
Socket(const std::string &nTargetHost, int nPort, const std::string &nBindHost = "", bool nIPv6 = false);
/** Default destructor
*/
virtual ~Socket();
/** Get the socket FD for this socket
* @return The fd
*/
virtual int GetSock() const;
/** Check if this socket is IPv6
* @return true or false
*/
bool IsIPv6() const;
/** Called when there is something to be read from thie socket
* @return true on success, false to kill this socket
*/
virtual bool ProcessRead();
/** Called when this socket becomes writeable
* @return true on success, false to drop this socket
*/
virtual bool ProcessWrite();
/** Called when there is an error on this socket
*/
virtual void ProcessError();
/** Called with a message recieved from the socket
* @param buf The message
* @return true on success, false to kill this socket
*/
virtual bool Read(const std::string &buf);
/** Write to the socket
* @param message The message to write
*/
void Write(const char *message, ...);
void Write(std::string &message);
/** Get the length of the read buffer
* @return The length of the read buffer
*/
size_t ReadBufferLen() const;
/** Get the length of the write buffer
* @return The length of the write buffer
*/
size_t WriteBufferLen() const;
};
class CoreExport SocketEngine
{
private:
/* List of sockets that need to be deleted */
std::set<Socket *> OldSockets;
/* FDs to read */
fd_set ReadFDs;
/* FDs that want writing */
fd_set WriteFDs;
/* Max FD */
int MaxFD;
/** Unmark a socket as writeable
* @param s The socket
*/
void ClearWriteable(Socket *s);
public:
/* Set of sockets */
std::set<Socket *> Sockets;
/** Constructor
*/
SocketEngine();
/** Destructor
*/
virtual ~SocketEngine();
/** Add a socket to the socket engine
* @param s The socket
*/
void AddSocket(Socket *s);
/** Delete a socket from the socket engine
* @param s The socket
*/
void DelSocket(Socket *s);
/** Mark a socket as wanting to be written to
* @param s The socket
*/
void MarkWriteable(Socket *s);
/** Called to iterate through each socket and check for activity
*/
void Process();
/** Get the last socket error
* @return The error
*/
const std::string GetError() const;
};
#endif
+121
View File
@@ -0,0 +1,121 @@
#ifndef _SYSCONF_H_
#define _SYSCONF_H_
#cmakedefine DEFUMASK @DEFUMASK@
#cmakedefine HAVE_SYS_TYPES_H 1
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_STDDEF_H 1
#cmakedefine HAVE_BACKTRACE 1
#cmakedefine HAVE_GETHOSTBYNAME 1
#cmakedefine HAVE_GETTIMEOFDAY 1
#cmakedefine HAVE_SETGRENT 1
#cmakedefine HAVE_STRCASECMP 1
#cmakedefine HAVE_STRICMP 1
#cmakedefine HAVE_STRINGS_H 1
#cmakedefine HAVE_STRLCAT 1
#cmakedefine HAVE_STRLCPY 1
#cmakedefine HAVE_SYS_SELECT_H 1
#cmakedefine HAVE_UMASK 1
#cmakedefine RUNGROUP "@RUNGROUP@"
#cmakedefine SERVICES_BIN "@SERVICES_BIN@"
#cmakedefine HAVE_UINT8_T 1
#cmakedefine HAVE_U_INT8_T 1
#cmakedefine HAVE_INT16_T 1
#cmakedefine HAVE_UINT16_T 1
#cmakedefine HAVE_U_INT16_T 1
#cmakedefine HAVE_INT32_T 1
#cmakedefine HAVE_UINT32_T 1
#cmakedefine HAVE_U_INT32_T 1
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
#ifdef HAVE_UINT8_T
typedef uint8_t uint8;
#else
# ifdef HAVE_U_INT8_T
typedef u_int8_t uint8;
# else
# ifdef _WIN32
typedef unsigned __int8 uint8;
# else
typedef unsigned short uint8;
# endif
# endif
#endif
#ifdef HAVE_INT16_T
typedef int16_t int16;
#else
# ifdef _WIN32
typedef signed __int16 int16;
# else
typedef int int16;
# endif
#endif
#ifdef HAVE_UINT16_T
typedef uint16_t uint16;
#else
# ifdef HAVE_U_INT16_T
typedef u_int16_t uint16;
# else
# ifdef _WIN32
typedef unsigned __int16 uint16;
# else
typedef unsigned int uint16;
# endif
# endif
#endif
#ifdef HAVE_INT32_T
typedef int32_t int32;
#else
# ifdef _WIN32
typedef signed __int32 int32;
# else
typedef long int32;
# endif
#endif
#ifdef HAVE_UINT32_T
typedef uint32_t uint32;
#else
# ifdef HAVE_U_INT32_T
typedef u_int32_t uint32;
# else
# ifdef _WIN32
typedef unsigned __int32 uint32;
# else
typedef unsigned long uint32;
# endif
# endif
#endif
#ifdef _WIN32
# ifdef MSVCPP
# define snprintf _snprintf
# endif
# define popen _popen
# define pclose _pclose
# define ftruncate _chsize
# ifdef MSVCPP
# define PATH_MAX MAX_PATH
# endif
# define MAXPATHLEN MAX_PATH
# define bzero(buf, size) memset(buf, 0, size)
# ifdef MSVCPP
# define strcasecmp stricmp
# endif
# define sleep(x) Sleep(x * 1000)
#endif
#endif
+108 -214
View File
@@ -1,227 +1,121 @@
/* include/sysconf.h.in. Generated from configure.in by autoheader. */
#ifndef _SYSCONF_H_
#define _SYSCONF_H_
/* "Default umask Permissions" */
#undef DEFUMASK
/* "No prefix needed for dlopen" */
#undef DL_PREFIX
/* "Has sys/types.h" */
#undef HAS_SYS_TYPES_H
/* "" */
#undef HAVE_BACKTRACE
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
/* Define to 1 if you have the `gethostbyname' function. */
#undef HAVE_GETHOSTBYNAME
/* Define to 1 if you have the `gethostbyname_r' function. */
#undef HAVE_GETHOSTBYNAME_R
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `setgrent' function. */
#undef HAVE_SETGRENT
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR
/* Define to 1 if you have the `stricmp' function. */
#undef HAVE_STRICMP
/* "" */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the `strlcat' function. */
#undef HAVE_STRLCAT
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
/* Define to 1 if you have the `strsignal' function. */
#undef HAVE_STRSIGNAL
/* Define to 1 if you have the `strspn' function. */
#undef HAVE_STRSPN
/* Define to 1 if you have the `sys_errlist' function. */
#undef HAVE_SYS_ERRLIST
/* "" */
#undef HAVE_SYS_SELECT_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the `umask' function. */
#undef HAVE_STDINT_H
#undef HAVE_STDDEF_H
#undef HAVE_BACKTRACE
#undef HAVE_GETHOSTBYNAME
#undef HAVE_GETTIMEOFDAY
#undef HAVE_SETGRENT
#undef HAVE_STRCASECMP
#undef HAVE_STRICMP
#undef HAVE_STRINGS_H
#undef HAVE_STRLCAT
#undef HAVE_STRLCPY
#undef HAVE_SYS_SELECT_H
#undef HAVE_UMASK
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* va_list as array */
#undef HAVE_VA_LIST_AS_ARRAY
/* "Module dir" */
#undef MODULE_PATH
/* "Has mysql/mysql.h" */
#undef MYSQL_HEADER_PREFIX
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* "Run group" */
#undef RUNGROUP
#define SERVICES_BIN "services"
/* "Binary Dir" */
#undef SERVICES_BIN
/* "services bin dir" */
#undef SERVICES_DIR
/* The size of a `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of a `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of a `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* "modules not available" */
#undef STATIC_LINKING
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* "Modules available" */
#undef USE_MODULES
/* "Use Mysql" */
#undef USE_MYSQL
/* "Use RDB" */
#undef USE_RDB
/* Define to `short' if <sys/types.h> does not define. */
#undef int16_t
/* Define to `long' if <sys/types.h> does not define. */
#undef int32_t
/* Define to `unsigned short' if <sys/types.h> does not define. */
#undef u_int16_t
/* Define to `unsigned long' if <sys/types.h> does not define. */
#undef u_int32_t
/* Static config, copy from here to below before running autoheader! */
#ifndef BIG_ENDIAN
/* Big Endian system */
#undef BIG_ENDIAN
#undef HAVE_UINT8_T
#undef HAVE_U_INT8_T
#undef HAVE_INT16_T
#undef HAVE_UINT16_T
#undef HAVE_U_INT16_T
#undef HAVE_INT32_T
#undef HAVE_UINT32_T
#undef HAVE_U_INT32_T
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
#ifndef LITTLE_ENDIAN
/* Little Endian system */
#undef LITTLE_ENDIAN
#ifdef HAVE_UINT8_T
typedef uint8_t uint8;
#else
# ifdef HAVE_U_INT8_T
typedef u_int8_t uint8;
# else
# ifdef _WIN32
typedef unsigned __int8 uint8;
# else
typedef unsigned short uint8;
# endif
# endif
#endif
/**
* NOTE: BIG_ENDIAN and LITTLE_ENDIAN defines should not be left in
* by autoheader as they may be defined or may not be, as such we check
* if there defined before messing with them!
**/
#ifdef HAS_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef __STRICT_ANSI__
#include <stdarg.h>
#include <stdio.h>
/* We KNOW these are not ansi, we are defining them here to suppress the warning
* * s messages on a "make strict" compile */
#ifndef snprintf
int snprintf(char *str, size_t size, const char *format, ...);
#endif
#ifndef vprintf
int vprintf(const char *format, va_list ap);
#endif
#ifndef vfprintf
int vfprintf(FILE *stream, const char *format, va_list ap);
#endif
#ifndef vsprintf
int vsprintf(char *str, const char *format, va_list ap);
#endif
#ifndef vsnprintf
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
#endif
FILE *popen(const char *command, const char *type);
int pclose(FILE *stream);
FILE *fdopen(int fildes, const char *mode);
int ftruncate(int fd, off_t length);
#ifdef HAVE_STRSIGNAL
char *strsignal(int sig);
#endif
#endif
#ifdef HAVE_INT16_T
typedef int16_t int16;
typedef u_int16_t uint16;
typedef int32_t int32;
typedef u_int32_t uint32;
#else
# ifdef _WIN32
typedef signed __int16 int16;
# else
typedef int int16;
# endif
#endif
#ifdef HAVE_UINT16_T
typedef uint16_t uint16;
#else
# ifdef HAVE_U_INT16_T
typedef u_int16_t uint16;
# else
# ifdef _WIN32
typedef unsigned __int16 uint16;
# else
typedef unsigned int uint16;
# endif
# endif
#endif
#ifdef HAVE_INT32_T
typedef int32_t int32;
#else
# ifdef _WIN32
typedef signed __int32 int32;
# else
typedef long int32;
# endif
#endif
#ifdef HAVE_UINT32_T
typedef uint32_t uint32;
#else
# ifdef HAVE_U_INT32_T
typedef u_int32_t uint32;
# else
# ifdef _WIN32
typedef unsigned __int32 uint32;
# else
typedef unsigned long uint32;
# endif
# endif
#endif
#ifdef _WIN32
# ifdef MSVCPP
# define snprintf _snprintf
# endif
# define popen _popen
# define pclose _pclose
# define ftruncate _chsize
# ifdef MSVCPP
# define PATH_MAX MAX_PATH
# endif
# define MAXPATHLEN MAX_PATH
# define bzero(buf, size) memset(buf, 0, size)
# ifdef MSVCPP
# define strcasecmp stricmp
# endif
# define sleep(x) Sleep(x * 1000)
#endif
#endif
-50
View File
@@ -1,50 +0,0 @@
#define SERVICES_DIR "data"
#define SERVICES_BIN "anope.exe"
typedef signed __int16 int16;
typedef signed __int16 int16_t;
typedef unsigned __int16 uint16;
typedef unsigned __int16 u_int16_t;
typedef signed __int32 int32;
typedef signed __int32 int32_t;
typedef unsigned __int32 uint32;
typedef unsigned __int32 u_int32_t;
typedef unsigned __int8 u_int8_t;
#define HAVE_STRINGS_H 0
#define HAVE_SYS_SELECT_H 0
#define HAVE_SYS_SYSPROTO_H 0
#define HAVE_STRERROR 1
#define HAVE_SYS_ERRLIST 0
#define HAVE_SNPRINTF 1
#define BAD_SNPRINTF 0
#define HAVE_STRICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_STRDUP 1
#define HAVE_STRSPN 1
#define HAVE_STRSIGNAL 0
#define HAVE_GETTIMEOFDAY 0
#define HAVE_SETGRENT 0
#define HAVE_UMASK 0
#define HAVE_FORK 0
#define HAVE_GETHOSTBYNAME 1
#define HAVE_BACKTRACE 0
/* Enable Module support */
#define USE_MODULES
#define MODULE_PATH ".\\modules\\"
/* Windows/MSVC likes to name things differently */
#define snprintf _snprintf
#define popen _popen
#define pclose _pclose
#define ftruncate _chsize
#define PATH_MAX MAX_PATH
#define MAXPATHLEN MAX_PATH
#define bzero(buf, size) memset(buf, 0, size)
#define strcasecmp stricmp
#define sleep(x) Sleep(x*1000)
-49
View File
@@ -1,49 +0,0 @@
/* Time-delay routine include stuff.
*
* (C) 2003-2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
*/
#ifndef TIMEOUT_H
#define TIMEOUT_H
#include <time.h>
/* Definitions for timeouts: */
typedef struct timeout_ Timeout;
struct timeout_ {
Timeout *next, *prev;
time_t settime, timeout;
int repeat; /* Does this timeout repeat indefinitely? */
void (*code)(Timeout *); /* This structure is passed to the code */
void *data; /* Can be anything */
};
/* Check the timeout list for any pending actions. */
extern void check_timeouts(void);
/* Add a timeout to the list to be triggered in `delay' seconds. Any
* timeout added from within a timeout routine will not be checked during
* that run through the timeout list.
*/
extern Timeout *add_timeout(int delay, void (*code)(Timeout *), int repeat);
/* Remove a timeout from the list (if it's there). */
extern void del_timeout(Timeout *t);
#ifdef DEBUG_COMMANDS
/* Send the list of timeouts to the given user. */
extern int send_timeout_list(User *u);
#endif
#endif /* TIMEOUT_H */
+116
View File
@@ -0,0 +1,116 @@
/* Timer include stuff.
*
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for furhter details.
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
#ifndef TIMERS_H
#define TIMERS_H
#include "services.h"
#include <time.h>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
class CoreExport Timer : public Extensible
{
private:
/** The time this was created
*/
time_t settime;
/** The triggering time
*/
time_t trigger;
/** Numer of seconds between triggers
*/
long secs;
/** True if this is a repeating timer
*/
bool repeat;
public:
/** Default constructor, initializes the triggering time
* @param time_from_now The number of seconds from now to trigger the timer
* @param now The time now
* @param repeating Repeat this timer every time_from_now if this is true
*/
Timer(long time_from_now, time_t now = time(NULL), bool repeating = false);
/** Default destructor, removes the timer from the list
*/
virtual ~Timer();
/** Set the trigger time to a new value
* @param t The new time
*/
void SetTimer(time_t t);
/** Retrieve the triggering time
* @return The trigger time
*/
const time_t GetTimer();
/** Returns true if the timer is set to repeat
* @return Returns true if the timer is set to repeat
*/
const bool GetRepeat();
/** Returns the interval between ticks
* @return The interval
*/
const long GetSecs();
/** Returns the time this timer was created
* @return The time this timer was created
*/
const time_t GetSetTime();
/** Called when the timer ticks
* This should be overridden with something useful
*/
virtual void Tick(time_t ctime) = 0;
};
/** This class manages sets of Timers, and triggers them at their defined times.
* This will ensure timers are not missed, as well as removing timers that have
* expired and allowing the addition of new ones.
*/
class CoreExport TimerManager : public Extensible
{
protected:
/** A list of timers
*/
static std::vector<Timer *> Timers;
public:
/** Add a timer to the list
* @param T A Timer derived class to add
*/
static void AddTimer(Timer *T);
/** Deletes a timer
* @param T A Timer derived class to delete
*/
static void DelTimer(Timer *T);
/** Tick all pending timers
* @param ctime The current time
*/
static void TickTimers(time_t ctime = time(NULL));
/** Compares two timers
*/
static bool TimerComparison(Timer *one, Timer *two);
};
#endif
+263
View File
@@ -0,0 +1,263 @@
/*
* Copyright (C) 2008-2010 Robin Burchell <w00t@inspircd.org>
* Copyright (C) 2008-2010 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
*
*
* $Id$
*
*/
struct ChannelContainer
{
Channel *chan;
Flags<ChannelModeName> *Status;
ChannelContainer(Channel *c) : chan(c) { }
virtual ~ChannelContainer() { }
};
typedef std::list<ChannelContainer *> UChannelList;
/* Online user and channel data. */
class CoreExport User : public Extensible
{
protected:
std::string vident;
std::string ident;
std::string uid;
bool OnAccess; /* If the user is on the access list of the nick theyre on */
std::bitset<128> modes; /* Bitset of mode names the user has set on them */
std::map<UserModeName, std::string> Params; /* Map of user modes and the params this user has */
NickCore *nc; /* NickCore account the user is currently loggged in as */
public: // XXX: exposing a tiny bit too much
User *next, *prev;
std::string nick; /* User's current nick */
char *host; /* User's real hostname */
char *hostip; /* User's IP number */
char *vhost; /* User's virtual hostname */
std::string chost; /* User's cloaked hostname */
char *realname; /* Realname */
Server *server; /* Server user is connected to */
time_t timestamp; /* Timestamp of the nick */
time_t my_signon; /* When did _we_ see the user? */
int isSuperAdmin; /* is SuperAdmin on or off? */
/* Channels the user is in */
UChannelList chans;
unsigned short invalid_pw_count; /* # of invalid password attempts */
time_t invalid_pw_time; /* Time of last invalid password */
time_t lastmemosend; /* Last time MS SEND command used */
time_t lastnickreg; /* Last time NS REGISTER cmd used */
time_t lastmail; /* Last time this user sent a mail */
/****************************************************************/
/** Create a new user object, initialising necessary fields and
* adds it to the hash
*
* @param nick The nickname of the user.
* @param uid The unique identifier of the user.
*/
User(const std::string &nick, const std::string &uid);
/** Destroy a user.
*/
~User();
/** Update the nickname of a user record accordingly, should be
* called from ircd protocol.
*/
virtual void SetNewNick(const std::string &newnick);
/** Update the displayed (vhost) of a user record.
* This is used (if set) instead of real host.
* @param host The new displayed host to give the user.
*/
void SetDisplayedHost(const std::string &host);
/** Get the displayed vhost of a user record.
* @return The displayed vhost of the user, where ircd-supported, or the user's real host.
*/
const std::string GetDisplayedHost() const;
/** Update the cloaked host of a user
* @param host The cloaked host
*/
void SetCloakedHost(const std::string &newhost);
/** Get the cloaked host of a user
* @return The cloaked host
*/
const std::string &GetCloakedHost() const;
/** Retrieves the UID of the user, where applicable, if set.
* This is not used on some IRCds, but is for a lot e.g. P10, TS6 protocols.
* @return The UID of the user.
*/
const std::string &GetUID() const;
/** Update the displayed ident (username) of a user record.
* @param ident The new ident to give this user.
*/
void SetVIdent(const std::string &ident);
/** Get the displayed ident (username) of this user.
* @return The displayed ident of this user.
*/
const std::string &GetVIdent() const;
/** Update the real ident (username) of a user record.
* @param ident The new ident to give this user.
* NOTE: Where possible, you should use the Get/SetVIdent() equivilants.
*/
void SetIdent(const std::string &ident);
/** Get the real ident (username) of this user.
* @return The displayed ident of this user.
* NOTE: Where possible, you should use the Get/SetVIdent() equivilants.
*/
const std::string &GetIdent() const;
/** Get the full mask ( nick!ident@realhost ) of a user
*/
const std::string GetMask();
/** Updates the realname of the user record.
*/
void SetRealname(const std::string &realname);
/**
* Send a message (notice or privmsg, depending on settings) to a user
* @param source Sender nick
* @param fmt Format of the Message
* @param ... any number of parameters
*/
virtual void SendMessage(const std::string &source, const char *fmt, ...);
virtual void SendMessage(const std::string &source, const std::string &msg);
/** Collide a nick
* See the comment in users.cpp
* @param na The nick
*/
void Collide(NickAlias *na);
/** Check if the user should become identified because
* their svid matches the one stored in their nickcore
* @param svid Services id
*/
void CheckAuthenticationToken(const char *svid);
/** Auto identify the user to the given accountname.
* @param account Display nick of account
*/
void AutoID(const std::string &account);
/** Login the user to a NickCore
* @param core The account the user is useing
*/
void Login(NickCore *core);
/** Logout the user
*/
void Logout();
/** Get the account the user is logged in using
* @reurn The account or NULL
*/
virtual NickCore *Account() const;
/** Check if the user is identified for their nick
* @param CheckNick True to check if the user is identified to the nickname they are on too
* @return true or false
*/
virtual const bool IsIdentified(bool CheckNick = false) const;
/** Check if the user is recognized for their nick (on the nicks access list)
* @return true or false
*/
virtual const bool IsRecognized() const;
/** Update the last usermask stored for a user, and check to see if they are recognized
*/
void UpdateHost();
/** Check if the user has a mode
* @param Name Mode name
* @return true or false
*/
const bool HasMode(UserModeName Name) const;
/** Set a mode internally on the user, the IRCd is not informed
* @param um The user mode
* @param Param The param, if there is one
*/
void SetModeInternal(UserMode *um, const std::string &Param = "");
/** Remove a mode internally on the user, the IRCd is not informed
* @param um The user mode
*/
void RemoveModeInternal(UserMode *um);
/** Set a mode on the user
* @param bi The client setting the mode
* @param um The user mode
* @param Param Optional param for the mode
*/
void SetMode(BotInfo *bi, UserMode *um, const std::string &Param = "");
/** Set a mode on the user
* @param bi The client setting the mode
* @param Name The mode name
* @param Param Optional param for the mode
*/
void SetMode(BotInfo *bi, UserModeName Name, const std::string &Param = "");
/* Set a mode on the user
* @param bi The client setting the mode
* @param ModeChar The mode char
* @param param Optional param for the mode
*/
void SetMode(BotInfo *bi, char ModeChar, const std::string &Param = "");
/** Remove a mode on the user
* @param bi The client setting the mode
* @param um The user mode
*/
void RemoveMode(BotInfo *bi, UserMode *um);
/** Remove a mode from the user
* @param bi The client setting the mode
* @param Name The mode name
*/
void RemoveMode(BotInfo *bi, UserModeName Name);
/** Remove a mode from the user
* @param bi The client setting the mode
* @param ModeChar The mode char
*/
void RemoveMode(BotInfo *bi, char ModeChar);
/** Set a string of modes on a user
* @param bi The client setting the mode
* @param modes The modes
*/
void SetModes(BotInfo *bi, const char *modes, ...);
/** Find the channel container for Channel c that the user is on
* This is preferred over using FindUser in Channel, as there are usually more users in a channel
* than channels a user is in
* @param c The channel
* @return The channel container, or NULL
*/
ChannelContainer *FindChannel(Channel *c);
};
+13 -26
View File
@@ -3,8 +3,12 @@
# Build version string and increment Services build number.
#
if [ $# -lt 2 ] ; then
echo "Syntax: $0 <version.log> <version.h>"
exit 1
fi
# Grab version information from the version control file.
CTRL="../version.log"
CTRL="$1"
if [ -f $CTRL ] ; then
. $CTRL
else
@@ -15,8 +19,9 @@ fi
VERSION="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_EXTRA} (${VERSION_BUILD})"
VERSIONDOTTED="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_EXTRA}.${VERSION_BUILD}"
if [ -f version.h ] ; then
BUILD=`fgrep '#define BUILD' version.h | sed 's/^#define BUILD.*\([0-9]*\).*$/\1/'`
VERSIONH="$2"
if [ -f $VERSIONH ] ; then
BUILD=`fgrep '#define BUILD' $VERSIONH | cut -f2 -d\"`
BUILD=`expr $BUILD + 1 2>/dev/null`
else
BUILD=1
@@ -24,24 +29,24 @@ fi
if [ ! "$BUILD" ] ; then
BUILD=1
fi
cat >version.h <<EOF
cat >$VERSIONH <<EOF
/* Version information for Services.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and CREDITS for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* Based on the original code of Services by Andy Church.
*
* This file is auto-generated by version.sh
*
*/
#ifndef VERSION_H
#define VERSION_H
#define VERSION_MAJOR $VERSION_MAJOR
#define VERSION_MINOR $VERSION_MINOR
#define VERSION_PATCH $VERSION_PATCH
@@ -52,12 +57,6 @@ cat >version.h <<EOF
#define VERSION_STRING "$VERSION"
#define VERSION_STRING_DOTTED "$VERSIONDOTTED"
#ifdef DEBUG_COMMANDS
# define VER_DEBUG "D"
#else
# define VER_DEBUG
#endif
#if defined(_WIN32)
# if _MSC_VER >= 1400
# define VER_OS "W"
@@ -68,18 +67,6 @@ cat >version.h <<EOF
# define VER_OS
#endif
#if defined(USE_MYSQL)
# define VER_MYSQL "Q"
#else
# define VER_MYSQL
#endif
#if defined(USE_MODULES)
# define VER_MODULE "M"
#else
# define VER_MODULE
#endif
#endif
EOF
+150 -138
View File
@@ -1,9 +1,9 @@
/* version file handler for win32.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
@@ -16,8 +16,8 @@
#include <stdio.h>
#include <string.h>
#define CTRL "version.log"
#include <cstdlib>
#include <cctype>
long version_major, version_minor, version_patch, version_build, build;
char *version_extra = NULL;
@@ -30,197 +30,209 @@ long get_value(char *);
char *get_value_str(char *);
char *strip(char *);
void parse_version(FILE *);
void write_version(FILE *);
void write_version(FILE *, const char *);
void parse_line(FILE *, char *);
int main()
int main(int argc, char *argv[])
{
FILE *fd = fopen(CTRL, "r");
if (argc < 4) {
fprintf(stderr, "Syntax: %s <version.log> <version.sh> <version.h>\n", argv[0]);
exit(1);
}
FILE *fd = fopen(argv[1], "r");
if (!fd) {
fprintf(stderr, "Error: Unable to find control file: " CTRL "\n");
exit(0);
}
if (!fd) {
fprintf(stderr, "Error: Unable to find control file: %s\n", argv[1]);
exit(0);
}
load_ctrl(fd);
fclose(fd);
load_ctrl(fd);
fclose(fd);
_snprintf(version, 1024, "%d.%d.%d%s (%d)", version_major, version_minor,
version_patch, (version_extra ? version_extra : ""), version_build);
_snprintf(version, 1024, "%ld.%ld.%ld%s (%ld)", version_major, version_minor,
version_patch, (version_extra ? version_extra : ""), version_build);
_snprintf(version_dotted, 1024, "%d.%d.%d%s.%d", version_major, version_minor,
version_patch, (version_extra ? version_extra : ""), version_build);
_snprintf(version_dotted, 1024, "%ld.%ld.%ld%s.%ld", version_major, version_minor,
version_patch, (version_extra ? version_extra : ""), version_build);
fd = fopen("version.h", "r");
fd = fopen(argv[3], "r");
if (fd) {
parse_version(fd);
fclose(fd);
} else
build = 1;
if (fd) {
parse_version(fd);
fclose(fd);
} else
build = 1;
fd = fopen("version.h", "w");
write_version(fd);
fclose(fd);
fd = fopen(argv[3], "w");
write_version(fd, argv[2]);
fclose(fd);
if (version_extra)
free(version_extra);
}
void load_ctrl(FILE * fd)
{
char buf[512];
while (fgets(buf, 511, fd)) {
char *var;
char buf[512];
while (fgets(buf, 511, fd)) {
char *var;
strip(buf);
strip(buf);
var = strtok(buf, "=");
if (!var)
continue;
if (!strcmp(var, "VERSION_MAJOR"))
version_major = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_MINOR"))
version_minor = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_PATCH"))
version_patch = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_BUILD"))
version_build = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_EXTRA"))
version_extra = get_value_str(strtok(NULL, ""));
var = strtok(buf, "=");
if (!var)
continue;
if (!strcmp(var, "VERSION_MAJOR"))
version_major = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_MINOR"))
version_minor = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_PATCH"))
version_patch = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_BUILD"))
version_build = get_value(strtok(NULL, ""));
else if (!strcmp(var, "VERSION_EXTRA"))
version_extra = get_value_str(strtok(NULL, ""));
}
}
}
char *strip(char *str)
{
char *c;
if ((c = strchr(str, '\n')))
*c = 0;
if ((c = strchr(str, '\r')))
*c = 0;
return str;
char *c;
if ((c = strchr(str, '\n')))
*c = 0;
if ((c = strchr(str, '\r')))
*c = 0;
return str;
}
long get_value(char *string)
{
return atol(get_value_str(string));
// XXX : if the fields in version.log are empty strtok returns a double quote, dont try to atol it then
if (string[1] != '"')
return atol(get_value_str(string));
else
return 0;
}
char *get_value_str(char *string)
{
int len;
int len;
char *newstr;
if (*string == '"')
string++;
if (*string == '"')
string++;
len = strlen(string);
len = strlen(string);
if (string[len - 1] == '"')
string[len - 1] = 0;
if (!*string)
return NULL;
return strdup(string);
if (string[len - 1] == '"')
string[len - 1] = 0;
if (!*string)
return NULL;
newstr = (char *)malloc(len + 1);
strcpy(newstr, string);
return newstr;
//return strdup(string);
}
void parse_version(FILE * fd)
{
char buf[1024];
char buf[1024];
while (fgets(buf, 1023, fd)) {
char *para1;
while (fgets(buf, 1023, fd)) {
char *para1;
strip(buf);
para1 = strtok(buf, " \t");
strip(buf);
para1 = strtok(buf, " \t");
if (!para1)
continue;
if (!para1)
continue;
if (!strcmp(para1, "#define")) {
char *para2 = strtok(NULL, " \t");
if (!strcmp(para1, "#define")) {
char *para2 = strtok(NULL, " \t");
if (!para2)
continue;
if (!para2)
continue;
if (!strcmp(para2, "BUILD")) {
char *value = strtok(NULL, "");
build = get_value(value);
build++;
return;
}
}
}
build = 1;
if (!strcmp(para2, "BUILD")) {
char *value = strtok(NULL, "");
build = get_value(value);
build++;
return;
}
}
}
build = 1;
}
void write_version(FILE * fd)
void write_version(FILE * fd, const char *input)
{
FILE *fdin = fopen("include\\version.sh", "r");
char buf[1024];
short until_eof = 0;
FILE *fdin = fopen(input, "r");
char buf[1024];
short until_eof = 0;
if (!fdin)
return;
while (fgets(buf, 1023, fdin)) {
strip(buf);
while (fgets(buf, 1023, fdin)) {
strip(buf);
if (until_eof)
if (!strcmp(buf, "EOF"))
break;
else
parse_line(fd, buf);
if (until_eof)
{
if (!strcmp(buf, "EOF"))
break;
else
parse_line(fd, buf);
}
if (!strcmp(buf, "cat >$VERSIONH <<EOF"))
until_eof = 1;
}
if (!strcmp(buf, "cat >version.h <<EOF"))
until_eof = 1;
}
fclose(fdin);
}
void parse_line(FILE * fd, char *line)
{
char *c;
for (c = line; *c; c++) {
/* It's a variable, find out which */
if (*c == '$') {
char *var, *varbegin;
char *c;
for (c = line; *c; c++) {
/* It's a variable, find out which */
if (*c == '$') {
char *var, *varbegin;
if (*(c + 1))
c++;
else
continue;
for (var = varbegin = c; var; var++) {
if (!isalnum(*var) && *var != '_')
break;
}
if (var != varbegin) {
char tmp = *var;
if (*(c + 1))
c++;
else
continue;
for (var = varbegin = c; var; var++) {
if (!isalnum(*var) && *var != '_')
break;
}
if (var != varbegin) {
char tmp = *var;
*var = 0;
if (!strcmp(varbegin, "VERSION_MAJOR"))
fprintf(fd, "%d", version_major);
else if (!strcmp(varbegin, "VERSION_MINOR"))
fprintf(fd, "%d", version_minor);
else if (!strcmp(varbegin, "VERSION_PATCH"))
fprintf(fd, "%d", version_patch);
else if (!strcmp(varbegin, "VERSION_EXTRA")) {
if (version_extra)
fprintf(fd, "%s", version_extra);
} else if (!strcmp(varbegin, "VERSION_BUILD"))
fprintf(fd, "%d", version_build);
else if (!strcmp(varbegin, "BUILD"))
fprintf(fd, "%d", build);
else if (!strcmp(varbegin, "VERSION"))
fprintf(fd, "%s", version);
else if (!strcmp(varbegin, "VERSIONDOTTED"))
fprintf(fd, "%s", version_dotted);
fputc(tmp, fd);
}
c = var;
} else
fputc(*c, fd);
}
*var = 0;
if (!strcmp(varbegin, "VERSION_MAJOR"))
fprintf(fd, "%ld", version_major);
else if (!strcmp(varbegin, "VERSION_MINOR"))
fprintf(fd, "%ld", version_minor);
else if (!strcmp(varbegin, "VERSION_PATCH"))
fprintf(fd, "%ld", version_patch);
else if (!strcmp(varbegin, "VERSION_EXTRA")) {
if (version_extra)
fprintf(fd, "%s", version_extra);
} else if (!strcmp(varbegin, "VERSION_BUILD"))
fprintf(fd, "%ld", version_build);
else if (!strcmp(varbegin, "BUILD"))
fprintf(fd, "%ld", build);
else if (!strcmp(varbegin, "VERSION"))
fprintf(fd, "%s", version);
else if (!strcmp(varbegin, "VERSIONDOTTED"))
fprintf(fd, "%s", version_dotted);
if (tmp) fputc(tmp, fd);
}
c = var;
} else
fputc(*c, fd);
}
/* We only need \n here - we didn't open the file as binary -GD */
fprintf(fd, "\n");
fprintf(fd, "\n");
}
+289 -585
View File
@@ -1,7 +1,7 @@
//
// install.js - Windows Configuration
//
// (C) 2003-2014 Anope Team
// (C) 2003-2010 Anope Team
// Contact us at team@anope.org
//
// This program is free but copyrighted software; see the file COPYING for
@@ -10,597 +10,301 @@
// Based on the original code of Epona by Lara.
// Based on the original code of Services by Andy Church.
//
// $Id$
//
var anopeVersion = "Unknown";
var vMaj, vMin, vPat, vBuild, vExtra;
var drivesToCheck = ['C', 'D', 'E', 'F', 'G', 'H'];
var installerResponses = new Array();
var softwareVersions = {
'Compiler' : false,
'MySQLDB' : false
};
var installerQuestions = [
{
'question' : [
'Do you want to compile Anope with MySQL Support?',
'NOTE: You will need to have installed MySQL 3.23 or Above'
],
'short' : 'Enable MySQL Support?',
'options' : [
'yes',
'no'
],
'default_answer' : 'no',
'store_answer' : function (answer) {
if (answer == 'yes') {
if (!findMySQL()) {
WScript.Echo("\nERROR: Cannot find MySQL - See error messages above for details.\n");
return false;
}
}
installerResponses['MySQL DB Support'] = answer;
return true;
},
'commit_config' : function() {
if (installerResponses['MySQL DB Support'] == 'yes') {
f.WriteLine("USE_MYSQL=1");
f.WriteLine("MYSQL_LIB=\""+softwareVersions['MySQLDB'].installedDrive+":\\"+softwareVersions['MySQLDB'].libpaths[0]+"\"");
f.WriteLine("MYSQL_INC=\""+softwareVersions['MySQLDB'].installedDrive+":\\"+softwareVersions['MySQLDB'].incpaths[0]+"\"");
f.WriteLine("LIBS=$(LIBS) /LIBPATH:$(MYSQL_LIB)");
f.WriteLine("MYSQL_LIB_PATH=/LIBPATH:$(MYSQL_LIB)");
f.WriteLine("BASE_CFLAGS=$(BASE_CFLAGS) /I $(MYSQL_INC)");
f.WriteLine("MYSQL_INC_PATH=/I $(MYSQL_INC)");
f.WriteLine("RDB_C=rdb.c");
f.WriteLine("RDB_O=rdb.obj");
f.WriteLine("MYSQL_C=mysql.c");
f.WriteLine("MYSQL_O=mysql.obj");
f.WriteLine("BASE_CFLAGS=/D USE_MYSQL /D USE_RDB $(BASE_CFLAGS) /D HAVE_MYSQL_MYSQL_H");
f.WriteLine("MYPASQL_BUILD=$(CC) /LD $(MYSQL_INC_PATH) src\\mypasql.c /link $(MYSQL_LIB_PATH) $(LFLAGS) /DEF:src\mypasql.def libmysql.lib ws2_32.lib advapi32.lib /NODEFAULTLIB:LIBCMTD.lib");
f.WriteLine("LIBS=$(LIBS) libmysql.lib");
}
else {
f.WriteLine("USE_MYSQL=0");
}
}
},
];
var buildPackages = [
{
'name' : 'Microsoft Visual Studio 2012',
'libpaths' : [
'Program Files\\Microsoft Visual Studio 11.0\\VC\\lib',
'Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\lib',
'Program Files\\Microsoft SDKs\\Windows\\v7.0\\Lib',
'Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0\\Lib',
],
'incpaths': [
'Program Files\\Microsoft Visual Studio 11.0\\VC\\include',
'Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\include',
'Program Files\\Microsoft SDKs\\Windows\\v7.0\\Include',
'Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0\\Include',
],
'nmake' : [
'Program Files\\Microsoft Visual Studio 11.0\\VC\\bin',
'Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\bin',
],
'additional_switches' : [ '/w' ],
'installedDrive' : 'C'
},
{
'name' : 'Microsoft Visual Studio 2010 (64bit)',
'libpaths' : [
'Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\lib',
'Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib',
'Program Files\\Microsoft SDKs\\Windows\\v7.0\\Lib',
'Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Lib'
],
'incpaths': [
'Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include',
'Program Files\\Microsoft SDKs\\Windows\\v7.1\\Include',
'Program Files\\Microsoft SDKs\\Windows\\v7.0\\Include',
'Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Include'
],
'nmake' : [
'Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\bin',
],
'additional_switches' : [ '/w' ],
'installedDrive' : 'C'
},
{
'name' : 'Microsoft Visual Studio 2010',
'libpaths' : [
'Program Files\\Microsoft Visual Studio 10.0\\VC\\lib',
'Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib',
'Program Files\\Microsoft SDKs\\Windows\\v7.0\\Lib',
'Program Files\\Microsoft SDKs\\Windows\\v7.0A\\Lib'
],
'incpaths' : [
'Program Files\\Microsoft Visual Studio 10.0\\VC\\include',
'Program Files\\Microsoft SDKs\\Windows\\v7.1\\Include',
'Program Files\\Microsoft SDKs\\Windows\\v7.0\\Include',
'Program Files\\Microsoft SDKs\\Windows\\v7.0A\\Include'
],
'nmake' : [
'Program Files\\Microsoft Visual Studio 10.0\\VC\\bin',
],
'additional_switches' : [ '/w' ],
'installedDrive' : 'C'
},
{
'name' : 'Microsoft Visual Studio 2008',
'libpaths' : [
'Program Files\\Microsoft Visual Studio 9.0\\VC\\Lib',
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Lib'
],
'incpaths' : [
'Program Files\\Microsoft Visual Studio 9.0\\VC\\Include',
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Include'
],
'nmake' : [
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Bin',
],
'additional_switches' : [ '/w' ],
'installedDrive' : 'C'
},
{
'name' : 'Microsoft Visual Studio 2008 (64bit)',
'libpaths' : [
'Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\Lib',
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Lib'
],
'incpaths' : [
'Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\Include',
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Include'
],
'nmake' : [
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Bin',
],
'additional_switches' : [ '/w' ],
'installedDrive' : 'C'
},
{
'name' : 'Microsoft Visual Studio 2005',
'libpaths' : [
'Program Files\\Microsoft Visual Studio 8\\VC\\Lib',
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Lib'
],
'incpaths' : [
'Program Files\\Microsoft Visual Studio 8\\VC\\Include',
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Include'
],
'nmake' : [
'Program Files\\Microsoft Platform SDK for Windows Server 2003 R2\\Bin',
''
],
'additional_switches' : [
'/w'
],
'installedDrive' : 'C'
},
{
'name' : 'Microsoft Visual Studio 2005 (Old PSDK)',
'libpaths' : [
'Program Files\\Microsoft Visual Studio 8\\VC\\Lib',
'Program Files\\Microsoft Platform SDK\\Lib'
],
'incpaths' : [
'Program Files\\Microsoft Visual Studio 8\\VC\\Include',
'Program Files\\Microsoft Platform SDK\\Include'
],
'nmake' : [
'Program Files\\Microsoft Platform SDK\\Bin',
''
],
'additional_switches' : [
'/w'
],
'installedDrive' : 'C'
}
];
var mysqlVersions = [
{
'name' : 'MySQL 5.5',
'libpaths' : [
'Program Files\\MySQL\\MySQL Server 5.5\\Lib'
],
'incpaths' : [
'Program Files\\MySQL\\MySQL Server 5.5\\Include'
],
'dllfile' : 'Program Files\\MySQL\\MySQL Server 5.5\\bin\\libmysql.dll',
'installedDrive' : 'C'
},
{
'name' : 'MySQL 5.1',
'libpaths' : [
'Program Files\\MySQL\\MySQL Server 5.1\\Lib\\opt'
],
'incpaths' : [
'Program Files\\MySQL\\MySQL Server 5.1\\Include'
],
'dllfile' : 'Program Files\\MySQL\\MySQL Server 5.1\\bin\\libmysql.dll',
'installedDrive' : 'C'
},
{
'name' : 'MySQL 5.0',
'libpaths' : [
'Program Files\\MySQL\\MySQL Server 5.0\\Lib\\opt'
],
'incpaths' : [
'Program Files\\MySQL\\MySQL Server 5.0\\Include'
],
'dllfile' : 'Program Files\\MySQL\\MySQL Server 5.0\\Bin\\libmysql.dll',
'installedDrive' : 'C'
},
{
'name' : 'MySQL 4.1',
'libpaths' : [
'Program Files\\MySQL\\MySQL Server 4.1\\Lib\\opt'
],
'incpaths' : [
'Program Files\\MySQL\\MySQL Server 4.1\\Include'
],
'dllfile' : 'Program Files\\MySQL\\MySQL Server 4.1\\Bin\\libmysql.dll',
'installedDrive' : 'C'
},
{
'name' : 'MySQL 4.0',
'libpaths' : [
'Program Files\\MySQL\\MySQL Server 4.0\\Lib\\opt'
],
'incpaths' : [
'Program Files\\MySQL\\MySQL Server 4.0\\Include'
],
'dllfile' : 'Program Files\\MySQL\\MySQL Server 4.0\\Bin\\libmysql.dll',
'installedDrive' : 'C'
},
{
'name' : 'MySQL 3.23 or older (or other default path)',
'libpaths' : [
'mysql\\lib\\opt'
],
'incpaths' : [
'mysql\\include'
],
'dllfile' : 'mysql\\Bin\\libmysql.dll',
'installedDrive' : 'C'
}
];
var bannerReplacements = [
{
'findtext' : /CURVER/g,
'replacement' : function() { FindAnopeVersion(); return anopeVersion; }
},
{
'findtext' : / For more options type .\/Config --help/g,
'replacement' : function() { return ''; }
}
];
var fso = WScript.CreateObject("Scripting.FileSystemObject");
var x, y, z;
if (fso.FileExists('.BANNER')) {
var bannerStream = fso.OpenTextFile(".BANNER");
var bannerText = bannerStream.ReadAll();
bannerStream.close();
for (x in bannerReplacements) {
var thisReplacement = bannerReplacements[x];
bannerText = bannerText.replace(thisReplacement['findtext'], thisReplacement['replacement']);
}
WScript.Echo(bannerText+"\n");
}
else {
WScript.Echo("ERROR: Cannot find banner file!\n");
}
WScript.Echo("Press Enter to Begin...");
InstallerInput();
WScript.Echo("");
for (x in installerQuestions) {
var thisQuestion = installerQuestions[x];
var validResponse = false;
var validOpts = new Array();
while (!validResponse) {
for (y in thisQuestion.question) {
var qLine = thisQuestion.question[y];
WScript.Echo(qLine);
}
WScript.Echo('');
var choiceLine = '';
for (y in thisQuestion.options) {
choiceLine += thisQuestion.options[y] + ', ';
validOpts[thisQuestion.options[y]] = true;
}
choiceLine = choiceLine.substring(0, choiceLine.length - 2);
WScript.Echo("Available Options: "+choiceLine);
WScript.Echo("Default Answer: "+thisQuestion.default_answer+"\n");
WScript.Echo(thisQuestion.short);
var inputValue = InstallerInput().toLowerCase();
if (!inputValue) {
inputValue = thisQuestion.default_answer;
}
if (!validOpts[inputValue]) {
WScript.Echo("ERROR: Invalid option '"+inputValue+"'\n");
}
else if (thisQuestion.store_answer(inputValue)) {
validResponse = true;
}
}
WScript.Echo("");
}
if (!findCompiler()) {
WScript.Echo("\nERROR: No suitable build tools were found!");
WScript.Echo("Please ensure you have downloaded and installed a version of Visual C++ and/or PlatformSDK.\n");
WScript.Echo("For more information on the tools needed to build Anope on Windows, see:\nhttp://wiki.anope.org/index.php/Windows:1.8#Compiling\n");
}
else {
WScript.Echo("\nBuild tools were found successfully!\n");
WScript.Echo("\nAnope will be compiled with the following options:\n");
for (x in installerResponses) {
var thisResponse = installerResponses[x];
WScript.Echo("\t"+x+":\t\t["+thisResponse.toUpperCase()+"]");
}
for (x in softwareVersions) {
var thisVer = softwareVersions[x];
if (!thisVer) {
WScript.Echo("\t"+x+" Version:\t\tNot Enabled");
}
else {
WScript.Echo("\t"+x+" Version:\t\t"+thisVer.name);
}
}
WScript.Echo("\tAnope Version:\t\t\t"+anopeVersion);
WScript.Echo("\nTo continue, please press Enter...");
InstallerInput();
var f = fso.OpenTextFile("Makefile.inc.win32", 2);
f.WriteLine("#");
f.WriteLine("# Generated by install.js");
f.WriteLine("#");
if (typeof(softwareVersions['Compiler'].additional_switches) !== 'boolean') {
var switch_line = '';
for (x in softwareVersions['Compiler'].additional_switches) {
switch_line += softwareVersions['Compiler'].additional_switches[x]+" ";
}
f.WriteLine("VC6="+switch_line);
}
var path_line = '';
for (x in softwareVersions['Compiler'].libpaths) {
path_line += "/LIBPATH:\""+softwareVersions['Compiler'].installedDrive+":\\"+softwareVersions['Compiler'].libpaths[x]+"\" ";
}
f.WriteLine("LIBPATH="+path_line);
path_line = '';
var path_line_rc = '';
for (x in softwareVersions['Compiler'].incpaths) {
path_line += "/I \""+softwareVersions['Compiler'].installedDrive+":\\"+softwareVersions['Compiler'].incpaths[x]+"\" ";
path_line_rc += "/i \""+softwareVersions['Compiler'].installedDrive+":\\"+softwareVersions['Compiler'].incpaths[x]+"\" ";
}
f.WriteLine("INCFLAGS="+path_line);
f.WriteLine("VERSION="+anopeVersion);
f.WriteLine("PROGRAM=anope.exe");
f.WriteLine("DATDEST=data");
f.WriteLine("CC=cl");
f.WriteLine("RC=rc");
f.WriteLine("MAKE=nmake -f Makefile.win32");
f.WriteLine("BASE_CFLAGS=$(VC6) /O2 /MD $(INCFLAGS)");
f.WriteLine("RC_FLAGS="+path_line_rc);
f.WriteLine("LIBS=wsock32.lib advapi32.lib /NODEFAULTLIB:libcmtd.lib");
f.WriteLine("LFLAGS=$(LIBPATH)");
for (x in installerQuestions) {
var thisQuestion = installerQuestions[x];
thisQuestion.commit_config();
}
f.WriteLine("MORE_CFLAGS = /I\"../include\"");
f.WriteLine("CFLAGS = /nologo $(CDEFS) $(BASE_CFLAGS) $(MORE_CFLAGS)");
f.close();
generateRC();
WScript.Echo("\nConfiguration Complete!");
WScript.Echo("-----------------------\n");
WScript.Echo("Anope has been configured to your system. To compile, simply type:");
WScript.Echo("nmake -f Makefile.win32\n");
WScript.Echo("If you update Anope, you should run this script again to ensure\nall available options are set.\n");
}
// Fin.
// -----------------------------------------------------------------
// Functions
function FindAnopeVersion() {
if (!fso.FileExists('version.log')) {
anopeVersion = 'Unknown';
return;
}
var versionLog = fso.OpenTextFile("version.log");
while (!versionLog.atEndOfStream) {
var versionLine = versionLog.readline();
var thisMatch = versionLine.replace('\n', '');
while (thisMatch.match(/\"/g)) {
thisMatch = thisMatch.replace('"', '');
{
'question' : [
'In what directory do you want Anope to be installed?'
],
'short' : 'Install directory:',
'default_answer' : '',
'store_answer' : function(answer) {
if (!answer)
{
WScript.Echo("You must give a directory!\n");
return false;
}
versionLine = thisMatch;
if (versionLine.match(/VERSION_MAJOR=/g)) {
vMaj = versionLine.replace('VERSION_MAJOR=', '');
continue;
}
if (versionLine.match(/VERSION_MINOR=/g)) {
vMin = versionLine.replace('VERSION_MINOR=', '');
continue;
}
if (versionLine.match(/VERSION_PATCH=/g)) {
vPat = versionLine.replace('VERSION_PATCH=', '');
continue;
}
if (versionLine.match(/VERSION_EXTRA=/g)) {
vExtra = versionLine.replace('VERSION_EXTRA=', '');
continue;
}
if (versionLine.match(/VERSION_BUILD=/g)) {
vBuild = versionLine.replace('VERSION_BUILD=', '');
continue;
}
}
versionLog.close();
anopeVersion = vMaj+"."+vMin+"."+vPat+"."+vBuild+vExtra;
return;
}
function InstallerInput() {
var input = WScript.StdIn.Readline();
return input;
}
function findMySQL() {
WScript.Echo("\nLooking for MySQL...\n");
var installedDrive = "";
for (x in mysqlVersions) {
var thisSQLVer = mysqlVersions[x];
WScript.Echo("Looking for: "+thisSQLVer.name+"...");
if (!(installedDrive = findFile("libmysql.lib", thisSQLVer.libpaths))) {
WScript.Echo("ERROR: Cannot find libmysql.lib - This version is probably not installed...\n");
continue;
}
if (!findFile("mysql.h", thisSQLVer.incpaths)) {
WScript.Echo("ERROR: Cannot find mysql.h - Half of this version of MySQL is installed (strange)...\n");
continue;
}
WScript.Echo("SUCCESS: "+thisSQLVer.name+" is installed, and is complete!\n");
thisSQLVer.installedDrive = installedDrive;
softwareVersions.MySQLDB = thisSQLVer;
return true;
}
return false;
}
function findCompiler() {
WScript.Echo("\nLooking for a suitable compiler...\n");
var noPSDK = false;
var installedDrive = "";
for (x in buildPackages) {
var thisPack = buildPackages[x];
WScript.Echo("Looking for: "+thisPack.name+"...");
if (!(installedDrive = findFile("MSVCRT.lib", thisPack.libpaths))) {
WScript.Echo("ERROR: Cannot find MSVCRT.lib - This version is probably not installed...\n");
continue;
}
if (!findFile("wsock32.lib", thisPack.libpaths)) {
WScript.Echo("ERROR: Cannot find wsock32.lib - Probably missing PlatformSDK...\n");
noPSDK = true;
continue;
}
if (!findFile("advapi32.lib", thisPack.libpaths)) {
WScript.Echo("ERROR: Cannot find advapi32.lib - Probably missing PlatformSDK...\n");
noPSDK = true;
continue;
}
if (!findFile("stdio.h", thisPack.incpaths)) {
WScript.Echo("ERROR: Cannot find stdio.h - Missing core header files...\n");
continue;
}
if (!findFile("windows.h", thisPack.incpaths)) {
WScript.Echo("ERROR: Cannot find windows.h - Probably missing PlatformSDK headers...\n");
noPSDK = true;
continue;
}
if (!findFile("nmake.exe", thisPack.nmake)) {
WScript.Echo("ERROR: Cannot find a copy of nmake.exe...\n");
WScript.Echo("In order to compile Anope, you need a working copy of nmake.exe on your system.");
WScript.Echo("A freely available copy can be downloaded from the url below.");
WScript.Echo("nmake.exe is also available in the PlatformSDK which can be freely downloaded from Microsoft.\n");
WScript.Echo("nmake.exe:\nhttp://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe\n");
break;
}
WScript.Echo("SUCCESS: "+thisPack.name+" was found, and is complete!");
thisPack.installedDrive = installedDrive;
softwareVersions.Compiler = thisPack;
return true;
}
if (noPSDK) {
WScript.Echo("Some of the build tools were detected on your computer, but the essential PlatformSDK components were missing.");
WScript.Echo("You will need to download the PlatformSDK from the URL below, ensuring that the Core Windows files, and Debugging Tools are installed.");
WScript.Echo("For more details on installing the PlatformSDK, visit http://wiki.anope.org/index.php/Windows:1.8#Compiling\n");
}
return false;
}
function findFile(fileName, arrayOfPaths) {
for (z in arrayOfPaths) {
var thisPath = arrayOfPaths[z];
for (y in drivesToCheck) {
var thisDrive = drivesToCheck[y];
if (fso.FileExists(thisDrive+":\\"+thisPath+"\\"+fileName)) {
return thisDrive;
}
}
if (!fso.FolderExists(answer))
{
if (fso.FileExists(answer))
{
WScript.Echo(answer + " exists, but is not a directory!\n");
return false;
}
WScript.Echo(answer + " does not exist. Create it ([yes]/no)?\n");
var inputValue = InstallerInput().toLowerCase();
if (!inputValue)
inputValue = 'yes';
if (inputValue != 'no')
fso.CreateFolder(answer);
}
else if (fso.FileExists(answer + '\\include\\services.h'))
{
WScript.Echo("You cannot use the Anope source directory as a target directory.\n");
return false;
}
installerResponses['Install Directory'] = answer.replace(/\\/g, '/');
return true;
},
'cmake_argument' : function() {
return '-DINSTDIR:STRING="' + installerResponses['Install Directory'] + '"';
}
return false;
}
function generateRC() {
var version_matches = [
{
'find' : /VERSION_COMMA/g,
'replacement' : vMaj+","+vMin+","+vPat+","+vBuild
},
{
'find' : /VERSION_FULL/g,
'replacement' : anopeVersion
},
{
'find' : /VERSION_DOTTED/g,
'replacement' : vMaj+"."+vMin+"."+vPat+"."+vBuild
}
];
var template = fso.OpenTextFile("src/win32.rc.template", 1);
var output = fso.OpenTextFile("src/win32.rc", 2, true);
if (!template) {
WScript.Echo("ERROR: Unable to generate win32.rc file - Couldn't open source file..");
}
if (!output) {
WScript.Echo("ERROR: Unable to generate win32.rc file - Couldn't open output file..");
}
var templateText = template.ReadAll();
template.close();
for (x in version_matches) {
var thisVerStr = version_matches[x];
while (templateText.match(thisVerStr.find)) {
templateText = templateText.replace(thisVerStr.find, thisVerStr.replacement);
}
}
output.WriteLine(templateText);
output.close();
}
},
{
'question' : [
'Would you like to build using NMake instead of using Visual Studio?',
'NOTE: If you decide to use NMake, you must be in an environment where',
' NMake can function, such as the Visual Studio command line.',
' If you say yes to this while not in an environment that can run',
' NMake, it can cause the CMake configuration to enter an endless',
' loop.'
],
'short' : 'Use NMake?',
'options' : [
'yes',
'no'
],
'default_answer' : 'no',
'store_answer' : function(answer) {
installerResponses['Use NMake'] = answer;
return true;
},
'cmake_argument' : function() {
if (installerResponses['Use NMake'] == 'yes')
return '-G"NMake Makefiles"';
else
return '';
}
},
{
'question' : [
'Would you like to build a debug version of Anope?'
],
'short' : 'Build debug?',
'options' : [
'yes',
'no'
],
'default_answer' : 'no',
'store_answer' : function(answer) {
installerResponses['Debug'] = answer;
return true;
},
'cmake_argument' : function() {
if (installerResponses['Debug'] == 'msvc')
return '';
else if (installerResponses['Debug'] == 'yes')
return '-DCMAKE_BUILD_TYPE:STRING=DEBUG';
else
return '-DCMAKE_BUILD_TYPE:STRING=RELEASE';
}
},
{
'question' : [
'Are you using Visual Studio 2008? If you are, you need to answer yes',
'to this question, otherwise CMake will not function properly.'
],
'short' : 'Using Visual Studio 2008?',
'options' : [
'yes',
'no'
],
'default_answer' : 'no',
'store_answer' : function(answer) {
installerResponses['Visual Studio 2008'] = answer;
return true;
},
'cmake_argument' : function() {
if (installerResponses['Visual Studio 2008'] == 'yes')
return '-G"Visual Studio 9 2008"';
else
return '';
}
},
];
var bannerReplacements = [
{
'findtext' : /CURVER/g,
'replacement' : function() { FindAnopeVersion(); return anopeVersion; }
},
{
'findtext' : / For more options type SOURCE_DIR\/Config --help/g,
'replacement' : function() { return ''; }
}
];
var ScriptPath = WScript.ScriptFullName.substr(0, WScript.ScriptFullName.length - WScript.ScriptName.length);
var fso = WScript.CreateObject('Scripting.FileSystemObject');
var x, y, z;
if (fso.FileExists(ScriptPath + '.BANNER'))
{
var bannerStream = fso.OpenTextFile(ScriptPath + '.BANNER');
var bannerText = bannerStream.ReadAll();
bannerStream.close();
for (x in bannerReplacements)
{
var thisReplacement = bannerReplacements[x];
bannerText = bannerText.replace(thisReplacement['findtext'], thisReplacement['replacement']);
}
WScript.Echo(bannerText + "\n");
}
else
WScript.Echo("ERROR: Cannot find banner file!\n");
WScript.Echo('Press Enter to Begin...');
InstallerInput();
WScript.Echo('');
for (x in installerQuestions)
{
var thisQuestion = installerQuestions[x];
var validResponse = false;
var validOpts = new Array();
if (thisQuestion.short == 'Build debug?' && installerResponses['Use NMake'] == 'no')
{
installerResponses['Debug'] = 'msvc';
continue;
}
if (thisQuestion.short == 'Using Visual Studio 2008?' && installerResponses['Debug'] != 'msvc')
{
installerResponses['Visual Studio 2008'] = 'no';
continue;
}
while (!validResponse)
{
for (y in thisQuestion.question)
{
var qLine = thisQuestion.question[y];
WScript.Echo(qLine);
}
WScript.Echo('');
var choiceLine = '';
if (thisQuestion.options)
{
for (y in thisQuestion.options)
{
choiceLine += thisQuestion.options[y] + ', ';
validOpts[thisQuestion.options[y]] = true;
}
choiceLine = choiceLine.substring(0, choiceLine.length - 2);
WScript.Echo('Available Options: ' + choiceLine);
}
if (thisQuestion.default_answer)
WScript.Echo('Default Answer: ' + thisQuestion.default_answer + "\n");
WScript.Echo(thisQuestion.short);
var inputValue = InstallerInput().toLowerCase();
if (!inputValue)
inputValue = thisQuestion.default_answer;
if (choiceLine && !validOpts[inputValue])
WScript.Echo("ERROR: Invalid option '" + inputValue + "'\n");
else if (thisQuestion.store_answer(inputValue))
validResponse = true;
}
WScript.Echo('');
}
WScript.Echo("\nAnope will be compiled with the following options:\n");
for (x in installerResponses)
{
var thisResponse = installerResponses[x];
WScript.Echo("\t" + x + ":\t\t[" + thisResponse.toUpperCase() + "]");
}
WScript.Echo("\tAnope Version:\t\t\t" + anopeVersion);
WScript.Echo("\nTo continue, please press Enter...");
InstallerInput();
var cmake = 'cmake';
for (x in installerQuestions)
{
var thisQuestion = installerQuestions[x];
cmake += ' ' + thisQuestion.cmake_argument();
}
var fixedScriptPath = ScriptPath.replace(/\\/g, '/');
cmake += ' "' + fixedScriptPath + '"';
WScript.Echo(cmake + "\n");
var shell = WScript.CreateObject('WScript.Shell');
var cmake_shell = shell.exec('%comspec% /c ' + cmake);
while (!cmake_shell.Status)
{
if (!cmake_shell.StdOut.AtEndOfStream)
WScript.Echo(cmake_shell.StdOut.ReadLine());
else if (!cmake_shell.StdErr.AtEndOfStream)
WScript.Echo(cmake_shell.StdErr.ReadLine());
}
if (cmake_shell.ExitCode == 0)
{
if (installerResponses['Use NMake'] == 'yes') WScript.Echo("\nTo compile Anope, run 'nmake'. To install, run 'nmake install'.\n");
else WScript.Echo("\nTo compile Anope, open Anope.sln and build the solution. To install,\ndo a build on the INSTALL project.\n");
WScript.Echo("If you update Anope, you should run this script again to ensure\nall available options are set.\n");
}
else
WScript.Echo("\nThere was an error attempting to run CMake! Check the above error message,\nand contact the Anope team if you are unsure how to proceed.\n");
// -----------------------------------------------------------------
// Functions
function FindAnopeVersion() {
if (!fso.FileExists(ScriptPath + 'version.log'))
{
anopeVersion = 'Unknown';
return;
}
var versionLog = fso.OpenTextFile(ScriptPath + 'version.log');
while (!versionLog.atEndOfStream)
{
var versionLine = versionLog.readline();
var thisMatch = versionLine.replace('\n', '');
while (thisMatch.match(/\"/g))
thisMatch = thisMatch.replace('"', '');
versionLine = thisMatch;
if (versionLine.match(/VERSION_MAJOR=/g))
{
vMaj = versionLine.replace('VERSION_MAJOR=', '');
continue;
}
if (versionLine.match(/VERSION_MINOR=/g))
{
vMin = versionLine.replace('VERSION_MINOR=', '');
continue;
}
if (versionLine.match(/VERSION_PATCH=/g))
{
vPat = versionLine.replace('VERSION_PATCH=', '');
continue;
}
if (versionLine.match(/VERSION_EXTRA=/g))
{
vExtra = versionLine.replace('VERSION_EXTRA=', '');
continue;
}
if (versionLine.match(/VERSION_BUILD=/g))
{
vBuild = versionLine.replace('VERSION_BUILD=', '');
continue;
}
}
versionLog.close();
anopeVersion = vMaj + '.' + vMin + '.' + vPat + '.' + vBuild + vExtra;
return;
}
function InstallerInput() {
var input = WScript.StdIn.Readline();
return input;
}
+113
View File
@@ -0,0 +1,113 @@
# Set the source file for langcomp to use C++ as well as set it's compile flags
set_source_files_properties(langcomp.c PROPERTIES LANGUAGE CXX COMPILE_FLAGS "${CXXFLAGS}")
# Generate langcomp and set it's linker flags
add_executable(langcomp langcomp.c)
set_target_properties(langcomp PROPERTIES LINKER_LANGUAGE CXX LINK_FLAGS "${LDFLAGS}")
# Get the location of the binary to use later
get_target_property(langcomp_BINARY langcomp LOCATION)
# Add the executable to the list of files for CPack to ignore
file(RELATIVE_PATH langcomp_BINARY_RELATIVE ${Anope_BINARY_DIR} ${langcomp_BINARY})
add_to_cpack_ignored_files("${langcomp_BINARY_RELATIVE}$" TRUE)
# Determine if langtool should be built
if(MSVC)
set(BUILD_LANGTOOL TRUE)
else(MSVC)
if(NOT GREP OR NOT PERL)
set(BUILD_LANGTOOL TRUE)
else(NOT GREP OR NOT PERL)
set(BUILD_LANGTOOL FALSE)
endif(NOT GREP OR NOT PERL)
endif(MSVC)
# If grep or perl don't exist on the system, build langtool to generate index and language.h
if(BUILD_LANGTOOL)
# Set the source file for langtool to use C++ as well as set it's compile flags
set_source_files_properties(langtool.c PROPERTIES LANGUAGE CXX COMPILE_FLAGS "${CXXFLAGS}")
# Generate langtool and set it's linker flags
add_executable(langtool langtool.c)
set_target_properties(langtool PROPERTIES LINKER_LANGUAGE CXX LINK_FLAGS "${LDFLAGS}")
# Get the location of the binary to use later)
get_target_property(langtool_BINARY langtool LOCATION)
# Add the executable to the list of files for CPack to ignore
file(RELATIVE_PATH langtool_BINARY_RELATIVE ${Anope_BINARY_DIR} ${langtool_BINARY})
add_to_cpack_ignored_files("${langtool_BINARY_RELATIVE}$" TRUE)
endif(BUILD_LANGTOOL)
# If grep exists (and we aren't using Visual Studio, it hates this), use it to generate the index file
if(NOT MSVC AND GREP)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/index
COMMAND ${GREP} '^[A-Z]' ${CMAKE_CURRENT_SOURCE_DIR}/en_us.l > ${CMAKE_CURRENT_BINARY_DIR}/index
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/en_us.l
)
# Otherwise, use langtool to generate the index file
else(NOT MSVC AND GREP)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/index
COMMAND ${langtool_BINARY} index ${CMAKE_CURRENT_SOURCE_DIR}/en_us.l ${CMAKE_CURRENT_BINARY_DIR}/index
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/en_us.l DEPENDS langtool
)
endif(NOT MSVC AND GREP)
# Add the index file to the list of files for CPack to ignore
file(RELATIVE_PATH index_RELATIVE ${Anope_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/index)
add_to_cpack_ignored_files("${index_RELATIVE}$")
# Find all the *.l files within the current source directory, and sort the list
file(GLOB LANG_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.l")
sort_list(LANG_SRCS)
# Iterate through the language files
foreach(LANG_L ${LANG_SRCS})
# Convert the language file's extension to have no extension
STRING(REGEX REPLACE "\\.l$" "" LANG ${LANG_L})
# Add the language file to the list of compiled language files
append_to_list(LANGS ${CMAKE_CURRENT_BINARY_DIR}/${LANG})
# Generate a compiled language file using langcomp, as well as having a dependency on the index file being generated
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${LANG}
COMMAND ${langcomp_BINARY} ${CMAKE_CURRENT_SOURCE_DIR}/${LANG_L} ${CMAKE_CURRENT_BINARY_DIR}/${LANG}
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${LANG_L} DEPENDS langcomp ${CMAKE_CURRENT_BINARY_DIR}/index
)
# Add the language file to the list of files for CPack to ignore
file(RELATIVE_PATH LANG_RELATIVE ${Anope_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/${LANG})
add_to_cpack_ignored_files("${LANG_RELATIVE}$")
endforeach(LANG_L)
# If perl exists (and we aren't using Visual Studio, it hates this), use it to generate language.h
if(NOT MSVC AND PERL)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/language.h
COMMAND ${PERL} -e < ${CMAKE_CURRENT_BINARY_DIR}/index > ${CMAKE_CURRENT_BINARY_DIR}/language.h 'print STDERR \"Generating language.h... \"\; $$i=0\; while \(<>\) { chop\; printf \"\#define %-32s %d\\n\", $$_, $$i++\; } print \"\\n\#define NUM_STRINGS $$i\\n\"\; print STDERR \"$$i strings\\n\"\;'
MAIN_DEPENDENCY ${CMAKE_CURRENT_BINARY_DIR}/index
)
# Otherwise, use langtool to generate language.h
else(NOT MSVC AND PERL)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/language.h
COMMAND ${langtool_BINARY} language.h ${CMAKE_CURRENT_BINARY_DIR}/index ${CMAKE_CURRENT_BINARY_DIR}/language.h
MAIN_DEPENDENCY ${CMAKE_CURRENT_BINARY_DIR}/index DEPENDS langtool
)
endif(NOT MSVC AND PERL)
# Add language.h to the list of files for CPack to ignore
add_to_cpack_ignored_files("language.h$" TRUE)
# Add a custom target to depend on the language files and language.h
add_custom_target(language DEPENDS ${LANGS} ${CMAKE_CURRENT_BINARY_DIR}/language.h)
# If RUNGROUP was set, make the permissions be to have owner read/write as well as group read/write
if(RUNGROUP)
set(PERMS OWNER_READ OWNER_WRITE GROUP_READ GROUP_WRITE)
# Otherwise, only make the permissions be owner read/write
else(RUNGROUP)
set(PERMS OWNER_READ OWNER_WRITE)
endif(RUNGROUP)
# Set the language files to be installed to the languages directory under the data directory
install(FILES ${LANGS}
DESTINATION data/languages
PERMISSIONS ${PERMS}
)
# On non-Windows platforms, if RUNGROUP is set, change the permissions of the languages directory
if(NOT WIN32)
if(RUNGROUP)
install(CODE "execute_process(COMMAND ${CHMOD} 2770 \"\${CMAKE_INSTALL_PREFIX}/data/languages\")")
else(RUNGROUP)
install(CODE "execute_process(COMMAND ${CHMOD} 0700 \"\${CMAKE_INSTALL_PREFIX}/data/languages\")")
endif(RUNGROUP)
endif(NOT WIN32)
+35 -37
View File
@@ -1,13 +1,13 @@
# Makefile for language module
MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
'LDFLAGS=${LDFLAGS}' 'BINDEST=${BINDEST}' 'INSTALL=${INSTALL}' \
'LDFLAGS=${LDFLAGS}' 'INSTDIR=${INSTDIR}' 'INSTALL=${INSTALL}' \
'INCLUDEDIR=${INCLUDEDIR}' 'RM=${RM}' 'CP=${CP}' \
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' 'DATDEST=${DATDEST}' \
'RUNGROUP=${RUNGROUP}' 'USE_MODULES=${USE_MODULES}'
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' \
'RUNGROUP=${RUNGROUP}' 'MAKEBIN=${MAKEBIN}'
LANGOBJS = cat de en_us es fr gr hun it ja_utf8 nl pl pt ru tr
LANGSRCS = cat.l de.l en_us.l es.l fr.l gr.l hun.l it.l ja_utf8.l nl.l pl.l pt.l ru.l tr.l
LANGOBJS = cat de en_us es fr gr hun it nl pl pt ru tr
LANGSRCS = cat.l de.l en_us.l es.l fr.l gr.l hun.l it.l nl.l pl.l pt.l ru.l tr.l
LANGCOMP = ./langcomp
#LANGCOMP = ./langcomp -w
@@ -18,24 +18,24 @@ all: $(LANGOBJS)
distclean: clean spotless
install: all
test -d $(DATDEST)/languages || mkdir $(DATDEST)/languages
test -d $(INSTDIR)/data/languages || mkdir $(INSTDIR)/data/languages
@if [ "$(RUNGROUP)" ] ; then \
echo chgrp -R $(RUNGROUP) $(DATDEST)/languages ; \
chgrp -R $(RUNGROUP) $(DATDEST)/languages ; \
echo chmod -R g+rw $(DATDEST)/languages ; \
chmod -R g+rw $(DATDEST)/languages ; \
$(CP) $(LANGOBJS) $(DATDEST)/languages ; \
echo chgrp -R $(RUNGROUP) $(DATDEST)/languages ; \
chgrp -R $(RUNGROUP) $(DATDEST)/languages/* ; \
echo chmod -R g+rw $(DATDEST)/languages/* ; \
chmod -R g+rw $(DATDEST)/languages/* ; \
echo chgrp -R $(RUNGROUP) $(INSTDIR)/data/languages ; \
chgrp -R $(RUNGROUP) $(INSTDIR)/data/languages ; \
echo chmod -R g+rw $(INSTDIR)/data/languages ; \
chmod -R g+rw $(INSTDIR)/data/languages ; \
$(CP) $(LANGOBJS) $(INSTDIR)/data/languages ; \
echo chgrp -R $(RUNGROUP) $(INSTDIR)/data/languages ; \
chgrp -R $(RUNGROUP) $(INSTDIR)/data/languages/* ; \
echo chmod -R g+rw $(INSTDIR)/data/languages/* ; \
chmod -R g+rw $(INSTDIR)/data/languages/* ; \
fi
@if [ ! "$(RUNGROUP)" ] ; then \
chmod 700 $(DATDEST)/languages/ ; \
$(CP) $(LANGOBJS) $(DATDEST)/languages ; \
chmod 600 $(DATDEST)/languages/* ; \
chmod 700 $(INSTDIR)/data/languages/ ; \
$(CP) $(LANGOBJS) $(INSTDIR)/data/languages ; \
chmod 600 $(INSTDIR)/data/languages/* ; \
fi
clean:
rm -f $(LANGOBJS) langcomp language.h
@@ -44,41 +44,39 @@ spotless: clean
cat: cat.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
de: de.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
en_us: en_us.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
es: es.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
fr: fr.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
gr: gr.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
hun: hun.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
it: it.l langcomp index
./langcomp $@.l
ja_utf8: ja_utf8.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
nl: nl.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
pl: pl.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
pt: pt.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
ru: ru.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
tr: tr.l langcomp index
./langcomp $@.l
@./langcomp $@.l $@
langcomp: langcomp.c
$(CC) $(CFLAGS) langcomp.c -o $@
$(MAKEBIN) $(CC) $(CFLAGS) langcomp.c -o $@
language.h: index Makefile
@perl -e <index >$@ 'print STDERR "Generating language.h... "; $$i=0; while (<>) { chop; printf "#define %-32s %d\n", $$_, $$i++; } print "\n#define NUM_STRINGS $$i\n"; print STDERR "$$i strings\n";'
cp language.h ../include
@cp language.h ../include
index: en_us.l
grep '^[A-Z]' en_us.l >index
@grep '^[A-Z]' en_us.l >index
-78
View File
@@ -1,78 +0,0 @@
# Makefile for language module
include ../Makefile.inc.win32
LANGOBJS = cat de en_us es fr hun gr nl pl pt tr it ja_utf8 ru
LANGSRCS = cat de en_us.l es fr.l hun.l gr.l nl.l pl.l pt.l tr.l it.l ja_utf8.l ru.l
LANGCOMP = ./langcomp
#LANGCOMP = ./langcomp -w
all: $(LANGOBJS)
install: all
-copy cat ..\$(DATDEST)\languages
-copy en_us ..\$(DATDEST)\languages
-copy de ..\$(DATDEST)\languages
-copy es ..\$(DATDEST)\languages
-copy fr ..\$(DATDEST)\languages
-copy hun ..\$(DATDEST)\languages
-copy gr ..\$(DATDEST)\languages
-copy nl ..\$(DATDEST)\languages
-copy pl ..\$(DATDEST)\languages
-copy pt ..\$(DATDEST)\languages
-copy tr ..\$(DATDEST)\languages
-copy it ..\$(DATDEST)\languages
-copy ja_utf8 ..\$(DATDEST)\languages
-copy ru ..\$(DATDEST)\languages
clean:
-@erase $(LANGOBJS) langcomp.exe langtool.exe *.obj index
spotless: clean
-@erase language.h
cat: cat.l langtool.exe langcomp.exe index
langcomp $@.l
de: de.l langtool.exe langcomp.exe index
langcomp $@.l
en_us: en_us.l langtool.exe langcomp.exe index
langcomp $@.l
es: es.l langtool.exe langcomp.exe index
langcomp $@.l
fr: fr.l langtool.exe langcomp.exe index
langcomp $@.l
hun: hun.l langtool.exe langcomp.exe index
langcomp $@.l
gr: gr.l langtool.exe langcomp.exe index
langcomp $@.l
nl: nl.l langtool.exe langcomp.exe index
langcomp $@.l
pl: pl.l langtool.exe langcomp.exe index
langcomp $@.l
pt: pt.l langtool.exe langcomp.exe index
langcomp $@.l
tr: tr.l langtool.exe langcomp.exe index
langcomp $@.l
it: it.l langtool.exe langcomp.exe index
langcomp $@.l
ja_utf8: ja_utf8.l langtool.exe langcomp.exe index
langcomp $@.l
ru: ru.l langtool.exe langcomp.exe index
langcomp $@.l
langtool.exe: langtool.c
$(CC) $(CFLAGS) langtool.c -o $@ /link $(LFLAGS)
langcomp.exe: langcomp.c
$(CC) $(CFLAGS) langcomp.c -o $@ /link $(LFLAGS)
language.h: langtool.exe index
langtool language.h
index: langtool.exe en_us.l
langtool index
+355 -601
View File
File diff suppressed because it is too large Load Diff
+434 -653
View File
File diff suppressed because it is too large Load Diff
+353 -538
View File
File diff suppressed because it is too large Load Diff
+350 -595
View File
File diff suppressed because it is too large Load Diff
+2765 -2864
View File
File diff suppressed because it is too large Load Diff
+391 -641
View File
File diff suppressed because it is too large Load Diff
+343 -586
View File
File diff suppressed because it is too large Load Diff
+389 -716
View File
File diff suppressed because it is too large Load Diff
-6494
View File
File diff suppressed because it is too large Load Diff
+156 -170
View File
@@ -1,13 +1,14 @@
/* Compiler for language definition files.
*
* (C) 2003-2014 Anope Team
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
* $Id$
*
*/
@@ -65,39 +66,36 @@ char *anopeStrDup(const char *src);
int read_index_file()
{
FILE *f;
char buf[256];
int i;
FILE *f;
char buf[256];
int i;
if (!(f = fopen("index", "rb"))) {
perror("fopen(index)");
return -1;
}
while (fgets(buf, sizeof(buf), f))
numstrings++;
if (!(stringnames = calloc(sizeof(char *), numstrings))) {
perror("calloc(stringnames)");
fclose(f);
return -1;
}
if (!(strings = calloc(sizeof(char *), numstrings))) {
perror("calloc(strings)");
fclose(f);
return -1;
}
fseek(f, 0, SEEK_SET);
i = 0;
while (fgets(buf, sizeof(buf), f)) {
if (buf[strlen(buf)-1] == '\n')
buf[strlen(buf)-1] = '\0';
if (!(stringnames[i++] = anopeStrDup(buf))) {
perror("strdup()");
fclose(f);
return -1;
if (!(f = fopen("index", "rb"))) {
perror("fopen(index)");
return -1;
}
}
fclose(f);
return 0;
while (fgets(buf, sizeof(buf), f))
numstrings++;
if (!(stringnames = static_cast<char **>(calloc(sizeof(char *), numstrings)))) {
perror("calloc(stringnames)");
return -1;
}
if (!(strings = static_cast<char **>(calloc(sizeof(char *), numstrings)))) {
perror("calloc(strings)");
return -1;
}
fseek(f, 0, SEEK_SET);
i = 0;
while (fgets(buf, sizeof(buf), f)) {
if (buf[strlen(buf) - 1] == '\n')
buf[strlen(buf) -1] = '\0';
if (!(stringnames[i++] = anopeStrDup(buf))) {
perror("strdup()");
return -1;
}
}
fclose(f);
return 0;
}
/*************************************************************************/
@@ -106,13 +104,13 @@ int read_index_file()
int stringnum(const char *name)
{
int i;
int i;
for (i = 0; i < numstrings; i++) {
if (strcmp(stringnames[i], name) == 0)
return i;
}
return -1;
for (i = 0; i < numstrings; i++) {
if (strcmp(stringnames[i], name) == 0)
return i;
}
return -1;
}
/*************************************************************************/
@@ -122,18 +120,18 @@ int stringnum(const char *name)
char *ano_getline(FILE *f)
{
static char buf[1024];
char *s;
static char buf[1024];
char *s;
do {
if (!(fgets(buf, sizeof(buf), f)))
return NULL;
linenum++;
} while (*buf == '#' || *buf == '\n');
s = buf + strlen(buf)-1;
if (*s == '\n')
*s = '\0';
return buf;
do {
if (!(fgets(buf, sizeof(buf), f)))
return NULL;
linenum++;
} while (*buf == '#' || *buf == '\n');
s = buf + strlen(buf) - 1;
if (*s == '\n')
*s = '\0';
return buf;
}
/*************************************************************************/
@@ -142,137 +140,125 @@ char *ano_getline(FILE *f)
int fput32(int val, FILE *f)
{
if (fputc(val>>24, f) < 0 ||
fputc(val>>16, f) < 0 ||
fputc(val>> 8, f) < 0 ||
fputc(val , f) < 0
) {
return -1;
} else {
return 0;
}
if (fputc(val >> 24, f) < 0 ||
fputc(val >> 16, f) < 0 ||
fputc(val >> 8, f) < 0 ||
fputc(val, f) < 0
) {
return -1;
} else {
return 0;
}
}
/*************************************************************************/
char *anopeStrDup(const char *src) {
char *ret=NULL;
if(src) {
if( (ret = (char *)malloc(strlen(src)+1)) ) {;
strcpy(ret,src);
}
}
return ret;
char *anopeStrDup(const char *src)
{
char *ret=NULL;
if (src) {
if ((ret = static_cast<char *>(malloc(strlen(src) + 1)))) {
strcpy(ret,src);
}
}
return ret;
}
/*************************************************************************/
int main(int ac, char **av)
{
char *filename = NULL, *s;
char langname[254], outfile[256];
FILE *in, *out;
int warn = 0;
int retval = 0;
int curstring = -2, i;
char *line;
int pos;
int maxerr = 50; /* Max errors before we bail out */
char *filename = NULL, *outfile;
FILE *in, *out;
int warn = 0;
int retval = 0;
int curstring = -2, i;
char *line;
int pos;
int maxerr = 50; /* Max errors before we bail out */
if (ac >= 2 && strcmp(av[1], "-w") == 0) {
warn = 1;
av[1] = av[2];
ac--;
}
if (ac != 2) {
fprintf(stderr, "Usage: %s [-w] <lang-file>\n", av[0]);
return 1;
}
filename = av[1];
s = strrchr(filename, '.');
if (!s)
s = filename + strlen(filename);
if (s-filename > sizeof(langname)-3)
s = filename + sizeof(langname)-1;
strncpy(langname, filename, s-filename);
langname[s-filename] = '\0';
snprintf(outfile, sizeof(outfile), "%s", langname);
if (ac >= 3 && strcmp(av[1], "-w") == 0) {
warn = 1;
av[1] = av[2];
av[2] = av[3];
ac--;
}
if (ac != 3) {
fprintf(stderr, "Usage: %s [-w] <lang-file> <out-file>\n", av[0]);
return 1;
}
filename = av[1];
outfile = av[2];
if (read_index_file() < 0)
return 1;
if (!(in = fopen(filename, "rb"))) {
perror(filename);
return 1;
}
if (!(out = fopen(outfile, "wb"))) {
perror(outfile);
return 1;
}
while (maxerr > 0 && (line = ano_getline(in)) != NULL) {
if (*line == '\t') {
if (curstring == -2) {
fprintf(stderr, "%s:%d: Junk at beginning of file\n", filename, linenum);
retval = 1;
} else if (curstring >= 0) {
line++;
i = strings[curstring] ? strlen(strings[curstring]) : 0;
if (!(strings[curstring] = static_cast<char *>(realloc(strings[curstring], i + strlen(line) + 2)))) {
fprintf(stderr, "%s:%d: Out of memory!\n", filename, linenum);
return 2;
}
snprintf(strings[curstring] + i, strlen(line) + 2, "%s\n", line);
}
} else {
if ((curstring = stringnum(line)) < 0) {
fprintf(stderr, "%s:%d: Unknown string name `%s'\n", filename, linenum, line);
retval = 1;
maxerr--;
} else if (strings[curstring]) {
fprintf(stderr, "%s:%d: Duplicate occurrence of string `%s'\n", filename, linenum, line);
retval = 1;
maxerr--;
} else {
if (!(strings[curstring] = static_cast<char *>(malloc(1)))) {
fprintf(stderr, "%s:%d: Out of memory!\n", filename, linenum);
return 2;
}
*strings[curstring] = '\0';
}
if (maxerr == 0)
fprintf(stderr, "%s:%d: Too many errors!\n", filename, linenum);
}
}
fput32(numstrings, out);
pos = numstrings * 8 + 4;
for (i = 0; i < numstrings; i++) {
int len = strings[i] && *strings[i] ? strlen(strings[i]) - 1 : 0;
fput32(pos, out);
fput32(len, out);
pos += len;
}
for (i = 0; i < numstrings; i++) {
if (strings[i]) {
if (*strings[i])
strings[i][strlen(strings[i])-1] = '\0'; /* kill last \n */
if (*strings[i])
fputs(strings[i], out);
} else if (warn) {
fprintf(stderr, "%s: String `%s' missing\n", filename, stringnames[i]);
}
}
if (read_index_file() < 0)
return 1;
if (!(in = fopen(filename, "rb"))) {
perror(filename);
return 1;
}
if (!(out = fopen(outfile, "wb"))) {
perror(outfile);
fclose(in);
return 1;
}
while (maxerr > 0 && (line = ano_getline(in)) != NULL) {
if (*line == '\t') {
if (curstring == -2) {
fprintf(stderr, "%s:%d: Junk at beginning of file\n",
filename, linenum);
retval = 1;
} else if (curstring >= 0) {
line++;
i = strings[curstring] ? strlen(strings[curstring]) : 0;
if (!(strings[curstring] =
realloc(strings[curstring], i+strlen(line)+2))) {
fprintf(stderr, "%s:%d: Out of memory!\n",filename,linenum);
return 2;
}
sprintf(strings[curstring]+i, "%s\n", line);
}
} else {
if ((curstring = stringnum(line)) < 0) {
fprintf(stderr, "%s:%d: Unknown string name `%s'\n",
filename, linenum, line);
retval = 1;
maxerr--;
} else if (strings[curstring]) {
fprintf(stderr, "%s:%d: Duplicate occurrence of string `%s'\n",
filename, linenum, line);
retval = 1;
maxerr--;
} else {
if (!(strings[curstring] = malloc(1))) {
fprintf(stderr, "%s:%d: Out of memory!\n",filename,linenum);
return 2;
}
*strings[curstring] = '\0';
}
if (maxerr == 0)
fprintf(stderr, "%s:%d: Too many errors!\n", filename, linenum);
}
}
fput32(numstrings, out);
pos = numstrings * 8 + 4;
for (i = 0; i < numstrings; i++) {
int len = strings[i] && *strings[i] ? strlen(strings[i])-1 : 0;
fput32(pos, out);
fput32(len, out);
pos += len;
}
for (i = 0; i < numstrings; i++) {
if (strings[i]) {
if (*strings[i])
strings[i][strlen(strings[i])-1] = '\0'; /* kill last \n */
if (*strings[i])
fputs(strings[i], out);
} else if (warn) {
fprintf(stderr, "%s: String `%s' missing\n", filename,
stringnames[i]);
}
}
fclose(in);
fclose(out);
return retval;
fclose(out);
return retval;
}
/*************************************************************************/

Some files were not shown because too many files have changed in this diff Show More