]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoConvert char* to const char* in InspSocket constructor prototype. Shouldn't break...
om [Thu, 29 Jun 2006 07:00:25 +0000 (07:00 +0000)]
Convert char* to const char* in InspSocket constructor prototype. Shouldn't break anything but ought to help lose some ugleh casts... >:)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4080 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded missing return in Server::UnpublishFeature()
special [Wed, 28 Jun 2006 15:20:25 +0000 (15:20 +0000)]
Added missing return in Server::UnpublishFeature()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4079 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded SQLQuery::GetError() and removed a lot of space indenting
special [Wed, 28 Jun 2006 15:17:05 +0000 (15:17 +0000)]
Added SQLQuery::GetError() and removed a lot of space indenting

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4078 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMore stuff for allowing hostnames in <bind> and <link> again - note there is a FIXME...
brain [Wed, 28 Jun 2006 10:59:47 +0000 (10:59 +0000)]
More stuff for allowing hostnames in <bind> and <link> again - note there is a FIXME here.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4076 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAllow binding to hosts again in <bind> and <link>
brain [Wed, 28 Jun 2006 10:53:02 +0000 (10:53 +0000)]
Allow binding to hosts again in <bind> and <link>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4074 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd m_services_account
brain [Tue, 27 Jun 2006 23:12:30 +0000 (23:12 +0000)]
Add m_services_account

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4072 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCommenting
brain [Tue, 27 Jun 2006 20:58:49 +0000 (20:58 +0000)]
Commenting

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4069 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoWe can re-enable special's security fix now - note this is good for boxes with one...
brain [Tue, 27 Jun 2006 17:57:01 +0000 (17:57 +0000)]
We can re-enable special's security fix now - note this is good for boxes with one or more static ip's and still doesnt resolve the issue for smelly dynamic-ip users (well boo hoo :p)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4066 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded auto-binding, picks the first ip in the <bind> tags that isnt localhost or...
brain [Tue, 27 Jun 2006 17:45:59 +0000 (17:45 +0000)]
Added auto-binding, picks the first ip in the <bind> tags that isnt localhost or INADDR_ANY, and auto binds to that IP to allow us to put back the security tweak

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4064 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTemporarily disable special's security improvement until we have either/or bind=...
brain [Tue, 27 Jun 2006 17:09:41 +0000 (17:09 +0000)]
Temporarily disable special's security improvement until we have either/or bind= and mask=

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4063 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoExtra safety for user lists to not keep bad pointers hanging about
brain [Sun, 25 Jun 2006 00:16:24 +0000 (00:16 +0000)]
Extra safety for user lists to not keep bad pointers hanging about

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4059 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the channel...
brain [Sat, 24 Jun 2006 18:00:28 +0000 (18:00 +0000)]
Dont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the channel (*slaps* Om)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4057 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForwardport of safety fixes for Write* functions
brain [Sat, 24 Jun 2006 14:43:36 +0000 (14:43 +0000)]
Forwardport of safety fixes for Write* functions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4056 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForward port of samode edits
special [Fri, 23 Jun 2006 14:46:10 +0000 (14:46 +0000)]
Forward port of samode edits

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4054 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemove un-needed cast, I have a horrible feeling I'll get stabbed for this. Please...
om [Fri, 23 Jun 2006 14:24:34 +0000 (14:24 +0000)]
Remove un-needed cast, I have a horrible feeling I'll get stabbed for this. Please let me know before you do...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4052 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agom_services_account - now with 100 percent more elite.
w00t [Fri, 23 Jun 2006 08:40:31 +0000 (08:40 +0000)]
m_services_account - now with 100 percent more elite.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4050 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoI'm famous :>
special [Thu, 22 Jun 2006 13:38:20 +0000 (13:38 +0000)]
I'm famous :>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4046 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForward port of server link DDoS/oper flood fix
special [Thu, 22 Jun 2006 13:32:52 +0000 (13:32 +0000)]
Forward port of server link DDoS/oper flood fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4045 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for ./inspircd restart not working half the time
special [Thu, 22 Jun 2006 10:26:33 +0000 (10:26 +0000)]
Fix for ./inspircd restart not working half the time

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4042 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded Server::PublishFeature(),
brain [Wed, 21 Jun 2006 12:31:54 +0000 (12:31 +0000)]
Added Server::PublishFeature(),
Server::UnpublishFeature(),
Server::FindFeature().
See comments in modules.h for usage

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4041 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoClass Request and class Event now take a void* in their constructor to save on a...
brain [Tue, 20 Jun 2006 11:26:57 +0000 (11:26 +0000)]
Class Request and class Event now take a void* in their constructor to save on a cast.
Please note that the data type *returned* by GetData() in both cases is still char*, as
C++ will not let you return a void*. This to be addressed by someone else with templates
when they have the time.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4038 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDon't allow non-ulines to kick ulines from channels - return numeric 482 if this...
brain [Tue, 20 Jun 2006 09:10:55 +0000 (09:10 +0000)]
Don't allow non-ulines to kick ulines from channels - return numeric 482 if this is attempted (you are not a chanop) with different text

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4036 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForward-port CBAN expiry fix
w00t [Mon, 19 Jun 2006 02:54:05 +0000 (02:54 +0000)]
Forward-port CBAN expiry fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4035 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoOn remote kill, send KILL notice. mIRC doesnt seem happy with just the STANDARD messa...
brain [Sat, 17 Jun 2006 13:50:54 +0000 (13:50 +0000)]
On remote kill, send KILL notice. mIRC doesnt seem happy with just the STANDARD message, it wants specially crafted quit notices too, but i say fuck mIRC.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4027 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoBring forward fix for w00t.
brain [Sat, 17 Jun 2006 13:27:13 +0000 (13:27 +0000)]
Bring forward fix for w00t.
Note - umode +r may not be removed from a user when you svsnick them. Svsnick is not designed for this
type of "abuse" anyway and usually svsnick will only be used on someone who has no +r.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4025 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFinished m_check. I am the best. It only took me 3 months :)
w00t [Sat, 17 Jun 2006 11:24:50 +0000 (11:24 +0000)]
Finished m_check. I am the best. It only took me 3 months :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4023 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoNow only logs commands from local opers, that are oper commands they have permission...
brain [Fri, 16 Jun 2006 12:12:46 +0000 (12:12 +0000)]
Now only logs commands from local opers, that are oper commands they have permission to execute

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4015 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for m_ssl_openssl dying if the DH params file doesn't exist, compiles but unteste...
om [Fri, 16 Jun 2006 00:57:14 +0000 (00:57 +0000)]
Fix for m_ssl_openssl dying if the DH params file doesn't exist, compiles but untested cause I'm sleepy :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4014 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTweaks
brain [Thu, 15 Jun 2006 18:21:29 +0000 (18:21 +0000)]
Tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4013 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChange to stdint
brain [Thu, 15 Jun 2006 17:56:15 +0000 (17:56 +0000)]
Change to stdint

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4012 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoHelper script for rpath of mysql
brain [Thu, 15 Jun 2006 13:33:18 +0000 (13:33 +0000)]
Helper script for rpath of mysql

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4008 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoNow uses mysql_config and mysql_rpath.pl
brain [Thu, 15 Jun 2006 13:32:50 +0000 (13:32 +0000)]
Now uses mysql_config and mysql_rpath.pl

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4007 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoNicer SQLQuery::Sanitise
brain [Thu, 15 Jun 2006 13:04:07 +0000 (13:04 +0000)]
Nicer SQLQuery::Sanitise

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4006 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoLook at this further later - 64 bit fixes
brain [Thu, 15 Jun 2006 08:41:20 +0000 (08:41 +0000)]
Look at this further later - 64 bit fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4004 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemove reference to secret ChatSpike CC # detection features
om [Tue, 13 Jun 2006 14:16:56 +0000 (14:16 +0000)]
Remove reference to secret ChatSpike CC # detection features

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4000 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoIf the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,
brain [Mon, 12 Jun 2006 15:57:51 +0000 (15:57 +0000)]
If the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,
then their ip will be taken as 'priority' anyway, so for example,
<connect allow="127.0.0.1"> will match joe!bloggs@localhost

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3997 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTest commit
brain [Thu, 8 Jun 2006 22:02:02 +0000 (22:02 +0000)]
Test commit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3996 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for mode string getting cut, breaks on some +L
brain [Thu, 8 Jun 2006 22:00:25 +0000 (22:00 +0000)]
Fix for mode string getting cut, breaks on some +L

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3995 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for segfault if a user quits before their ident is complete, due to session limit...
brain [Wed, 7 Jun 2006 15:47:42 +0000 (15:47 +0000)]
Fix for segfault if a user quits before their ident is complete, due to session limit reached
Do this by checking their pointer in the fd_ref_table against the pointer we got when we started
the lookup, so we can know if its been invalidated or not (just in case the OnClose occurs
before we NULL the user)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3992 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for collisions when clock is out
brain [Mon, 5 Jun 2006 20:16:11 +0000 (20:16 +0000)]
Fix for collisions when clock is out

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3991 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartys
brain [Sun, 4 Jun 2006 13:36:09 +0000 (13:36 +0000)]
Fix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartys

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3988 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for bug found by douglas - when replace= is undefined value (probably due to...
brain [Sat, 3 Jun 2006 00:51:46 +0000 (00:51 +0000)]
Fix for bug found by douglas - when replace= is undefined value (probably  due to config error) a crash can occur, and this crash can (and will) propogate to other ircds on the network

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3986 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed logic for OnWhois "is using SSL" numeric. Was broken: required the user to...
brain [Thu, 1 Jun 2006 16:18:50 +0000 (16:18 +0000)]
Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the user to have the 'ssl' extensible AND be in the listen ports, so it didnt work on remote users which didnt have the listen port.
Now properly checks to display by using: if(dest->GetExt("ssl") || (IS_LOCAL(dest) &&  isin(dest->port, listenports)))

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3984 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPrevent crash when displaying error for server already existing (this only happens...
brain [Wed, 31 May 2006 08:25:27 +0000 (08:25 +0000)]
Prevent crash when displaying error for server already existing (this only happens for lauren anyway)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3980 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoApply mirq's optimization patches
brain [Tue, 30 May 2006 20:43:15 +0000 (20:43 +0000)]
Apply mirq's optimization patches

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3977 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCorresponding forward-port
brain [Wed, 24 May 2006 11:22:23 +0000 (11:22 +0000)]
Corresponding forward-port

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3970 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMore debugging
brain [Wed, 24 May 2006 11:17:51 +0000 (11:17 +0000)]
More debugging

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3968 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoPrevent SYNCTS bounce
brain [Wed, 24 May 2006 11:11:21 +0000 (11:11 +0000)]
Prevent SYNCTS bounce

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3967 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMore debug tracking
brain [Wed, 24 May 2006 10:54:12 +0000 (10:54 +0000)]
More debug tracking

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3966 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoALL THROW A WHILD PARTY! CRASH-ON-NETSPLIT should be fixed!!!
brain [Wed, 24 May 2006 10:44:53 +0000 (10:44 +0000)]
ALL THROW A WHILD PARTY! CRASH-ON-NETSPLIT should be fixed!!!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3964 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCheck for failed epoll or kqueue
brain [Tue, 16 May 2006 11:38:45 +0000 (11:38 +0000)]
Check for failed epoll or kqueue

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3961 e03df62e-2008-0410-955e-edbf42e46eb7

18 years ago- Documentation fix: SELinux is not a distribution, but a patchset. Clarify.
nenolod [Sun, 14 May 2006 17:23:42 +0000 (17:23 +0000)]
- Documentation fix: SELinux is not a distribution, but a patchset. Clarify.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3960 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoBroken kline matching in connect code (reported by LeaChim)
brain [Sun, 14 May 2006 16:56:56 +0000 (16:56 +0000)]
Broken kline matching in connect code (reported by LeaChim)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3959 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix bug when knocking on non-existent channel
brain [Thu, 11 May 2006 21:52:29 +0000 (21:52 +0000)]
Fix bug when knocking on non-existent channel

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3957 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoIncrease length of dhost
brain [Thu, 11 May 2006 21:43:46 +0000 (21:43 +0000)]
Increase length of dhost

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3955 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix output corruption when host is exactly 64 chars long
brain [Wed, 10 May 2006 22:59:53 +0000 (22:59 +0000)]
Fix output corruption when host is exactly 64 chars long

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3944 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix for crash on: /OS RAW PUSH non-existent-nick :::nick!ident@host KICK #chan nick...
brain [Wed, 10 May 2006 20:21:32 +0000 (20:21 +0000)]
Fix for crash on: /OS RAW PUSH non-existent-nick :::nick!ident@host KICK #chan nick :any reason
(yes, REALLY.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3942 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed to work with -j 3
brain [Mon, 8 May 2006 10:35:31 +0000 (10:35 +0000)]
Fixed to work with -j 3
On multiprocessor systems, do the initial make command with: make -j 3 (or whatever) and the -j option will recurse to the other make processes.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3941 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoLet ulines do NOTICE/PRIVMSG $* without oper again, so that OS GLOBAL on services...
brain [Sun, 7 May 2006 20:58:21 +0000 (20:58 +0000)]
Let ulines do NOTICE/PRIVMSG $* without oper again, so that OS GLOBAL on services packages is fixed :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3940 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoLeaChim is a grammer nazee
om [Sun, 7 May 2006 11:00:53 +0000 (11:00 +0000)]
LeaChim is a grammer nazee

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3938 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded satmd's multi-channel patch, and matched with inspircd coding-style and indent...
brain [Sun, 7 May 2006 10:51:55 +0000 (10:51 +0000)]
Added satmd's multi-channel patch, and matched with inspircd coding-style and indent-style

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3937 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd new arguments to ./inspircd, 'screendebug' starts insp inside gdb and detaches...
om [Sun, 7 May 2006 10:10:53 +0000 (10:10 +0000)]
Add new arguments to ./inspircd, 'screendebug' starts insp inside gdb and detaches the session, 'valdebug' starts insp inside valgrind, valgrind will start gdb in the event of a crash, 'screenvaldebug' (ugleh name :[) does the same but runs valgrind in a detached screen session

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3936 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed char* -> std::string typo
brain [Sat, 6 May 2006 17:34:48 +0000 (17:34 +0000)]
Fixed char* -> std::string typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3935 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoOper logging module -- this still needs test compiling and test running
brain [Sat, 6 May 2006 17:21:19 +0000 (17:21 +0000)]
Oper logging module -- this still needs test compiling and test running

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3933 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoIgnore EAGAIN when write()ing
brain [Sat, 6 May 2006 15:31:52 +0000 (15:31 +0000)]
Ignore EAGAIN when write()ing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3931 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChecks for negative fd's when adding them to the socketengine so we can generate...
brain [Wed, 3 May 2006 09:28:01 +0000 (09:28 +0000)]
Checks for negative fd's when adding them to the socketengine so we can generate less debug output

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3929 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoReturn false was missing
brain [Wed, 3 May 2006 09:23:47 +0000 (09:23 +0000)]
Return false was missing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3928 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoNew header at the top of this file clarifying gplv2 only (we hadnt made it clear...
brain [Tue, 2 May 2006 20:33:21 +0000 (20:33 +0000)]
New header at the top of this file clarifying gplv2 only (we hadnt made it clear in this package before)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3926 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForwardport (yes those do happen).
brain [Tue, 2 May 2006 19:42:04 +0000 (19:42 +0000)]
Forwardport (yes those do happen).
Because of a re-arrangement in the way sockets work, there is a chance a socket can still be in existence
after the user its connected to (in the case of ident) is no longer valid. Neatly NULL the value so we can
avoid goofing around in bad data.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3925 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoNeed checks in two places for escaping to work.
brain [Mon, 1 May 2006 19:40:23 +0000 (19:40 +0000)]
Need checks in two places for escaping to work.
First check when reading lines, to let the parser know that \" etc dont open new quotes or close them,
then second check when parsing that line so that the parser knows that \" etc dont delimit a value.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3923 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAbility to use the \ symbol to escape ascii values in a tag, e.g.:
brain [Mon, 1 May 2006 19:29:41 +0000 (19:29 +0000)]
Ability to use the \ symbol to escape ascii values in a tag, e.g.:
<server name="\"Bollocks\" Said pooh, as he cought his testicles in the vice!">

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3922 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agochange to ability for QueryCount to return -1 for both of the 1.1 sql api's
brain [Sun, 30 Apr 2006 21:59:38 +0000 (21:59 +0000)]
change to ability for QueryCount to return -1 for both of the 1.1 sql api's

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3921 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoIn 1.1, we return a negative value when QueryCount has a downed connection - not...
brain [Sun, 30 Apr 2006 21:57:10 +0000 (21:57 +0000)]
In 1.1, we return a negative value when QueryCount has a downed connection - not changed in 1.0 for backwards compatibility

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3920 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMerge of peaveydk's diff (at last)
brain [Sun, 30 Apr 2006 17:19:00 +0000 (17:19 +0000)]
Merge of peaveydk's diff (at last)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3918 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoSynching of channel TS after a whole channel has been sent.
brain [Fri, 28 Apr 2006 19:38:29 +0000 (19:38 +0000)]
Synching of channel TS after a whole channel has been sent.
Please note that because a channels joins may consist of multiple FJOINs we cannot just sync the TS at the end of every FJOIN command otherwise we WILL get a desync.
Instead, we send a command after the last FJOIN for a channel which tells the other servers it is now ok to sync that channels timestamp.
(still to document: SYNCTS command in protocol docs)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3916 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoError checking of raise(), so that if theres no coredump and raise fails, we know...
brain [Fri, 28 Apr 2006 00:50:46 +0000 (00:50 +0000)]
Error checking of raise(), so that if theres no coredump and raise fails, we know why :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3915 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agosignal/raise in the sigsegv handler to re-raise the sig for a coredump
brain [Fri, 28 Apr 2006 00:44:48 +0000 (00:44 +0000)]
signal/raise in the sigsegv handler to re-raise the sig for a coredump

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3913 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoIn static build save munged files as .m_name_static.cpp rather than m_name_static...
brain [Fri, 28 Apr 2006 00:13:15 +0000 (00:13 +0000)]
In static build save munged files as .m_name_static.cpp rather than m_name_static.cpp so they arent immediately visible, and less likely to be edited

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3912 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoWhen i find out what IDIOT changed all the module_init's to e.g. devoice_init and...
brain [Thu, 27 Apr 2006 23:57:50 +0000 (23:57 +0000)]
When i find out what IDIOT changed all the module_init's to e.g. devoice_init and chanprotect_init, severely breaking them for no reason, im gonna trout them good!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3911 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agomaxbuf -> maxquit (this isnt finished yet)
brain [Wed, 26 Apr 2006 09:03:50 +0000 (09:03 +0000)]
maxbuf -> maxquit (this isnt finished yet)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3909 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCheck for NULL, set pointers to NULL after deletion
brain [Tue, 25 Apr 2006 09:52:16 +0000 (09:52 +0000)]
Check for NULL, set pointers to NULL after deletion

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3908 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix various typos and warnings
brain [Mon, 24 Apr 2006 17:28:49 +0000 (17:28 +0000)]
Fix various typos and warnings

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3907 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMissing includes
brain [Mon, 24 Apr 2006 17:02:56 +0000 (17:02 +0000)]
Missing includes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3906 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTypo in the macro :p
brain [Mon, 24 Apr 2006 13:30:04 +0000 (13:30 +0000)]
Typo in the macro :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3905 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agodelete operator tracking in debug mode (using a macro -- live with it.)
brain [Mon, 24 Apr 2006 13:28:07 +0000 (13:28 +0000)]
delete operator tracking in debug mode (using a macro -- live with it.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoForward-port of 1.0.4 tweak
brain [Fri, 21 Apr 2006 10:50:26 +0000 (10:50 +0000)]
Forward-port of 1.0.4 tweak

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3903 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTypo
brain [Thu, 20 Apr 2006 19:37:27 +0000 (19:37 +0000)]
Typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3901 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChange the makefile too
brain [Thu, 20 Apr 2006 18:57:44 +0000 (18:57 +0000)]
Change the makefile too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3900 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoInclude paths change
brain [Thu, 20 Apr 2006 18:56:54 +0000 (18:56 +0000)]
Include paths change

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3899 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMove to new include path
brain [Thu, 20 Apr 2006 18:55:46 +0000 (18:55 +0000)]
Move to new include path

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3898 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChanged first of files to match new location of headers
brain [Thu, 20 Apr 2006 18:48:52 +0000 (18:48 +0000)]
Changed first of files to match new location of headers

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3897 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMovement of cmd_* headers into include/commands (this is incomplete)
brain [Thu, 20 Apr 2006 18:46:25 +0000 (18:46 +0000)]
Movement of cmd_* headers into include/commands (this is incomplete)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3896 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoThis dir will hold headers for mode handlers
brain [Thu, 20 Apr 2006 18:37:21 +0000 (18:37 +0000)]
This dir will hold headers for mode handlers

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3895 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed execinfo
brain [Thu, 20 Apr 2006 17:50:36 +0000 (17:50 +0000)]
Fixed execinfo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3894 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoExtra stuff to explicitly link execinfo.so
brain [Thu, 20 Apr 2006 17:41:12 +0000 (17:41 +0000)]
Extra stuff to explicitly link execinfo.so

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3893 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTweaks (FIXES)
brain [Thu, 20 Apr 2006 17:35:22 +0000 (17:35 +0000)]
Tweaks (FIXES)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3892 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoinit_module
brain [Thu, 20 Apr 2006 17:33:18 +0000 (17:33 +0000)]
init_module

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3891 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAlright, who fucked with this?
brain [Thu, 20 Apr 2006 17:29:43 +0000 (17:29 +0000)]
Alright, who fucked with this?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3890 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixes for lib dirs
brain [Thu, 20 Apr 2006 16:59:28 +0000 (16:59 +0000)]
Fixes for lib dirs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3889 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd /usr/local/include (why isnt this included as default?!)
brain [Thu, 20 Apr 2006 16:50:27 +0000 (16:50 +0000)]
Add /usr/local/include (why isnt this included as default?!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3888 e03df62e-2008-0410-955e-edbf42e46eb7