]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoFake lag on nick change, thanks pLaYa
w00t [Wed, 9 Jan 2008 11:47:04 +0000 (11:47 +0000)]
Fake lag on nick change, thanks pLaYa

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

16 years agoRemove useless debug from here (finished with it), and add some debug that makes...
w00t [Wed, 9 Jan 2008 08:41:45 +0000 (08:41 +0000)]
Remove useless debug from here (finished with it), and add some debug that makes sense :P

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

16 years agoFix bug in new XLine system (thanks Brain) - I don't know how I didn't spot this...
w00t [Wed, 9 Jan 2008 08:08:50 +0000 (08:08 +0000)]
Fix bug in new XLine system (thanks Brain) - I don't know how I didn't spot this one :P

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

16 years agoFix problem #2 (this means that xlinedb is essentially working and feature-complete...
w00t [Tue, 8 Jan 2008 23:33:57 +0000 (23:33 +0000)]
Fix problem #2 (this means that xlinedb is essentially working and feature-complete..). XLine subsystem still seems to be having rather screwed problems per bug #457.

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

16 years agoFix problem #1 by setting a lock on writes when we're reading. This means no more...
w00t [Tue, 8 Jan 2008 23:27:29 +0000 (23:27 +0000)]
Fix problem #1 by setting a lock on writes when we're reading. This means no more stupid/pointless writes.

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

16 years agoxline.db reading. Two things I notice are funky in some way about this.. 1) db module...
w00t [Tue, 8 Jan 2008 23:23:10 +0000 (23:23 +0000)]
xline.db reading. Two things I notice are funky in some way about this.. 1) db module needs to know when lines are being added because of db read (else it generates spurious writes), 2) somehow, my E:Lines in my db turned into glines. Other than that, it seems to have worked.

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

16 years agoCode to write xline.db.. reading is not yet handled.
w00t [Tue, 8 Jan 2008 22:46:30 +0000 (22:46 +0000)]
Code to write xline.db.. reading is not yet handled.

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

16 years agoVery early on version of xline database module, doesn't yet physically store bans...
w00t [Tue, 8 Jan 2008 22:17:50 +0000 (22:17 +0000)]
Very early on version of xline database module, doesn't yet physically store bans.. but does keep track of the ones that exist etc.

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

16 years agoFix careless compile error caused by forward port of patch earlier today.
w00t [Tue, 8 Jan 2008 22:07:27 +0000 (22:07 +0000)]
Fix careless compile error caused by forward port of patch earlier today.

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

16 years agoForward port r8664: bind server sockets on /rehash
w00t [Tue, 8 Jan 2008 15:36:11 +0000 (15:36 +0000)]
Forward port r8664: bind server sockets on /rehash

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

16 years agoDon't send 421 to unregistered clients, per RFC (thanks nenolod)
w00t [Tue, 8 Jan 2008 10:35:07 +0000 (10:35 +0000)]
Don't send 421 to unregistered clients, per RFC (thanks nenolod)

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

16 years agoRemove some debug on startup
w00t [Tue, 8 Jan 2008 08:58:13 +0000 (08:58 +0000)]
Remove some debug on startup

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

16 years agoCorrect typo
w00t [Mon, 7 Jan 2008 23:34:04 +0000 (23:34 +0000)]
Correct typo

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

16 years agogit-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8657 e03df62e-2008...
w00t [Mon, 7 Jan 2008 12:58:24 +0000 (12:58 +0000)]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8657 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSecond half of usercount fix..
w00t [Mon, 7 Jan 2008 12:57:23 +0000 (12:57 +0000)]
Second half of usercount fix..

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

16 years agoFix up some usercounts stuff.. to be tested.
w00t [Mon, 7 Jan 2008 12:47:29 +0000 (12:47 +0000)]
Fix up some usercounts stuff.. to be tested.

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

16 years agoHopefully correct implementation of OnRawMode.. can someone pls check this for me...
w00t [Sun, 6 Jan 2008 21:25:38 +0000 (21:25 +0000)]
Hopefully correct implementation of OnRawMode.. can someone pls check this for me tomorrow.

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

16 years agoOnRawMode event makes a return: This was removed post 1.0 because it was incredibly...
w00t [Sun, 6 Jan 2008 21:04:56 +0000 (21:04 +0000)]
OnRawMode event makes a return: This was removed post 1.0 because it was incredibly slow with the previous hooking mechanism. It should be okay now that module hooks aren't O(n).. Just the header and virtual atm, no implementation in the parser.

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

16 years ago90% sure this fix will mean SHA256 works consistantly. Was a problem in SHA256Update().
w00t [Sun, 6 Jan 2008 18:37:23 +0000 (18:37 +0000)]
90% sure this fix will mean SHA256 works consistantly. Was a problem in SHA256Update().

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

16 years agoPermanent channels, currently conflicts with blockcaps (+P) and is untested
w00t [Sun, 6 Jan 2008 14:43:42 +0000 (14:43 +0000)]
Permanent channels, currently conflicts with blockcaps (+P) and is untested

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

16 years agoBasic core changes for permanent channels.
w00t [Sun, 6 Jan 2008 13:40:34 +0000 (13:40 +0000)]
Basic core changes for permanent channels.

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

16 years agoThrow exception if trying to construct a duplicate channel
w00t [Sun, 6 Jan 2008 12:29:31 +0000 (12:29 +0000)]
Throw exception if trying to construct a duplicate channel

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

16 years agoMove CreateChannel to a constructor instead
w00t [Sun, 6 Jan 2008 02:36:05 +0000 (02:36 +0000)]
Move CreateChannel to a constructor instead

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

16 years agoMove channel creation to a seperate Channel::CreateChannel (y'know, perhaps this...
w00t [Sun, 6 Jan 2008 02:24:26 +0000 (02:24 +0000)]
Move channel creation to a seperate Channel::CreateChannel (y'know, perhaps this might go into a constructor sometime) in preperation for permanent channels

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

16 years agoForward declaration isn't required here
w00t [Sun, 6 Jan 2008 02:01:34 +0000 (02:01 +0000)]
Forward declaration isn't required here

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

16 years agoAdd overridden constructor with specified time in seconds for bancache entry to last...
w00t [Sun, 6 Jan 2008 01:50:34 +0000 (01:50 +0000)]
Add overridden constructor with specified time in seconds for bancache entry to last (we'll probably want to use this for xlines etc)

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

16 years agoMaybe BanCache works now?
w00t [Sun, 6 Jan 2008 01:39:53 +0000 (01:39 +0000)]
Maybe BanCache works now?

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

16 years agoBack out rsquit: wasn't meant to be committed yet.
w00t [Sun, 6 Jan 2008 01:32:44 +0000 (01:32 +0000)]
Back out rsquit: wasn't meant to be committed yet.

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

16 years agoAdd removal of BanCache entries on XLINE add/del, so we avoid out of date responses.
w00t [Sun, 6 Jan 2008 01:31:43 +0000 (01:31 +0000)]
Add removal of BanCache entries on XLINE add/del, so we avoid out of date responses.

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

16 years agoAdd bancache expiry stuff, currently records expire 60 seconds after creation. Live...
w00t [Sun, 6 Jan 2008 01:15:58 +0000 (01:15 +0000)]
Add bancache expiry stuff, currently records expire 60 seconds after creation. Live, we will want perhaps an hour before expiry.

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

16 years agoFix a bug (snotices repeating constantly), and add a flush timer (1x5 seconds)
w00t [Sat, 5 Jan 2008 16:57:42 +0000 (16:57 +0000)]
Fix a bug (snotices repeating constantly), and add a flush timer (1x5 seconds)

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

16 years agoFix snomask stacking, still needs to flush all snomasks on a timer to avoid messages...
w00t [Sat, 5 Jan 2008 16:06:21 +0000 (16:06 +0000)]
Fix snomask stacking, still needs to flush all snomasks on a timer to avoid messages getting too stacked up..

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

16 years agoSnomask stacking: not yet working (crashes), and not quite finished
w00t [Sat, 5 Jan 2008 15:54:37 +0000 (15:54 +0000)]
Snomask stacking: not yet working (crashes), and not quite finished

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

16 years agoAdd SnomaskManager::FlushSnotices() stub
w00t [Sat, 5 Jan 2008 15:25:58 +0000 (15:25 +0000)]
Add SnomaskManager::FlushSnotices() stub

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

16 years agoFix for bug #464, thanks John
brain [Sat, 5 Jan 2008 14:03:44 +0000 (14:03 +0000)]
Fix for bug #464, thanks John

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

16 years agoFix m_banredirect: (hint: sizeof(f) != sizeof(*f) ;p)
w00t [Fri, 4 Jan 2008 23:56:04 +0000 (23:56 +0000)]
Fix m_banredirect: (hint: sizeof(f) != sizeof(*f) ;p)

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

16 years agoRemove non-portable code and replace with a debug call
w00t [Fri, 4 Jan 2008 20:34:25 +0000 (20:34 +0000)]
Remove non-portable code and replace with a debug call

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

16 years agoFix warning reported by owine, caused by SID changes.
w00t [Fri, 4 Jan 2008 18:31:57 +0000 (18:31 +0000)]
Fix warning reported by owine, caused by SID changes.

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

16 years agoForward port r8629: Fix for bug #458 - servers going missing on collision etc
w00t [Fri, 4 Jan 2008 18:06:20 +0000 (18:06 +0000)]
Forward port r8629: Fix for bug #458 - servers going missing on collision etc

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

16 years agoFormat the header a little better, add some stuff preparing for snomask compression...
w00t [Fri, 4 Jan 2008 14:49:40 +0000 (14:49 +0000)]
Format the header a little better, add some stuff preparing for snomask compression. Nothing concrete yet..

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

16 years agoBack out previous patch disabling ADDLINE processing. The problem is in the new facto...
w00t [Fri, 4 Jan 2008 13:52:17 +0000 (13:52 +0000)]
Back out previous patch disabling ADDLINE processing. The problem is in the new factory stuff. This makes it not close the link, and warn about the problem, but not actually fix it yet..

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

16 years agoADDLINE is broken, don't process it for now..
w00t [Fri, 4 Jan 2008 13:44:23 +0000 (13:44 +0000)]
ADDLINE is broken, don't process it for now..

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

16 years agoRemove some stuff that isn't needed from here.
w00t [Fri, 4 Jan 2008 13:43:40 +0000 (13:43 +0000)]
Remove some stuff that isn't needed from here.

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

16 years agoHopefully fix crashes on startup with some connect tags (I think when the last connec...
om [Thu, 3 Jan 2008 15:49:57 +0000 (15:49 +0000)]
Hopefully fix crashes on startup with some connect tags (I think when the last connect tag in your config isn't actually used for anything, but I didn't really look into when this is an issue)

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

16 years agoMinor tweak
w00t [Thu, 3 Jan 2008 15:30:42 +0000 (15:30 +0000)]
Minor tweak

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

16 years agoSID generation should(?) now work again as well. NOTE: no error checking on SID from...
w00t [Thu, 3 Jan 2008 13:17:51 +0000 (13:17 +0000)]
SID generation should(?) now work again as well. NOTE: no error checking on SID from config yet, we may wish to do that sometime..

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

16 years agoPatch turning Config->sid from size_t to char **. This also undoes the total fuckery...
w00t [Thu, 3 Jan 2008 13:04:10 +0000 (13:04 +0000)]
Patch turning Config->sid from size_t to char **. This also undoes the total fuckery that occurs when someone tries to specify <server:id>. Automatic generation is not yet tested.

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

16 years agoUpdate this to use the new oper call
w00t [Wed, 2 Jan 2008 23:53:42 +0000 (23:53 +0000)]
Update this to use the new oper call

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

16 years agoAnd update docs
w00t [Wed, 2 Jan 2008 23:36:04 +0000 (23:36 +0000)]
And update docs

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

16 years agoTotally untested patch to add <oper:modes> support. dz, test. Thanks ;p
w00t [Wed, 2 Jan 2008 23:34:19 +0000 (23:34 +0000)]
Totally untested patch to add <oper:modes> support. dz, test. Thanks ;p

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

16 years agoAdd param 'opername' to event OnPostOper. This will help make a (slightly nicer)...
w00t [Wed, 2 Jan 2008 22:58:47 +0000 (22:58 +0000)]
Add param 'opername' to event OnPostOper. This will help make a (slightly nicer) version of dz's patch to allow modes in <oper>

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

16 years agom_clones: Only show the number of clones and IP for each entry over the limit. Showin...
w00t [Wed, 2 Jan 2008 15:04:33 +0000 (15:04 +0000)]
m_clones: Only show the number of clones and IP for each entry over the limit. Showing nick+ident+host matches is really not that useful. Opers can use /check on the IP to get the information in a more beneficial way.

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

16 years agoRemove an unneeded forward declaration and typedef
w00t [Sun, 30 Dec 2007 13:49:43 +0000 (13:49 +0000)]
Remove an unneeded forward declaration and typedef

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

16 years agoThe mysql worker thread only sleeps 50 nanosecs between cycles, this is not enough...
brain [Thu, 29 Nov 2007 19:37:56 +0000 (19:37 +0000)]
The mysql worker thread only sleeps 50 nanosecs between cycles, this is not enough to prevent it chomping on the CPU on most machines.
Increase to 1000, fixes bugs noticed on forum by JulianD, thanks :)

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

16 years agoNow fetches page. Not the page you ask for, but meh :p
brain [Sun, 18 Nov 2007 11:02:13 +0000 (11:02 +0000)]
Now fetches page. Not the page you ask for, but meh :p

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

16 years agoTest framework connects now
brain [Sun, 18 Nov 2007 10:46:59 +0000 (10:46 +0000)]
Test framework connects now

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

16 years agoHalf complete test framework
brain [Sun, 18 Nov 2007 10:41:25 +0000 (10:41 +0000)]
Half complete test framework

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

16 years agoFirst part of stuff for remote includes (this doesnt work yet)
brain [Sun, 18 Nov 2007 10:25:12 +0000 (10:25 +0000)]
First part of stuff for remote includes (this doesnt work yet)

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

16 years agoIt compiles; ship it.
w00t [Sat, 17 Nov 2007 23:59:39 +0000 (23:59 +0000)]
It compiles; ship it.
(add some sort of working skeleton for BanCacheManager::RemoveEntries().)

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

16 years agoCorrectly do the second setup of the fake client (AFTER uid has been initialised)
w00t [Fri, 16 Nov 2007 17:56:43 +0000 (17:56 +0000)]
Correctly do the second setup of the fake client (AFTER uid has been initialised)

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

16 years agoMinor change: Add + to FMODE on creation of a new channel. This makes all FMODE consi...
w00t [Fri, 16 Nov 2007 12:47:41 +0000 (12:47 +0000)]
Minor change: Add + to FMODE on creation of a new channel. This makes all FMODE consistant, and also clarifies what's going on for authors of third party apps. It's just one character too, so not a big deal :p

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

16 years agoAdd another BanCache stub. I'm not writing it yet as the storage of entries has not...
w00t [Thu, 15 Nov 2007 15:59:05 +0000 (15:59 +0000)]
Add another BanCache stub. I'm not writing it yet as the storage of entries has not yet been finalised.

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

16 years agoArgh, i give up
brain [Mon, 12 Nov 2007 01:33:13 +0000 (01:33 +0000)]
Argh, i give up

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

16 years agoMore craq
brain [Mon, 12 Nov 2007 00:57:05 +0000 (00:57 +0000)]
More craq

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

16 years agoRemove craq
brain [Mon, 12 Nov 2007 00:36:58 +0000 (00:36 +0000)]
Remove craq

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

16 years agoNOTE: our stuff for parsing multiple dns replies for dnsbl with an 'A record reply...
brain [Mon, 12 Nov 2007 00:35:19 +0000 (00:35 +0000)]
NOTE: our stuff for parsing multiple dns replies for dnsbl with an 'A record reply' is broken.
We will fix this at some later date. It was breaking other stuff

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

16 years agoThis works with multiple remote includes now except it hangs when an include is withi...
brain [Sun, 11 Nov 2007 23:49:03 +0000 (23:49 +0000)]
This works with multiple remote includes now except it hangs when an include is within an include

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

16 years agoCurrently crashes with multiple layers of include. don't use this yet
brain [Sun, 11 Nov 2007 23:09:09 +0000 (23:09 +0000)]
Currently crashes with multiple layers of include. don't use this yet

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

16 years agoFix some dodgy destructor stuff
brain [Sun, 11 Nov 2007 21:58:01 +0000 (21:58 +0000)]
Fix some dodgy destructor stuff

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

16 years agoMake sure we dont leak ram after loading files
brain [Sun, 11 Nov 2007 21:47:48 +0000 (21:47 +0000)]
Make sure we dont leak ram after loading files

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

16 years agoHandle non-200 HTTP status codes as error
brain [Sun, 11 Nov 2007 21:07:11 +0000 (21:07 +0000)]
Handle non-200 HTTP status codes as error

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

16 years agoIT WORKS!
brain [Sun, 11 Nov 2007 20:59:00 +0000 (20:59 +0000)]
IT WORKS!
In your face, everyone who sait it couldnt be modular!

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

16 years agoNo crash, now we just have to find out why it wont connect
brain [Sun, 11 Nov 2007 20:54:54 +0000 (20:54 +0000)]
No crash, now we just have to find out why it wont connect

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

16 years agoFixed all that, back to the crash we had before (yay?)
brain [Sun, 11 Nov 2007 20:52:21 +0000 (20:52 +0000)]
Fixed all that, back to the crash we had before (yay?)

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

16 years agoThis fixed. Initialise dns at the end of pass 1 before loading first set of modules
brain [Sun, 11 Nov 2007 20:35:54 +0000 (20:35 +0000)]
This fixed. Initialise dns at the end of pass 1 before loading first set of modules

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

16 years agoTidyups
brain [Sun, 11 Nov 2007 20:26:36 +0000 (20:26 +0000)]
Tidyups

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

16 years agoOk, this works except for it wont resolve hosts before full startup. argh why?!
brain [Sun, 11 Nov 2007 20:23:30 +0000 (20:23 +0000)]
Ok, this works except for it wont resolve hosts before full startup. argh why?!

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

16 years agoHmm
brain [Sun, 11 Nov 2007 20:15:21 +0000 (20:15 +0000)]
Hmm

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

16 years agom_http_client is crashy. will fix.
brain [Sun, 11 Nov 2007 19:58:13 +0000 (19:58 +0000)]
m_http_client is crashy. will fix.

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

16 years agoReally should add this.
brain [Sun, 11 Nov 2007 19:36:07 +0000 (19:36 +0000)]
Really should add this.

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

16 years agoProvide a facility for modules to flag a config file completed
brain [Sun, 11 Nov 2007 19:34:06 +0000 (19:34 +0000)]
Provide a facility for modules to flag a config file completed

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

16 years agoMore stuff incoming
brain [Sun, 11 Nov 2007 19:24:30 +0000 (19:24 +0000)]
More stuff incoming

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

16 years agoMore stuff
brain [Sun, 11 Nov 2007 19:21:19 +0000 (19:21 +0000)]
More stuff

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

16 years agoWe need to initialize the user twice, and we need to initialize the uid AFTER the...
brain [Sun, 11 Nov 2007 19:02:58 +0000 (19:02 +0000)]
We need to initialize the user twice, and we need to initialize the uid AFTER the config is read

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

16 years agoTake out some printf gunk
brain [Sun, 11 Nov 2007 18:57:57 +0000 (18:57 +0000)]
Take out some printf gunk

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

16 years agoReport failure to load configs
brain [Sun, 11 Nov 2007 18:57:22 +0000 (18:57 +0000)]
Report failure to load configs

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

16 years agoAdd a counter for errored files
brain [Sun, 11 Nov 2007 18:45:50 +0000 (18:45 +0000)]
Add a counter for errored files

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

16 years agoWhoops, make it pick up module-handled schemas correctly
brain [Sun, 11 Nov 2007 18:40:01 +0000 (18:40 +0000)]
Whoops, make it pick up module-handled schemas correctly

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

16 years agoThis works properly now. Files in the file:// schema are loaded by the core.
brain [Sun, 11 Nov 2007 18:27:25 +0000 (18:27 +0000)]
This works properly now. Files in the file:// schema are loaded by the core.
Anything else will be loaded by a module, this isnt done yet. For remote includes to work,
your <module> tags for the remote includes modules must be in the base inspircd.conf file.
This is the only file gauranteed to be avaialble in pass 1 of the two pass config read.
At the end of pass 1, all files are opened/downloaded and placed into a map.

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

16 years agoMore stuff for this. Its starting to take shape a bit now, and is tidier than the...
brain [Sun, 11 Nov 2007 18:11:42 +0000 (18:11 +0000)]
More stuff for this. Its starting to take shape a bit now, and is tidier than the craq i came up with before

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

16 years agoBegin rethink on this. Warning, this WILL break your ircd if youre using trunk!
brain [Sun, 11 Nov 2007 17:53:57 +0000 (17:53 +0000)]
Begin rethink on this. Warning, this WILL break your ircd if youre using trunk!

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

16 years agoIn prep for remote includes, configuration reading is now two-pass.
brain [Sun, 11 Nov 2007 17:01:00 +0000 (17:01 +0000)]
In prep for remote includes, configuration reading is now two-pass.
Note that theres an important part missing from here, there can be a NON-BLOCKING delay between the start of pass 2 and the files being available for download.
At this point, ServerConfig::Read() should probably return an ENOTREADY or such at which point it gets monitored for ready state. The socket engine is ready at this point
so we can poll the socket engine for it. In the case of startup, the socket engine blocks in a private loop, its no good booting the ircd till we have a complete config!

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

16 years agoImplement roadmap item: "userrec::HasPermission -> map of maps, for (even faster...
brain [Sun, 11 Nov 2007 15:44:43 +0000 (15:44 +0000)]
Implement roadmap item: "userrec::HasPermission -> map of maps, for (even faster) access"
This is not a map of maps, but a single level map per oper, in non-opers this member is NULL.
Please note that this is not yet tested.

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

16 years agoFix crashes from badly written safeiters
brain [Sun, 11 Nov 2007 12:41:03 +0000 (12:41 +0000)]
Fix crashes from badly written safeiters

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

16 years agoMake iterators safe in FOREACH_MOD etc macros, so that ModuleManager::Detach() wont...
brain [Sun, 11 Nov 2007 01:29:50 +0000 (01:29 +0000)]
Make iterators safe in FOREACH_MOD etc macros, so that ModuleManager::Detach() wont screw up the iterator

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

16 years agoFix owines crashes here too
brain [Sat, 10 Nov 2007 20:34:30 +0000 (20:34 +0000)]
Fix owines crashes here too

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

16 years agoFix crashes found by owine (usually on startup)
brain [Sat, 10 Nov 2007 20:04:39 +0000 (20:04 +0000)]
Fix crashes found by owine (usually on startup)

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

16 years agoSecond test commit
brain [Sat, 10 Nov 2007 17:32:10 +0000 (17:32 +0000)]
Second test commit

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

16 years agoTest commit
brain [Sat, 10 Nov 2007 17:28:05 +0000 (17:28 +0000)]
Test commit

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

16 years agom_spy no longer implements SPYNAMES, instead it overrides normal NAMES on the event...
brain [Sat, 10 Nov 2007 16:19:46 +0000 (16:19 +0000)]
m_spy no longer implements SPYNAMES, instead it overrides normal NAMES on the event that: (1) you are an oper and (2) you are not actually ON the channel.
This way it will not break m_auditorium, m_delayjoin etc, however it will work properly with mircs annoying assumptions in its channel list

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