summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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 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
* Fix for bug #605 reported by MacGuyver, if a line is expired when we are ↵Gravatar brain2008-09-221-1/+1
| | | | | | 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-2137-288/+288
| | | | | | 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
* 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
* 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
* 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
* 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
* 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
* 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
* cleanupGravatar peavey2008-09-121-43/+41
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10529 e03df62e-2008-0410-955e-edbf42e46eb7
* fix for listenbase, tested and works like a charm.Gravatar peavey2008-09-121-49/+70
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10528 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix KILL server-notice duplicationGravatar aquanight2008-09-111-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10517 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove WaitingForWriteEvent, it seems to do *nothing* except confuse things. ↵Gravatar w00t2008-09-111-23/+0
| | | | | | Also, don't close socket on http if FlushWriteBuf doesn't write it all in one go, in fact, don't try FlushWriteBuf at all - use the sockets default of waiting to be told it's safe to write data. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10509 e03df62e-2008-0410-955e-edbf42e46eb7
* Back out change, as this doesn't work properly with channel bans.. ↵Gravatar w00t2008-09-101-77/+77
| | | | | | Prioritise before cloaking, as otherwise you may encounter usermode changes on a nonexistant user. (part of the original change too). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10508 e03df62e-2008-0410-955e-edbf42e46eb7
* Bit of a tidyup, generate cloak whenever first set, not necessarily on connectGravatar w00t2008-09-101-73/+77
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10500 e03df62e-2008-0410-955e-edbf42e46eb7
* Hook conn_umodes before anything else so that config order is less of a factorGravatar w00t2008-09-101-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10497 e03df62e-2008-0410-955e-edbf42e46eb7
* Move XMLSocket to be modulemanager-provided, flash now has real socket ↵Gravatar w00t2008-09-101-182/+0
| | | | | | support (so it's not as necessary), and most networks do not have flash clients using it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10495 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember to free some stuff when failing in the ctorGravatar brain2008-09-091-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10489 e03df62e-2008-0410-955e-edbf42e46eb7
* fix compile errors (whoops)Gravatar brain2008-09-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10488 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, schoolboy errorGravatar brain2008-09-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10487 e03df62e-2008-0410-955e-edbf42e46eb7
* Add connmutex to mutex the connections vector, otherwise we can get access ↵Gravatar brain2008-09-091-2/+23
| | | | | | from two threads and it is stl. ew. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10486 e03df62e-2008-0410-955e-edbf42e46eb7
* peavey, w00t, this works now. Methods werent copied right. Please feel free ↵Gravatar brain2008-09-091-1/+0
| | | | | | | | to base the other sql module fixes on the diffs that i used to fix this. ALSO now works on win32, tested! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10485 e03df62e-2008-0410-955e-edbf42e46eb7
* fix various bodge-ups, we must have been tired when fixing this in the first ↵Gravatar brain2008-09-091-5/+6
| | | | | | place to use the new api, methods are in the wrong places. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10483 e03df62e-2008-0410-955e-edbf42e46eb7
* not test compiled yet: sql modules werent working because someone chopped ↵Gravatar brain2008-09-091-13/+22
| | | | | | out the important code that determines what port the new socket is bound to when binding to port "0". The GetPort() method belongs in the listensocketbase derived socket not the bufferedsocket one, and the code for determining the getsockname() belongs in the ctor for the listen derived socket. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10482 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a (now nonexistant) reference from .hGravatar w00t2008-09-081-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10481 e03df62e-2008-0410-955e-edbf42e46eb7