aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* XLines now only checked for expiry on positive hit. saves us a honking big ↵Gravatar brain2007-11-022-38/+40
| | | | | | O(n) loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8458 e03df62e-2008-0410-955e-edbf42e46eb7
* xline gutting, once more. There is no longer an active_lines vector, and no ↵Gravatar brain2007-11-023-119/+48
| | | | | | | | | requirement for sorting. Expiry will be cheked on a per-line basis for each positive hit on that line, saving on cpu time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8457 e03df62e-2008-0410-955e-edbf42e46eb7
* Make misconfiguration of spanningtree more 'fatal' so we get less morons ↵Gravatar brain2007-11-011-9/+14
| | | | | | coming to us saying 'it wont link' and not knowing its skipped their invalid link tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8455 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment a message out that people regularly attempt to interpretGravatar w00t2007-11-011-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8453 e03df62e-2008-0410-955e-edbf42e46eb7
* Update docs on how XLine system will be workingGravatar w00t2007-11-011-23/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8452 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it compilable :pGravatar brain2007-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8451 e03df62e-2008-0410-955e-edbf42e46eb7
* There, i think all thats now left is matches_*line which we can do with two ↵Gravatar brain2007-10-311-61/+0
| | | | | | | | | overloaded methods Matches(const char type, const std::string &pattern) and Matches(const char type, User* u) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8450 e03df62e-2008-0410-955e-edbf42e46eb7
* Add XLine::SetCreateTime that removes gline_set_creation_time and friendsGravatar brain2007-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8449 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix (?) stats charsGravatar brain2007-10-312-41/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8448 e03df62e-2008-0410-955e-edbf42e46eb7
* This *should* fix expiry. Can someone else (w00t? :p) test for me, and check ↵Gravatar brain2007-10-311-23/+23
| | | | | | im not committing something thats a pointless exercise in futility? :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8447 e03df62e-2008-0410-955e-edbf42e46eb7
* More debug in hereGravatar brain2007-10-311-3/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8446 e03df62e-2008-0410-955e-edbf42e46eb7
* Start to fix broken expiryGravatar brain2007-10-311-2/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8445 e03df62e-2008-0410-955e-edbf42e46eb7
* Use XLineFactory in ADDLINE, so that it can deal with anything the rest of ↵Gravatar brain2007-10-311-40/+8
| | | | | | the ircd knows about git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8444 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it all compile.Gravatar brain2007-10-316-88/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8443 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix up to pass User*Gravatar brain2007-10-318-32/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8442 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove all the OnAddGLine, OnAddWhateverLine replace with one simple ↵Gravatar brain2007-10-311-10/+2
| | | | | | OnAddLine and a OnDelLine which is passed User* (person adding or NULL if its the server) and the XLine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8440 e03df62e-2008-0410-955e-edbf42e46eb7
* Add factories for other typesGravatar brain2007-10-311-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8439 e03df62e-2008-0410-955e-edbf42e46eb7
* Add factories for eline and gline as testsGravatar brain2007-10-311-0/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8438 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement: XLineManager::RegisterFactory, UnregisterFactory, GetFactoryGravatar brain2007-10-311-0/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8437 e03df62e-2008-0410-955e-edbf42e46eb7
* Spanningtree now compilesGravatar brain2007-10-311-8/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8435 e03df62e-2008-0410-955e-edbf42e46eb7
* This one too, grrGravatar brain2007-10-312-7/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8434 e03df62e-2008-0410-955e-edbf42e46eb7
* Bloody hell, just how many modules use this shitGravatar brain2007-10-311-12/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8433 e03df62e-2008-0410-955e-edbf42e46eb7
* More fixesGravatar brain2007-10-316-9/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8432 e03df62e-2008-0410-955e-edbf42e46eb7
* Make /gline etc compile with new methodsGravatar brain2007-10-315-5/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8431 e03df62e-2008-0410-955e-edbf42e46eb7
* More fixes and some optimizationsGravatar brain2007-10-311-11/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8430 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuffGravatar brain2007-10-312-10/+49
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8429 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixified some moreGravatar brain2007-10-313-11/+42
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8428 e03df62e-2008-0410-955e-edbf42e46eb7
* The rest doesnt compile yet, dont bother :pGravatar brain2007-10-311-82/+44
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8427 e03df62e-2008-0410-955e-edbf42e46eb7
* Reorder creation of objects so:Gravatar w00t2007-10-311-9/+9
| | | | | | | 1) they are all done in the same place 2) calling InspIRCd::Exit() early on (before initialising a few things is done) doesn't crash us ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8426 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up XLine conf stuff a little bit, move most of it to configreader. ↵Gravatar w00t2007-10-314-77/+80
| | | | | | Also, check elines and call ApplyLines on both rehash and startup. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8425 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for nick@server requested by many. We are not likely to backport ↵Gravatar brain2007-10-302-4/+42
| | | | | | this, cant actually find reference to it in rfc1459 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8424 e03df62e-2008-0410-955e-edbf42e46eb7
* A few more timesaving checks.Gravatar brain2007-10-291-0/+15
| | | | | | | | The more astute amongst you will have noticed all the Add?Line functions now look practically identical. This paves the way for us to have one generic one, but before we do this i'd rather have us add an XLine* pointer to it, not a hostmask or something non-generic. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8423 e03df62e-2008-0410-955e-edbf42e46eb7
* Add the lookup_lines stuff. Sorry i havent documented this yet, i am tired.Gravatar brain2007-10-291-6/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8422 e03df62e-2008-0410-955e-edbf42e46eb7
* Big fat fixme hereGravatar brain2007-10-291-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8421 e03df62e-2008-0410-955e-edbf42e46eb7
* Ok, now each xline will be in two places. The sorted vector and a map, each ↵Gravatar brain2007-10-291-5/+5
| | | | | | | | | line type having its own map stored in a map of maps. (RTFS when its done) This allows for faster checking for simple existence of a line for removal/adding without O(n) lookups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8420 e03df62e-2008-0410-955e-edbf42e46eb7
* Compile fixesGravatar brain2007-10-295-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8419 e03df62e-2008-0410-955e-edbf42e46eb7
* This commit is untested and breaks a lot of xline stuff. work in progress.Gravatar brain2007-10-291-189/+99
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8418 e03df62e-2008-0410-955e-edbf42e46eb7
* Make ELines cached, and check for ELined status in all the Matches for all ↵Gravatar w00t2007-10-281-25/+34
| | | | | | the linetypes. Brain, SVN up before you overwrite my fixes to bits of this again :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8417 e03df62e-2008-0410-955e-edbf42e46eb7
* Update User::exempt all the time we change an E:Line. Brain, can you check ↵Gravatar w00t2007-10-281-4/+28
| | | | | | I've done this okay, and fix my XXX if you know how? ta. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8416 e03df62e-2008-0410-955e-edbf42e46eb7
* YAR!Gravatar brain2007-10-281-82/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8415 e03df62e-2008-0410-955e-edbf42e46eb7
* GrrGravatar brain2007-10-281-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8413 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Apply and DefaultApply.Gravatar brain2007-10-281-0/+39
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8412 e03df62e-2008-0410-955e-edbf42e46eb7
* FixifyGravatar w00t2007-10-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8411 e03df62e-2008-0410-955e-edbf42e46eb7
* Rewrite of XLineManager::ApplyLines to only apply pending lines. This ↵Gravatar w00t2007-10-281-56/+94
| | | | | | ..doesn't seem to compile at the moment for me. Not tested, at all. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8410 e03df62e-2008-0410-955e-edbf42e46eb7
* I think this is done. Add overloaded Matches() which takes std::string and ↵Gravatar brain2007-10-281-1/+21
| | | | | | implement it in zline and qline, the rest dont need it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8409 e03df62e-2008-0410-955e-edbf42e46eb7
* Move matches_qline to Matches, though this won't work properly .. :sGravatar w00t2007-10-281-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8408 e03df62e-2008-0410-955e-edbf42e46eb7
* Make E:Line/G:Line use the Matches stuffGravatar w00t2007-10-281-16/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8407 e03df62e-2008-0410-955e-edbf42e46eb7
* Make ZLine use Matches()Gravatar w00t2007-10-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8406 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this to pass a UserGravatar w00t2007-10-281-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7
* Done my partGravatar brain2007-10-281-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8404 e03df62e-2008-0410-955e-edbf42e46eb7