summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-01-09Fix bug in new XLine system (thanks Brain) - I don't know how I didn't spot ↵w00t
this one :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8672 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Fix problem #2 (this means that xlinedb is essentially working and ↵w00t
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
2008-01-08Fix problem #1 by setting a lock on writes when we're reading. This means no ↵w00t
more stupid/pointless writes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8670 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08xline.db reading. Two things I notice are funky in some way about this.. 1) ↵w00t
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
2008-01-08Code to write xline.db.. reading is not yet handled.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8668 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Very early on version of xline database module, doesn't yet physically store ↵w00t
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
2008-01-08Fix careless compile error caused by forward port of patch earlier today.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Forward port r8664: bind server sockets on /rehashw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8665 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Don't send 421 to unregistered clients, per RFC (thanks nenolod)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8661 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08Remove some debug on startupw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8660 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07Correct typow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8657 ↵w00t
e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07Second half of usercount fix..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8656 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07Fix up some usercounts stuff.. to be tested.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Hopefully correct implementation of OnRawMode.. can someone pls check this ↵w00t
for me tomorrow. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8654 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06OnRawMode event makes a return: This was removed post 1.0 because it was ↵w00t
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
2008-01-0690% sure this fix will mean SHA256 works consistantly. Was a problem in ↵w00t
SHA256Update(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8651 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Permanent channels, currently conflicts with blockcaps (+P) and is untestedw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8650 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Basic core changes for permanent channels.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8649 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Throw exception if trying to construct a duplicate channelw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8648 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Move CreateChannel to a constructor insteadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8647 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Move channel creation to a seperate Channel::CreateChannel (y'know, perhaps ↵w00t
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
2008-01-06Maybe BanCache works now?w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8643 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Back out rsquit: wasn't meant to be committed yet.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8642 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Add removal of BanCache entries on XLINE add/del, so we avoid out of date ↵w00t
responses. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8641 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-06Add bancache expiry stuff, currently records expire 60 seconds after ↵w00t
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
2008-01-05Fix a bug (snotices repeating constantly), and add a flush timer (1x5 seconds)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8639 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-05Fix snomask stacking, still needs to flush all snomasks on a timer to avoid ↵w00t
messages getting too stacked up.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8638 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-05Snomask stacking: not yet working (crashes), and not quite finishedw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-05Add SnomaskManager::FlushSnotices() stubw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8636 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-05Fix for bug #464, thanks Johnbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8634 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-04Fix m_banredirect: (hint: sizeof(f) != sizeof(*f) ;p)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8633 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-04Remove non-portable code and replace with a debug callw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8632 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-04Fix warning reported by owine, caused by SID changes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8631 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-04Forward port r8629: Fix for bug #458 - servers going missing on collision etcw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8630 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-04Back out previous patch disabling ADDLINE processing. The problem is in the ↵w00t
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
2008-01-04ADDLINE is broken, don't process it for now..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8626 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-03Hopefully fix crashes on startup with some connect tags (I think when the ↵om
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
2008-01-03Minor tweakw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8621 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-03SID generation should(?) now work again as well. NOTE: no error checking on ↵w00t
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
2008-01-03Patch turning Config->sid from size_t to char **. This also undoes the total ↵w00t
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
2008-01-02Update this to use the new oper callw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8618 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-02Totally untested patch to add <oper:modes> support. dz, test. Thanks ;pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8616 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-02Add param 'opername' to event OnPostOper. This will help make a (slightly ↵w00t
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
2008-01-02m_clones: Only show the number of clones and IP for each entry over the ↵w00t
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
2007-11-29The mysql worker thread only sleeps 50 nanosecs between cycles, this is not ↵brain
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
2007-11-18Now fetches page. Not the page you ask for, but meh :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8604 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-18Test framework connects nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8603 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-18Half complete test frameworkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8602 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-18First part of stuff for remote includes (this doesnt work yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8601 e03df62e-2008-0410-955e-edbf42e46eb7