summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-26Fix for bug found by eLement, when an oper is on a notify list and the oper ↵brain
sets +Q, then the watch list for that user goes into an undefined state due to the metadata not being correctly cleared from the user in m_watch OnUserQuit. Thanks :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8752 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-26Tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8751 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-26Whoops, should have test compiled thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8750 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-26macgyverdgi asked for this :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8749 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-25Fix a typo in an m_callerid error message, and add m_callerid and m_filter ↵aquanight
<exemptfromfilter> to example conf. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8748 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21win32 compile error fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8747 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21win32 compilation errors: shadowing of variable 'i' isnt a good ideabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8746 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21win32 compile error fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8745 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21This still doesnt work :(brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8744 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21Win32 compilation fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8743 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-20Update m_filter* to 1.2 API (it was still using Implements()), also ↵aquanight
implement <exemptfromfilter channel="#blah"> to exclude channels from filtering. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8742 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Extra sanity checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8741 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Fix freebsd glitchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8740 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Add ./configure --list-extras, --enable-extras, and --disable-extrasaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8739 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Fix m_callerid not adding the usermode.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8738 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Modules using NoPedantic now properly respect 'make debug'.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Add aquanight to developers sectionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8736 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Initial implementation of callerid, provided by aquanight. Untested as of ↵w00t
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
2008-01-19And another tiny onew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8734 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Patch from aquanight to fix a problem introduced with some of the recent ↵w00t
tidyups. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8733 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Remove a redundant method here, call the mode manager directlyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8732 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Aquanight's configure strict/fatal warnings patchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17The outer if (socket > -1) check in AddClient is obsolete and this is ↵brain
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
2008-01-17Fix.. snomask O is already taken (ffs) so use A insteadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Remove InspIRCd::WriteOpers in favour of snomask Ow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Start converting WriteOpers calls into snomask 'O' -- generic oper notices.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8727 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Move a number of methods from class InspIRCd to class UserManagerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8726 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Add logger.(cpp|h), will eventually hold implementation of logging managerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8725 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Make default bancache time one day. This may seem long, but as XLines ↵w00t
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
2008-01-16Add an overridden AddHit to BanCacheManager, allowing the expiry time to be set.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8723 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Make the sid exception message more descriptive so a user knows what a valid ↵brain
SID is git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8722 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Validate <server:id> on startup if provided, thx Brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Add a warning about quitting a user twice, and fix a minor brainfartw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8718 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some ↵w00t
more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Two stage commit: don't set user->muted except in QuitUser (duplicate ↵w00t
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
2008-01-16Re-add support for silent quits (note: we also remove an O(n) doing it this way)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8715 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Hacked-up culllist: stores user pointers rather than CullItem, as creating ↵w00t
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
2008-01-15Someone forgot to delete what they new :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8713 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-15CullList -> CullItem *w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8712 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-15CullList: Don't try quit everyone. Speed/resource use enhancement on netsplits..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-15Fix a stupid crash on unknown commands caused by me blindly applying a 1.1 ↵w00t
patch.. doesn't affect 1.1 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-14IPv6 fix, thanks to danieldg. Doesn't affect 1.1.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8709 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13New timer code. This may be a tiny fraction slower (though I think it will ↵w00t
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-13Undo my constructor playing, I'm pretty sure it will break stuff. This will ↵w00t
require thinkings. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8707 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13Move User::AddClient to UserManager::AddClient. WARNING: I assure you this ↵w00t
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-13First UserManager overhaul: Move clone counts out of InspIRCd & User.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13Add a channel manager class while I'm at it.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13Feh. Remember the header too.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13Add usermanager.cppw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-13I think (and Brain concurs) that B for blockcaps and P for permanent make a ↵w00t
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