summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvn svn@31f1291d-b8d6-0310-a050-a5561fc1590b <svn svn@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-03-28 21:59:56 +0000
committersvn svn@31f1291d-b8d6-0310-a050-a5561fc1590b <svn svn@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-03-28 21:59:56 +0000
commit55bf4dbcabf378e9472b7d31d6edf87f6ac853e9 (patch)
tree7a9454ea6b8750256e242cf6d5fba3ca7a4b5044
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
-rw-r--r--.indent.pro1
-rw-r--r--Changes1299
-rw-r--r--Changes.conf428
-rw-r--r--Changes.lang963
-rw-r--r--Makefile174
-rw-r--r--actions.c93
-rwxr-xr-xbin/checklang16
-rwxr-xr-xbin/cp-recursive21
-rwxr-xr-xbin/fixlang17
-rwxr-xr-xbin/getanope42
-rwxr-xr-xbin/langtool.pl239
-rwxr-xr-xbin/makepatch83
-rwxr-xr-xbin/mydbgen194
-rwxr-xr-xbin/putanope104
-rw-r--r--botserv.c2512
-rw-r--r--channels.c1595
-rw-r--r--chanserv.c6187
-rw-r--r--commands.c178
-rw-r--r--commands.h34
-rw-r--r--compat.c212
-rw-r--r--config.c1283
-rw-r--r--config.h81
-rwxr-xr-xconfigure1858
-rw-r--r--converter.c398
-rw-r--r--data/example.chk44
-rw-r--r--data/example.conf1450
-rw-r--r--data/tables.sql470
-rw-r--r--datafiles.c507
-rw-r--r--datafiles.h67
-rw-r--r--defs.h40
-rw-r--r--docs/BUGS17
-rw-r--r--docs/COPYING339
-rw-r--r--docs/DEFCON111
-rw-r--r--docs/FAQ423
-rw-r--r--docs/INSTALL177
-rw-r--r--docs/MODULES110
-rw-r--r--docs/MYSQL97
-rw-r--r--docs/NEWS92
-rw-r--r--docs/README307
-rw-r--r--encrypt.c434
-rw-r--r--encrypt.h17
-rw-r--r--extern.h838
-rw-r--r--helpserv.c83
-rw-r--r--hostserv.c1108
-rw-r--r--init.c807
-rw-r--r--install-script29
-rw-r--r--lang/Makefile79
-rw-r--r--lang/cat.l6172
-rw-r--r--lang/de.l6380
-rw-r--r--lang/en_us.l5946
-rw-r--r--lang/es.l6182
-rwxr-xr-xlang/fixlang.pl118
-rw-r--r--lang/fr.l6204
-rw-r--r--lang/gr.l6049
-rw-r--r--lang/index1410
-rw-r--r--lang/it.l6208
-rw-r--r--lang/langcomp.c256
-rw-r--r--lang/nl.l6069
-rwxr-xr-xlang/obs.pl129
-rw-r--r--lang/pt.l5804
-rw-r--r--lang/ru.l5951
-rw-r--r--lang/tr.l5982
-rw-r--r--language.c265
-rw-r--r--list.c178
-rw-r--r--log.c298
-rw-r--r--mail.c202
-rw-r--r--main.c521
-rw-r--r--memory.c96
-rw-r--r--memoserv.c1175
-rw-r--r--messages.c1196
-rw-r--r--messages.h23
-rw-r--r--misc.c642
-rw-r--r--modules.c1399
-rw-r--r--modules.h223
-rw-r--r--modules/Makefile26
-rw-r--r--modules/README1
-rwxr-xr-xmodules/compile.sh37
-rwxr-xr-xmodules/configure21
-rw-r--r--modules/hs_moo.c99
-rw-r--r--modules/ircd_catserv.c128
-rw-r--r--modules/module.h9
-rw-r--r--mysql.c869
-rw-r--r--news.c541
-rw-r--r--nickserv.c4010
-rw-r--r--operserv.c5099
-rw-r--r--process.c268
-rw-r--r--protocol.c182
-rw-r--r--proxy.c793
-rw-r--r--pseudo.h20
-rw-r--r--rdb.c347
-rw-r--r--send.c202
-rw-r--r--services.h1198
-rw-r--r--sessions.c834
-rw-r--r--slist.c325
-rw-r--r--slist.h63
-rw-r--r--sockutil.c549
-rw-r--r--threads.c82
-rw-r--r--timeout.c130
-rw-r--r--timeout.h50
-rw-r--r--users.c1136
-rw-r--r--version.log1055
-rw-r--r--version.sh146
-rw-r--r--vsnprintf.c518
103 files changed, 119474 insertions, 0 deletions
diff --git a/.indent.pro b/.indent.pro
new file mode 100644
index 000000000..a60379ba5
--- /dev/null
+++ b/.indent.pro
@@ -0,0 +1 @@
+-kr -nut
diff --git a/Changes b/Changes
new file mode 100644
index 000000000..af1ca30e5
--- /dev/null
+++ b/Changes
@@ -0,0 +1,1299 @@
+Anope Version 1.6.0
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2004/03/22 Added and updated several documents on "docs" folder.
+2004/03/22 Added bin/dbgen to help MySQL db schema.
+2004/03/21 Fixed module makefile to use -Wall for new modules
+2004/03/21 Fixed config check startup warnings (0000467)
+2004/03/21 Fixed bug where mkdir should be mkdir -p to create parent (0000468)
+2004/03/22 Fixed Crash on channel memo (0000347)
+
+Anope Version 1.5.15
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2004/03/14 Fixed LogBot and LogChan issue (0000437)
+2004/03/14 Fixed tiny bug in french lang file (0000465)
+2004/03/14 Fixed chanmode +r not being removed. (0000462)
+2004/03/12 Fixed MySQL limited data fields (0000434)
+2004/03/12 Fixed a cosmetic typo (0000440)
+2004/03/14 Fixed mysql (null) values (0000450)
+2004/03/06 Fixed module duplicate functions (0000431)
+2004/03/06 Fixed module unload issue (0000432)
+2004/03/13 Fixed missing channel fields on MySQL schema
+2004/03/13 Fixed MySQL calls even when disabled.
+2004/03/07 Fixed a malformed mode crash for some ircd's
+2004/03/13 Added db save on startup
+
+Anope Version 1.5.14
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2004/02/17 Disabled modules on OpenBSD for the time being (0000408)
+2004/02/15 Added Viagra's VS command to handle vHosts properly (0000404)
+2004/02/15 Fixed HostSetters to cover all aliases in the group (0000412)
+2004/02/07 Fixed channel '#' may not be registered anymore (0000030)
+2004/02/07 Fixed opers can't /OS MODE on +A chans anymore (0000403)
+2004/02/07 Fixed registration via group on nicknames preconfirmation (0000400)
+2004/02/14 Fixed hardcoded references to "OperServ" (0000411)
+2004/02/19 Fixed nickserv list problem with unconfirmed nicknames (0000406)
+2004/02/14 Fixed DefCon to cover more cases properly (0000407)
+2004/02/02 Fixed bug where non-id'ed nicks could do /cs identify
+2004/02/07 Fixed bug where you could /cs identify infinite times
+2004/02/09 Fixed incorrect help files Changed ServicesAdmin->SuperAdmin
+2004/02/14 Fixed typos in en_us.l language file
+
+Anope Version 1.5.13
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2004/01/30 Fixed malformed buffer bug (0000398)
+2004/01/31 Fixed OperServ news system reordering. (0000396)
+2004/01/19 Fixed minor typos on en_us.l (0000380) (0000381)
+2004/01/31 Fixed ALL option for ChanServ info (0000395)
+2004/01/18 Fixed HostServ Set message for non-registered nicks
+
+Anope Version 1.5.12
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2004/01/12 Added optimized language parser
+2004/01/11 Added moduleSetHelpHelp to modules.h
+2004/01/11 Added updated documentation
+2004/01/12 Added language tool (langtool.pl)
+2004/01/13 Added line length check (>60 char) to langtool.pl
+2004/01/17 Added better MySQL detection on configure script
+2004/01/17 Removed ExtSock experimental code
+2004/01/07 Fixed broken CHANKILL expire (0000333)
+2004/01/03 Fixed bot creation issue (0000348)
+2004/01/11 Fixed /OS STAFF output (0000346)
+2004/01/11 Fixed bot change/creation error (0000348)
+2004/01/03 Fixed /MS STAFF output (0000356)
+2004/01/07 Fixed modunload crash with disabled services (0000370)
+2004/01/17 Fixed missing HostServ on HelpServ help list (0000377)
+
+Provided by GeniousDex
+2004/01/04 Updated nl.l (Dutch language File)
+2004/01/11 Updated documentation
+
+Anope Version 1.5.11
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/12/12 Fixed all printf parameters on all language files
+2003/12/08 Fixed HOST_HELP string for all languages (0000340)
+2003/12/08 ChanServ and NickServ LIST's now accept #X-Y for seaching
+2003/12/09 Nickname enforcer will now kill instead of svsnick on hybridircd
+
+Provided by Oleg Nikolaev aka Isot <isot@complife.ru>
+2003/12/12 New ru.l (Russian lang file)
+
+Provided by DrStein
+2003/12/12 Updated es.l (Spanish language File).
+
+Provided by GeniousDex
+2003/12/12 Updated nl.l (Dutch language File).
+
+Provided by Stuff <the.stuff@gmx.de>
+2003/12/09 Updated de.l (German lang file)
+
+Anope Version 1.5.10
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/11/24 New version of putanope to make more robust
+2003/11/24 New #defines for version tokens (see built version.h)
+2003/11/24 New version schema: major.minor.patch.build
+2003/11/16 Fixed mlock +c on Ultimate3 (0000320)
+2003/11/16 Fixed BotServ +ao on PTLink (0000313)
+2003/11/16 All channel modes now supported on PTLink (0000311)
+2003/11/16 Absolute mode cleaning for /CS CLEAR #chan MODES
+2003/11/16 Services will now kill users on hybrid instead of svsnick (0000240)
+2003/11/15 Fixed a bug with module message's
+2003/11/15 Added a generic footer to list's without (0000222)
+2003/11/15 Adding a ./configure script to modules folder
+2003/11/15 Removed Experimental status from Module and Viagra
+2003/11/15 Fixed /ms staff on memo notifucation (0000221)
+2003/11/09 Fixed compile.sh for bsd based systems
+2003/11/09 Fixed bug in moduleDelCallback routine
+
+Anope Version 1.5.9
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/11/03 Added optional MysqlSecure password security directive
+2003/11/03 Fixed case insensitive password fields on MySQL (0000196)
+2003/11/03 Fixed /OS STAFF bug not showing online aliases (0000124)
+2003/11/03 Fixed wrong /CS HELP output on Ultimate2/3 (0000189)
+2003/11/02 Fixed empty fields on the cs_access table (0000197)
+2003/11/02 Fixed SA's unable to /NS LOGOUT themselves (0000288)
+2003/11/02 Fixed SQLINE help syntax (0000291)
+2003/11/01 Added moduleDelCallback for module coders
+2003/11/01 Modified module AnopeInit call, fixed bug (0000289)
+2003/11/01 Fixed error in pt.l file and memoserv help
+2003/10/29 Fixed -h bug for valid halfop's when joining a empty chan (0000245)
+2003/10/29 Fixed forbidden chan spammy log file bug (0000284)
+
+Provided by GeniusDex <geniusdex@twistification.net>
+2003/11/01 Converted HelpServ into a "real" services, modules now work for it
+
+Anope Version 1.5.8
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/10/08 Fixed compile errors on PTLink and Ultimate3 as nither have vIdents
+2003/10/17 Fixed double TAB on language files (0000283)
+2003/10/14 Added a check on nicksserv logout so you can't logout services admins
+2003/10/17 Added new configuration directive AnonymousGlobal (0000116)
+
+Provided by ShadowMaster <ShadowMaster@Shadow-Realm.org>
+2003/10/08 Added NickIP Akill matching
+
+Anope Version 1.5.7
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/10/05 Added /ns update to replace further identifies, /ns identify will now only work once
+2003/10/03 Added check_unload function to modules. (like on-error unloading)
+2003/10/03 Added directive MysqlPort
+2003/09/22 Added moduleHelp framework for module coders, see hs_moo.c
+2003/09/21 Added moduleGetLastBuffer() and a module cmdTable bug fixed
+2003/08/16 Added moduleAddCallback command for module coders
+2003/10/06 Fixed bug with botserv bot creation when using services-aliases. (thanks to Killerchen)
+2003/10/05 Fixed vident on ban issue (bug 0000268)
+2003/10/05 Fixed memo order reset on deletion (bug 0000270)
+2003/09/07 Fixed clearmodes issue (bug 0000121)
+2003/09/07 Fixed ServicesRoot reload issue (bug 0000194)
+2003/09/07 Fixed empty ip proxy crash (bug 0000217)
+2003/09/04 Fixed bug ref: 0000170 - optional ""'s in mail sending
+2003/07/28 Fixed Channel DROP then FORBID crash on MySQL (0000199)
+2003/07/28 Fixed HostServ launch on Viagra and PTlink (0000190)
+2003/07/27 Fixed BotServ bots now unkickable on Ultimate3 (0000159)
+2003/07/27 Fixed Hybrid NICK_IS_REGISTERED dupe (0000184)
+2003/07/27 Fixed PTlink /newmask issue (0000188)
+2003/07/20 Fixed MySQL compile errors on Ultimate
+2003/07/20 Fixed PTlink sbuf compile error
+2003/07/20 Fixed chanserv badword MySQL issue
+2003/08/30 Allow for E/F lines when handling akilled host's joining the network
+2003/07/25 Added External socket support (*VERY* EXPERIMENTAL)
+2003/07/20 Made MySQL ns_id, na_id and ci_id useful by preserving it's value across updates
+2003/07/20 Some MySQL Optimizations (MySQL 3.23.32+ required)
+
+Provided by DrStein
+2003/10/05 Updated es.l (Spanish language File).
+
+Anope Version 1.5.6
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/07/16 Reimplemented +oa and +oq on net-joins and ModeOnId (less intrusive)
+2003/07/16 Added bin directory with misc tools
+2003/07/12 Fixed chankill no expire
+2003/07/13 Fixed BotServ bug when trying to add a bot with a services client's name.
+2003/07/10 Changed mlock_key from int to a String in mysql.c (Thanks goto Trystan)
+2003/07/09 Added request Syntax. Changed version to show the actual compiled Ircd's name.
+2003/06/29 Added services/modules/runtime for tmp storage of .so files
+2003/06/29 Fixed a small bug in nickserv load.
+2003/06/29 Fixed multiple chan modes at once Ulitmate issue
+
+Anope Version 1.5.5
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/06/24 Added the ability to autoload modules at services startup
+2003/06/23 Now MySQL functionality is optional even when compiled with MySQL support
+2003/06/23 Combined +oq +oa +ha +va on net-joins.
+2003/06/22 Prevent botserv say sending a ctcp to a channel
+2003/06/22 Fixed nickserv setting +d on users using group
+2003/06/22 Fixed non services admins able to drop nick's still awaiting a email code
+2003/06/17 Added EXPERIMENTAL module support.
+
+Provided by GeniusDex <geniusdex@twistification.net>
+2003/06/23 Dutch language file.
+
+Anope Version 1.5.4
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/06/11 Added RemoteServer2 and RemoteServer3 to the conf. If one server is down, the services will try the next one.
+2003/06/06 Added /MS SENDALL to send a massmemo to all registered users
+2003/06/03 Renamed function log() to alog() to prevent gcc3.3 warnings
+2003/06/03 Services now WALLOPS about db saves on /os shutdown
+2003/06/03 Modified NetworkDomain directive to allow multiple domains
+2003/06/03 Added NSRestrictGetPass and CSRestrictGetPass directives to restrict access to getpass command.
+2003/06/03 Added a directive in the conf that makes ChanServ opers only.
+2003/06/02 Added phase 1 of MySQL Support
+
+Anope Version 1.5.3
+--------------------
+Provided by Anope Dev. <dev@anope.org>
+2003/05/31 Removed TitanIRCd support. Difference willnot allow joint support
+2003/05/25 Custom GlobalOnCycle message
+2003/05/25 Defcon reject all new connections Kill message.
+2003/05/25 CHANKILL will not akill opers in the channel
+2003/05/25 Add command for MemoServ to send memo to all Admins/Opers
+2003/05/24 Fixed /os restart bug
+2003/05/24 Updated lang files - various errors/bug fixs
+2003/05/23 Fixed NSModeOnID it will only set unset modes (as far as possible)
+