7264 Commits

Author SHA1 Message Date
brain
b7a990e474 Someone forgot to delete what they new :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8713 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-15 16:12:39 +00:00
w00t
f059ceea21 CullList -> CullItem *
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8712 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-15 16:06:35 +00:00
w00t
2cd906702d CullList: Don't try quit everyone. Speed/resource use enhancement on netsplits..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-15 15:32:22 +00:00
w00t
130f5c44d7 Fix a stupid crash on unknown commands caused by me blindly applying a 1.1 patch.. doesn't affect 1.1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-15 14:32:52 +00:00
w00t
d558e37d37 IPv6 fix, thanks to danieldg. Doesn't affect 1.1.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8709 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-14 23:40:16 +00:00
w00t
c88afe5b9a New timer code. This may be a tiny fraction slower (though I think it will be acceptable given that we no longer need to tick old timers etc), but it is a lot simpler (about half the codesize of the old + no allocation of new timergroups etc), and should (I hope) always tick timers and never 'lose' them. Performs okay under 3500 connection attempts (0:00 CPU time :))
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8708 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 21:29:53 +00:00
w00t
2620d1258c Undo my constructor playing, I'm pretty sure it will break stuff. This will require thinkings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8707 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 19:45:28 +00:00
w00t
de6bba7882 Move User::AddClient to UserManager::AddClient. WARNING: I assure you this is currently WRONG as I was playing with moving a few bits to the constructor.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8706 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 03:51:04 +00:00
w00t
2192a9f58a First UserManager overhaul: Move clone counts out of InspIRCd & User.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 03:37:25 +00:00
w00t
f56b7d5e86 Add a channel manager class while I'm at it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 03:10:30 +00:00
w00t
61e944f9fd Feh. Remember the header too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 02:59:06 +00:00
w00t
f96eeeddab Add usermanager.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 02:57:09 +00:00
w00t
fad966254b I think (and Brain concurs) that B for blockcaps and P for permanent make a lot more sense, so 1.2 blockcaps gets mode B.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8701 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13 00:40:23 +00:00
w00t
4b1359148d Document <goodchan>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8697 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 22:45:51 +00:00
w00t
a433607124 Add goodchan tags for m_denychans: Allows the use case of forbidding *warez*, and allowing #thisreallyisntwarez, or whatever.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8696 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 22:43:10 +00:00
w00t
e4acbc95b8 Header update: 2007 -> 2008
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 13:27:07 +00:00
w00t
e91eea9173 Erase their quit count on banning (so they get another 10 or whatever attempts, and not banned instantly on one quit after that ;p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8693 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 13:20:37 +00:00
w00t
51a610ae06 Add m_quitban: Bans IPs that connect/disconnect more than X times per 3600 seconds for a configurable duration. Default is 10 quits, 10 minute ban.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8692 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 13:15:22 +00:00
w00t
1b4c004701 Document <options:prefixpart|suffixpart|fixedpart>. Set prefixpart and suffixpart to default to double quote.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8691 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 11:49:15 +00:00
w00t
84083a73e8 Implement <options:prefixpart|suffixpart|fixedpart>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8690 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 11:47:15 +00:00
w00t
e3a4d6113d Add optional SAPART reason. No prefixing done yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8689 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 11:16:17 +00:00
w00t
26d7a95ed5 Register RLine factory on load, unregister it on unload.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8686 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 08:14:54 +00:00
brain
b36d3b36ed Fix bug in rline, xline derived class declared itself as xline type 'K' not 'R'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8685 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 02:37:42 +00:00
w00t
bab1af3e4a Fix some random crash due to my not knowing how to use STL *shrug*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8684 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 23:35:39 +00:00
w00t
4cad1538f8 Correct a few things, and yay for code that randomly decides to work.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8683 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 23:30:15 +00:00
w00t
c91c94014e Utterly untested RLINE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8682 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 22:35:24 +00:00
w00t
583c24d6c6 Flesh this out a little more. Create our derived XLine and factory. Doesn't implement a command yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8681 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 22:07:43 +00:00
w00t
f60dc75f47 Add RLINE skeleton module to move it between PCs (I'm lazy :p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8680 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 21:38:06 +00:00
brain
a35e98c32b Fix for bug #464, taxonomy output spooled to target not to requestor, reported by John, thanks :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8678 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 15:26:24 +00:00
w00t
fd71f2ac19 Add OnExpireLine hook to xline db stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 12:31:59 +00:00
w00t
6f84254ed6 Add OnExpireLine(XLine *) hook, will be used in xline db stuff to avoid getting a fucked up vector
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 12:20:21 +00:00
w00t
5f90329e30 Some quick credits updates.. nothing huge, just people that have been helpful during 1.2 so far, etc..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 12:04:09 +00:00
w00t
12e974a85d Fake lag on nick change, thanks pLaYa
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8674 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-09 11:47:04 +00:00
w00t
988e6824d5 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
2008-01-09 08:41:45 +00:00
w00t
6ce70de0c1 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
2008-01-09 08:08:50 +00:00
w00t
82fd63d222 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
2008-01-08 23:33:57 +00:00
w00t
228665b0ab 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
2008-01-08 23:27:29 +00:00
w00t
95494e6527 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
2008-01-08 23:23:10 +00:00
w00t
27c6e9c76e 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
2008-01-08 22:46:30 +00:00
w00t
4692b17baf 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
2008-01-08 22:17:50 +00:00
w00t
71df52627e 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
2008-01-08 22:07:27 +00:00
w00t
38ba80102f Forward port r8664: bind server sockets on /rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8665 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08 15:36:11 +00:00
w00t
e7310ca2f6 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
2008-01-08 10:35:07 +00:00
w00t
25d1f76ca0 Remove some debug on startup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8660 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-08 08:58:13 +00:00
w00t
37c6eda15a Correct typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07 23:34:04 +00:00
w00t
f68bb96289 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8657 e03df62e-2008-0410-955e-edbf42e46eb7 2008-01-07 12:58:24 +00:00
w00t
257ebdc4c2 Second half of usercount fix..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8656 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07 12:57:23 +00:00
w00t
2add2b79ca Fix up some usercounts stuff.. to be tested.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07 12:47:29 +00:00
w00t
38cc4dda4d 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
2008-01-06 21:25:38 +00:00
w00t
413074b771 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
2008-01-06 21:04:56 +00:00