summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-09-22Set Id property on a bunch of modules which lack it, etc.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10593 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-22warning-free on windowsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10592 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-22Windows compile fixes for RLinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-22Second part of fix for bug #605, make adding and removal of lines not case ↵brain
sensitive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10590 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-22Fix for bug #605 reported by MacGuyver, if a line is expired when we are ↵brain
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
2008-09-21Fix /STATS output to show the regex module in usebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10588 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21Fix leak, thanks aquanightbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10586 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21No longer neededbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10585 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21Fix re-creation of config filtersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10584 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21Because m_filter reads definitions from the conf, unlike rline, when we see ↵brain
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
2008-09-21Well, that was moronic of mebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10582 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21someone forget an instancebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10581 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21This compiles but is NOT tested yet. Do not use unless you like pain.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10580 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21Be consistent. Use ServerInstance in all places instead of 'Instance' in ↵w00t
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
2008-09-21Fixes. Dont try and catch exceptions within the RLine ctor, we dont always ↵brain
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
2008-09-21Fix various rline bugs, implement /stats R, and fix the issue where you get ↵brain
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
2008-09-21Fix bug discovered by Ankit, m_rline loaded without regex provider causes ↵brain
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
2008-09-21Fix the 'i/o error on connection (no error)' stuff, by displaying 'connected ↵brain
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
2008-09-21Make regex providers load correctly. Move m_rline to use the regex ↵aquanight
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
2008-09-21Fix crashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10572 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20Move m_regex.h and m_regex_glob.cpp to main modules directory, as these have ↵aquanight
no requirements. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10571 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20Remove the old TODO commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10570 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20Fix a rather nasty race condition revealed by my reading through the ↵brain
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
2008-09-20More comments, and remove some unused craq. Someone (that being me) once ↵brain
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
2008-09-20Roll back core matcher to the 1.1 design, which doesnt fail various unit testsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10564 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20Add test suite tests for wildcard function for failures discovered by Ankitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10563 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19Fix my massacre of kqueue, filters may not be or'd.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10561 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19inbound sockets need a timeout, too. 30 secs should be pleantybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10560 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19Don't check E:Lines when enforcing Q:Lines on connected users. Thanks MacGyver.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10559 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19Implement timeout on outgoing server connections as per our docs <link:timeout>peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10558 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-18Reinvert order of insert/erase into user hash_map to avoid a lil crash :)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10557 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-17Roll back tweak to the starttls spec requested by kvirc devs, sorry we cant ↵brain
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
2008-09-16Shrink users properly on quit, and make cloaks for all existing users on ↵brain
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
2008-09-14Be more verbose in ValidateNotEmpty on failure. Patch by CyberbotX.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10544 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ ↵special
behavior (and silly, since we have sepstream) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14dont try and cloak if no valid cloak was returned (eg. localhost)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10542 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13Changed Allowed Modes to bitsets.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13Merge commit 'danieldg/out-12'w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10540 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13more namespace fix0rzpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10539 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13Optimisationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10538 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13namespace fix0rzpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10537 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13Fix setting of +x before we've processed an OnUserConnectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10536 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12Last cleanup. All trunk extras now builds again.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10532 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12fix for listensocket, tested and also working like a charm.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10531 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12more cleanuppeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10530 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12cleanuppeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10529 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12fix for listenbase, tested and works like a charm.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10528 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12Cleanup of some internals. Tested via m_httpd.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10527 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11Remove some duplication, everything calls the SE equivilant anyway.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10525 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11Remove useless parameter.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10524 e03df62e-2008-0410-955e-edbf42e46eb7