aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* TidyupGravatar brain2006-11-271-29/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5821 e03df62e-2008-0410-955e-edbf42e46eb7
* There, the guts of it are done, spanningtree now uses the exempt lists to ↵Gravatar brain2006-11-271-1/+1
| | | | | | cleverly route its messages and save bandwidth git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5820 e03df62e-2008-0410-955e-edbf42e46eb7
* BuildExemptList is becoming pretty ugly. grr.Gravatar brain2006-11-273-37/+92
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5819 e03df62e-2008-0410-955e-edbf42e46eb7
* Add exception lists to OnUserMessage and OnUserNotice, to be used for ↵Gravatar brain2006-11-272-10/+11
| | | | | | smarter routing of messages in spanningtree amongst other things git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5817 e03df62e-2008-0410-955e-edbf42e46eb7
* C DOS, C DOS RUN, RUN DOS RUN ^M^M^MGravatar peavey2006-11-261-27/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5816 e03df62e-2008-0410-955e-edbf42e46eb7
* Provides support for ircu style usermode +d (deaf to channel messages and ↵Gravatar peavey2006-11-261-0/+158
| | | | | | channel notices) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5814 e03df62e-2008-0410-955e-edbf42e46eb7
* Update the comment for flag 't'Gravatar brain2006-11-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5812 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup, avoid ternary if() on every iteration of a loop (bad brain bad)Gravatar brain2006-11-261-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5811 e03df62e-2008-0410-955e-edbf42e46eb7
* SILENCE_CNOTICE, flag 't'. Needs testing, peavey should probably review to ↵Gravatar brain2006-11-261-9/+15
| | | | | | check it fits in with what he was doing :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5810 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to work with channel notices.Gravatar brain2006-11-261-3/+9
| | | | | | | | SILENCE_PRIVATE silences private PRIVMSG, SILENCE_NOTICE silences private NOTICE, and SILENCE_CHANNEL silences channel PRIVMSG *and* channel NOTICE. This makes sense to me... :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5809 e03df62e-2008-0410-955e-edbf42e46eb7
* now using OnUserPreMessage exempt_list instead of OnPreCommand dup code for ↵Gravatar peavey2006-11-261-151/+37
| | | | | | blocking of channel messages. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5808 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList ↵Gravatar brain2006-11-2615-45/+48
| | | | | | | | | &exempt_list, a list of users NOT to write to. By default it just contains the sender, you can add more. This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5806 e03df62e-2008-0410-955e-edbf42e46eb7
* 005 tokens: "ESILENCE SILENCE=999"Gravatar brain2006-11-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5805 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a description to an exception in the constructor, also reformat all the ↵Gravatar brain2006-11-261-61/+57
| | | | | | if() without a space that om did :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5803 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up space indentsGravatar brain2006-11-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5802 e03df62e-2008-0410-955e-edbf42e46eb7
* fix a few confusing returnsGravatar peavey2006-11-261-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5801 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved drop-in replacement for cmd /SILENCE. This first draft features ↵Gravatar peavey2006-11-261-0/+494
| | | | | | server side blocking of private messages, channel messages, notices, invites based on the silence hostmask. Also you can make excludes to your SILENCE rules. See source for examples. Flames, comments, edits are welcomed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5800 e03df62e-2008-0410-955e-edbf42e46eb7
* Make silence list removals and additions a ton faster by making the silence ↵Gravatar brain2006-11-261-23/+14
| | | | | | list a map. Note that this probably wont port to peavey's improved silence, i wouldnt bother trying :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5798 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve openssl detectionGravatar brain2006-11-251-3/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5797 e03df62e-2008-0410-955e-edbf42e46eb7
* whoops, !defined not undef!Gravatar brain2006-11-241-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5795 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this smarter when we dont have pkg-configGravatar brain2006-11-241-5/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5794 e03df62e-2008-0410-955e-edbf42e46eb7
* More fixesGravatar brain2006-11-241-2/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5793 e03df62e-2008-0410-955e-edbf42e46eb7
* FixesGravatar brain2006-11-241-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5792 e03df62e-2008-0410-955e-edbf42e46eb7
* Smarter openssl detectionGravatar brain2006-11-242-2/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5791 e03df62e-2008-0410-955e-edbf42e46eb7
* In answer to w00ts question, the channel might not exist, because of the ↵Gravatar brain2006-11-241-1/+6
| | | | | | | | | | | following situation user A exists on both servers. When servers link, user A is collided, but one or both servers still get the FJOIN: FJOIN #chan 1234 :@,A of course, A is gone, the only join to the channel fails, so the channel actually doesnt exist at the end of the loop, so chan == NULL :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5790 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix #176, not sure how channel can't exist after being created, but ↵Gravatar w00t2006-11-231-1/+2
| | | | | | apparantly it can happen git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5789 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix my fix, it crashed (thanks skenmy, sorry)Gravatar w00t2006-11-221-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix spurious deops on channel creation, pointed out by jilles, noted by a ↵Gravatar w00t2006-11-211-6/+16
| | | | | | number of people. :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5784 e03df62e-2008-0410-955e-edbf42e46eb7
* fix for bug #175, change OnUserRegister to return int, and if greater than 0 ↵Gravatar peavey2006-11-216-12/+18
| | | | | | = user was quit and stop propagating to rest of loaded modules. Also bumb the module API version. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5783 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this ↵Gravatar special2006-11-212-1/+5
| | | | | | fixes an issue with systems that want to use libgcrypt or libgpg-error in nonstandard locations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5781 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove spaceGravatar brain2006-11-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5780 e03df62e-2008-0410-955e-edbf42e46eb7
* Ooops, remove my debug lineGravatar om2006-11-191-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5779 e03df62e-2008-0410-955e-edbf42e46eb7
* Also return for 7.x series > 7.3.15, this still wants testing :p (which ↵Gravatar om2006-11-191-2/+5
| | | | | | versions actually have the functions, I'm pretty happy with the script working properly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5778 e03df62e-2008-0410-955e-edbf42e46eb7
* Hopefully uncraq this script enough to actually work, should return for ↵Gravatar om2006-11-191-4/+2
| | | | | | versions > 8.1.4 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5777 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge pgsql stuff from darix, but im sure theres something to be looked at ↵Gravatar brain2006-11-191-2/+1
| | | | | | in the helper script git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5776 e03df62e-2008-0410-955e-edbf42e46eb7
* Use pkg-config to detect lib paths - thanks darix we've been looking for ↵Gravatar brain2006-11-191-2/+2
| | | | | | this for ages :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5772 e03df62e-2008-0410-955e-edbf42e46eb7
* Make STATS i, y, c, n more relevent to 1.1Gravatar brain2006-11-161-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5756 e03df62e-2008-0410-955e-edbf42e46eb7
* Added <oper:swhois> to m_swhois, which will override <type:swhois> if specifiedGravatar special2006-11-151-18/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5747 e03df62e-2008-0410-955e-edbf42e46eb7
* Another couple of 'forgot to memset'sGravatar brain2006-11-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5742 e03df62e-2008-0410-955e-edbf42e46eb7
* Inherit ModuleException from std::exception rather than classbaseGravatar brain2006-11-142-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5740 e03df62e-2008-0410-955e-edbf42e46eb7
* Modify server counts in /lusers to show number of servers actually visible ↵Gravatar brain2006-11-131-2/+21
| | | | | | if you arent an oper and we're hiding ulines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5739 e03df62e-2008-0410-955e-edbf42e46eb7
* Swap some stuff around, just to complicate bruteforcingGravatar brain2006-11-121-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5727 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the output table chosen be unique to the actual ip so that the octet ↵Gravatar brain2006-11-121-4/+4
| | | | | | | | | values are non-reversible. e.g. we cant figure out "if the first digit of my ip is 128, and the first value of my cloak is 09FAC, then all users with an 09FAC in them have a 128 in their ip" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5726 e03df62e-2008-0410-955e-edbf42e46eb7
* Better cloaking for unresolved IP addresses.Gravatar brain2006-11-121-12/+32
| | | | | | | Now hashes each octet and joins them with '.' so you easier ban unresolved ip's. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5725 e03df62e-2008-0410-955e-edbf42e46eb7
* Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t ↵Gravatar brain2006-11-121-0/+19
| | | | | | | | | set this side, explicitly put -n or -t into the mode string. This is because the other side will ass-u-me +nt set because this is the default. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5719 e03df62e-2008-0410-955e-edbf42e46eb7
* If a new channel is created, after sending the FJOIN for the first user in, ↵Gravatar brain2006-11-121-0/+8
| | | | | | send an FMODE #chan <ts> +nt, to sync the +nt on all remote servers explicitly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5718 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a notice that all people bumping the protocol version should edit a ↵Gravatar brain2006-11-121-0/+6
| | | | | | | | | | | | | page in the wiki: * IMPORTANT: If you make changes, document your changes here, without fail: * http://www.inspircd.org/wiki/List_of_protocol_changes_between_versions * * Failure to document your protocol changes will result in a painfully * painful death by pain. You have been warned. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5716 e03df62e-2008-0410-955e-edbf42e46eb7
* Protocl-Version bump to 1102Gravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5715 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, using wrong paramGravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5714 e03df62e-2008-0410-955e-edbf42e46eb7
* More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICEGravatar brain2006-11-121-0/+38
| | | | | | | (OPERNOTICE can be considered to be "MODENOTICE os", but it saves bandwidth and cpu to send OPERNOTICE where possible) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5713 e03df62e-2008-0410-955e-edbf42e46eb7