]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Sat, 19 Jan 2008 18:50:43 +0000 (18:50 +0000)]
Extra sanity checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8741
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 19 Jan 2008 18:44:20 +0000 (18:44 +0000)]
Fix freebsd glitches
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8740
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Sat, 19 Jan 2008 17:33:13 +0000 (17:33 +0000)]
Add ./configure --list-extras, --enable-extras, and --disable-extras
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8739
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Sat, 19 Jan 2008 17:30:32 +0000 (17:30 +0000)]
Fix m_callerid not adding the usermode.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8738
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Sat, 19 Jan 2008 16:58:18 +0000 (16:58 +0000)]
Modules using NoPedantic now properly respect 'make debug'.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8737
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 19 Jan 2008 16:36:22 +0000 (16:36 +0000)]
Add aquanight to developers section
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8736
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 19 Jan 2008 15:58:12 +0000 (15:58 +0000)]
Initial implementation of callerid, provided by aquanight. Untested as of yet. Probably could use a little of the /watch love to speed up removals in the future.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8735
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 19 Jan 2008 01:26:14 +0000 (01:26 +0000)]
And another tiny one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8734
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 19 Jan 2008 01:22:28 +0000 (01:22 +0000)]
Patch from aquanight to fix a problem introduced with some of the recent tidyups.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8733
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 17 Jan 2008 23:40:18 +0000 (23:40 +0000)]
Remove a redundant method here, call the mode manager directly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8732
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 17 Jan 2008 21:36:02 +0000 (21:36 +0000)]
Aquanight's configure strict/fatal warnings patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8731
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 17 Jan 2008 16:40:17 +0000 (16:40 +0000)]
The outer if (socket > -1) check in AddClient is obsolete and this is already checked in socket.cpp. We can remove and just have the inner check.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8730
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 17 Jan 2008 15:54:33 +0000 (15:54 +0000)]
Fix.. snomask O is already taken (ffs) so use A instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 17 Jan 2008 13:07:49 +0000 (13:07 +0000)]
Remove InspIRCd::WriteOpers in favour of snomask O
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 17 Jan 2008 12:29:33 +0000 (12:29 +0000)]
Start converting WriteOpers calls into snomask 'O' -- generic oper notices.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8727
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 17 Jan 2008 12:17:09 +0000 (12:17 +0000)]
Move a number of methods from class InspIRCd to class UserManager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8726
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 17 Jan 2008 12:02:22 +0000 (12:02 +0000)]
Add logger.(cpp|h), will eventually hold implementation of logging manager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8725
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 21:45:50 +0000 (21:45 +0000)]
Make default bancache time one day. This may seem long, but as XLines expire, so will the bancache entries, so it'll be fine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8724
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 21:43:03 +0000 (21:43 +0000)]
Add an overridden AddHit to BanCacheManager, allowing the expiry time to be set.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8723
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 16 Jan 2008 21:42:42 +0000 (21:42 +0000)]
Make the sid exception message more descriptive so a user knows what a valid SID is
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8722
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 21:36:07 +0000 (21:36 +0000)]
Validate <server:id> on startup if provided, thx Brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 16:23:43 +0000 (16:23 +0000)]
Add a warning about quitting a user twice, and fix a minor brainfart
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8718
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 16:19:57 +0000 (16:19 +0000)]
Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 09:14:23 +0000 (09:14 +0000)]
Two stage commit: don't set user->muted except in QuitUser (duplicate setting), also, change muted to drop all socket operations instead of just not reading the user's buffer if muted is set (no point wasting time - they're going away). Also revert culllist back to once per mainloop iteration now it is much cheaper than previously.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 08:55:18 +0000 (08:55 +0000)]
Re-add support for silent quits (note: we also remove an O(n) doing it this way)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8715
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 16 Jan 2008 07:59:09 +0000 (07:59 +0000)]
Hacked-up culllist: stores user pointers rather than CullItem, as creating them seems to be very expensive and wasteful. Doesn't support silent quits (yet), and User::QuitUser seems to trigger *many* times per user before they are removed (socketengine getting write events to closed socket perhaps). It's still much quicker than the old way (NO perceptible lag AT ALL :))
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8714
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 15 Jan 2008 16:12:39 +0000 (16:12 +0000)]
Someone forgot to delete what they new :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8713
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 15 Jan 2008 16:06:35 +0000 (16:06 +0000)]
CullList -> CullItem *
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8712
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 15 Jan 2008 15:32:22 +0000 (15:32 +0000)]
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
w00t [Tue, 15 Jan 2008 14:32:52 +0000 (14:32 +0000)]
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
w00t [Mon, 14 Jan 2008 23:40:16 +0000 (23:40 +0000)]
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
w00t [Sun, 13 Jan 2008 21:29:53 +0000 (21:29 +0000)]
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
w00t [Sun, 13 Jan 2008 19:45:28 +0000 (19:45 +0000)]
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
w00t [Sun, 13 Jan 2008 03:51:04 +0000 (03:51 +0000)]
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
w00t [Sun, 13 Jan 2008 03:37:25 +0000 (03:37 +0000)]
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
w00t [Sun, 13 Jan 2008 03:10:30 +0000 (03:10 +0000)]
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
w00t [Sun, 13 Jan 2008 02:59:06 +0000 (02:59 +0000)]
Feh. Remember the header too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8703
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 13 Jan 2008 02:57:09 +0000 (02:57 +0000)]
Add usermanager.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8702
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 13 Jan 2008 00:40:23 +0000 (00:40 +0000)]
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
w00t [Thu, 10 Jan 2008 22:45:51 +0000 (22:45 +0000)]
Document <goodchan>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8697
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 10 Jan 2008 22:43:10 +0000 (22:43 +0000)]
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
w00t [Thu, 10 Jan 2008 13:27:07 +0000 (13:27 +0000)]
Header update: 2007 -> 2008
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 10 Jan 2008 13:20:37 +0000 (13:20 +0000)]
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
w00t [Thu, 10 Jan 2008 13:15:22 +0000 (13:15 +0000)]
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
w00t [Thu, 10 Jan 2008 11:49:15 +0000 (11:49 +0000)]
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
w00t [Thu, 10 Jan 2008 11:47:15 +0000 (11:47 +0000)]
Implement <options:prefixpart|suffixpart|fixedpart>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8690
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 10 Jan 2008 11:16:17 +0000 (11:16 +0000)]
Add optional SAPART reason. No prefixing done yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8689
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 10 Jan 2008 08:14:54 +0000 (08:14 +0000)]
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
brain [Thu, 10 Jan 2008 02:37:42 +0000 (02:37 +0000)]
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
w00t [Wed, 9 Jan 2008 23:35:39 +0000 (23:35 +0000)]
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
w00t [Wed, 9 Jan 2008 23:30:15 +0000 (23:30 +0000)]
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
w00t [Wed, 9 Jan 2008 22:35:24 +0000 (22:35 +0000)]
Utterly untested RLINE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8682
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 9 Jan 2008 22:07:43 +0000 (22:07 +0000)]
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
w00t [Wed, 9 Jan 2008 21:38:06 +0000 (21:38 +0000)]
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
brain [Wed, 9 Jan 2008 15:26:24 +0000 (15:26 +0000)]
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
w00t [Wed, 9 Jan 2008 12:31:59 +0000 (12:31 +0000)]
Add OnExpireLine hook to xline db stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8677
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 9 Jan 2008 12:20:21 +0000 (12:20 +0000)]
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
w00t [Wed, 9 Jan 2008 12:04:09 +0000 (12:04 +0000)]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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