summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Jersey cows! v1.2.0b1Gravatar brain2008-09-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10600 e03df62e-2008-0410-955e-edbf42e46eb7
* Also fix here; glob patterns may not start with > or <. TODO: iterate comma ↵Gravatar peavey2008-09-251-1/+1
| | | | | | sep tokenlist to catch LIST >0,<10000 as other IRCDs do. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10599 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix faulty logic, glob patterns may not start with > or <. TODO: iterate ↵Gravatar peavey2008-09-251-1/+1
| | | | | | comma sep tokenlist to catch LIST >0,<10000 as other IRCDs do. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10598 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #610 reported by ankit, numeric changed to 505Gravatar brain2008-09-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10596 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for listening sockets not clearing their timeout on connected. Reported ↵Gravatar peavey2008-09-242-1/+4
| | | | | | by Sazpaimon. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10594 e03df62e-2008-0410-955e-edbf42e46eb7
* Set Id property on a bunch of modules which lack it, etc.Gravatar brain2008-09-224-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10593 e03df62e-2008-0410-955e-edbf42e46eb7
* warning-free on windowsGravatar brain2008-09-221-7/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10592 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows compile fixes for RLineGravatar brain2008-09-221-5/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7
* Second part of fix for bug #605, make adding and removal of lines not case ↵Gravatar brain2008-09-221-10/+10
| | | | | | sensitive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10590 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #605 reported by MacGuyver, if a line is expired when we are ↵Gravatar brain2008-09-222-2/+11
| | | | | | adding another with the same hostmask, replace the existing line with the new one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10589 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix /STATS output to show the regex module in useGravatar brain2008-09-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10588 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix leak, thanks aquanightGravatar brain2008-09-211-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10586 e03df62e-2008-0410-955e-edbf42e46eb7
* No longer neededGravatar brain2008-09-211-461/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10585 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix re-creation of config filtersGravatar brain2008-09-211-5/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10584 e03df62e-2008-0410-955e-edbf42e46eb7
* Because m_filter reads definitions from the conf, unlike rline, when we see ↵Gravatar brain2008-09-211-1/+4
| | | | | | our engine via OnLoadModule we must do a partial rehash to get these lines from the conf and ensure theyre applied, because they would have failed to apply initially. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10583 e03df62e-2008-0410-955e-edbf42e46eb7
* Well, that was moronic of meGravatar brain2008-09-211-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10582 e03df62e-2008-0410-955e-edbf42e46eb7
* someone forget an instanceGravatar brain2008-09-212-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10581 e03df62e-2008-0410-955e-edbf42e46eb7
* This compiles but is NOT tested yet. Do not use unless you like pain.Gravatar brain2008-09-212-238/+591
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10580 e03df62e-2008-0410-955e-edbf42e46eb7
* Be consistent. Use ServerInstance in all places instead of 'Instance' in ↵Gravatar w00t2008-09-2138-330/+330
| | | | | | half. This has bugged me forever :p. I think I got all of extra/ too.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes. Dont try and catch exceptions within the RLine ctor, we dont always ↵Gravatar brain2008-09-211-27/+7
| | | | | | | | | want crud outputting to snomask x in every situation. Its up to the caller that creates the object as to what they want to do with the exception and if they want it shown. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10578 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix various rline bugs, implement /stats R, and fix the issue where you get ↵Gravatar brain2008-09-212-14/+28
| | | | | | | | | | no error. "Something will already have said why it fucked up" -- what about when the rline fails due to missing provider? Also fix the fact that we dont have a catch around the Generate() in addline, which would just make insp abort. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10577 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug discovered by Ankit, m_rline loaded without regex provider causes ↵Gravatar brain2008-09-211-7/+13
| | | | | | | | | segfault because of missing check for NULL when querying RegexProvider interface git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10576 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix the 'i/o error on connection (no error)' stuff, by displaying 'connected ↵Gravatar brain2008-09-212-2/+11
| | | | | | | | | | closed unexpectedly' when errno == 0. Also trigger failover whenever a connection times out in the new authentication timeout code (the connection isnt properly established so the failover should trigger) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10575 e03df62e-2008-0410-955e-edbf42e46eb7
* Make regex providers load correctly. Move m_rline to use the regex ↵Gravatar aquanight2008-09-215-21/+96
| | | | | | providers, and also move m_rline out of extras/. Document provider modules, <rline:engine> and particularly the uselessness of <rline engine="glob">. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10573 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crashGravatar brain2008-09-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10572 e03df62e-2008-0410-955e-edbf42e46eb7
* Move m_regex.h and m_regex_glob.cpp to main modules directory, as these have ↵Gravatar aquanight2008-09-202-0/+0
| | | | | | no requirements. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10571 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the old TODO commentGravatar brain2008-09-201-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10570 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a rather nasty race condition revealed by my reading through the ↵Gravatar brain2008-09-205-36/+79
| | | | | | | | | | comments and enhancing them. Back when i did executeable includes, i placed a 'todo' in the code which said something along the lines of: 'we cant pass a User* into the config reader any more, because when the config reader thread finishes, that user may be gone and this will crash. Consider using an UID instead so that if the user vanishes, we can detect this situation.' Of course, nobody ever did this, so i'm doing it now to ensure we dont come up against some particularly ugly race condition crashes! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10569 e03df62e-2008-0410-955e-edbf42e46eb7
* More comments, and remove some unused craq. Someone (that being me) once ↵Gravatar brain2008-09-201-126/+0
| | | | | | | | | wrote a craqy imitation of std::bitset called dynamicbitmask which took up a large amount of hashcomp.{h,cpp} before i actually knew that std::bitset existed. NOTHING has ever used this class, so whack it as tidyup, knowing it wont break anything :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10567 e03df62e-2008-0410-955e-edbf42e46eb7
* Roll back core matcher to the 1.1 design, which doesnt fail various unit testsGravatar brain2008-09-201-55/+41
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10564 e03df62e-2008-0410-955e-edbf42e46eb7
* Add test suite tests for wildcard function for failures discovered by AnkitGravatar brain2008-09-201-42/+54
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10563 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix my massacre of kqueue, filters may not be or'd.Gravatar w00t2008-09-191-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10561 e03df62e-2008-0410-955e-edbf42e46eb7
* inbound sockets need a timeout, too. 30 secs should be pleantyGravatar brain2008-09-191-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10560 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't check E:Lines when enforcing Q:Lines on connected users. Thanks MacGyver.Gravatar w00t2008-09-191-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10559 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement timeout on outgoing server connections as per our docs <link:timeout>Gravatar peavey2008-09-195-0/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10558 e03df62e-2008-0410-955e-edbf42e46eb7
* Reinvert order of insert/erase into user hash_map to avoid a lil crash :)Gravatar peavey2008-09-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10557 e03df62e-2008-0410-955e-edbf42e46eb7
* Roll back tweak to the starttls spec requested by kvirc devs, sorry we cant ↵Gravatar brain2008-09-171-14/+0
| | | | | | do this as we have other client devs breathing down our throats that it broke their clients :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10549 e03df62e-2008-0410-955e-edbf42e46eb7
* Shrink users properly on quit, and make cloaks for all existing users on ↵Gravatar brain2008-09-161-1/+17
| | | | | | load, for situations where the cloaking module is loaded after the ircd is booted. Thanks Ankit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10546 e03df62e-2008-0410-955e-edbf42e46eb7
* Be more verbose in ValidateNotEmpty on failure. Patch by CyberbotX.Gravatar peavey2008-09-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10544 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ ↵Gravatar special2008-09-141-15/+6
| | | | | | behavior (and silly, since we have sepstream) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7
* dont try and cloak if no valid cloak was returned (eg. localhost)Gravatar peavey2008-09-141-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10542 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed Allowed Modes to bitsets.Gravatar aquanight2008-09-131-37/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge commit 'danieldg/out-12'Gravatar w00t2008-09-132-14/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10540 e03df62e-2008-0410-955e-edbf42e46eb7
* more namespace fix0rzGravatar peavey2008-09-132-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10539 e03df62e-2008-0410-955e-edbf42e46eb7
* OptimisationGravatar brain2008-09-131-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10538 e03df62e-2008-0410-955e-edbf42e46eb7
* namespace fix0rzGravatar peavey2008-09-131-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10537 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix setting of +x before we've processed an OnUserConnectGravatar brain2008-09-131-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10536 e03df62e-2008-0410-955e-edbf42e46eb7
* Last cleanup. All trunk extras now builds again.Gravatar peavey2008-09-122-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10532 e03df62e-2008-0410-955e-edbf42e46eb7
* fix for listensocket, tested and also working like a charm.Gravatar peavey2008-09-121-45/+62
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10531 e03df62e-2008-0410-955e-edbf42e46eb7
* more cleanupGravatar peavey2008-09-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10530 e03df62e-2008-0410-955e-edbf42e46eb7