summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-11-26Provides support for ircu style usermode +d (deaf to channel messages and ↵peavey
channel notices) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5814 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Update the comment for flag 't'brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5812 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Tidyup, avoid ternary if() on every iteration of a loop (bad brain bad)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5811 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26SILENCE_CNOTICE, flag 't'. Needs testing, peavey should probably review to ↵brain
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
2006-11-26Fix to work with channel notices.brain
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
2006-11-26now using OnUserPreMessage exempt_list instead of OnPreCommand dup code for ↵peavey
blocking of channel messages. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5808 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList ↵brain
&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
2006-11-26005 tokens: "ESILENCE SILENCE=999"brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5805 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Add a description to an exception in the constructor, also reformat all the ↵brain
if() without a space that om did :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5803 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Tidy up space indentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5802 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26fix a few confusing returnspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5801 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Improved drop-in replacement for cmd /SILENCE. This first draft features ↵peavey
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
2006-11-26Make silence list removals and additions a ton faster by making the silence ↵brain
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
2006-11-25Improve openssl detectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5797 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24whoops, !defined not undef!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24Make this smarter when we dont have pkg-configbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5794 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24More fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5793 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24Fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5792 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24Smarter openssl detectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5791 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24In answer to w00ts question, the channel might not exist, because of the ↵brain
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
2006-11-23Fix #176, not sure how channel can't exist after being created, but ↵w00t
apparantly it can happen git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5789 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-22Fix my fix, it crashed (thanks skenmy, sorry)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-21Fix spurious deops on channel creation, pointed out by jilles, noted by a ↵w00t
number of people. :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5784 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-21fix for bug #175, change OnUserRegister to return int, and if greater than 0 ↵peavey
= 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
2006-11-21Fixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this ↵special
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
2006-11-19Remove spacebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5780 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Ooops, remove my debug lineom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5779 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Also return for 7.x series > 7.3.15, this still wants testing :p (which ↵om
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
2006-11-19Hopefully uncraq this script enough to actually work, should return for ↵om
versions > 8.1.4 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5777 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Merge pgsql stuff from darix, but im sure theres something to be looked at ↵brain
in the helper script git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5776 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Use pkg-config to detect lib paths - thanks darix we've been looking for ↵brain
this for ages :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5772 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-16Make STATS i, y, c, n more relevent to 1.1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5756 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15Added <oper:swhois> to m_swhois, which will override <type:swhois> if specifiedspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5747 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-14Another couple of 'forgot to memset'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5742 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-14Inherit ModuleException from std::exception rather than classbasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5740 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13Modify server counts in /lusers to show number of servers actually visible ↵brain
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
2006-11-12Swap some stuff around, just to complicate bruteforcingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Make the output table chosen be unique to the actual ip so that the octet ↵brain
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
2006-11-12Better cloaking for unresolved IP addresses.brain
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
2006-11-12Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t ↵brain
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
2006-11-12If a new channel is created, after sending the FJOIN for the first user in, ↵brain
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
2006-11-12Added a notice that all people bumping the protocol version should edit a ↵brain
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
2006-11-12Protocl-Version bump to 1102brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5715 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Oops, using wrong parambrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5714 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICEbrain
(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
2006-11-12Whoops, stuff in the wrong placebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5712 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12And change < 64 to <= 64, the length limit is 64 - not 63om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5711 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Make OPERNOTICE work rightbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5710 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Add send_opers event and OPERNOTICE command to send remote server NOTICEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5708 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Yes, we do want to propogate the server modebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5707 e03df62e-2008-0410-955e-edbf42e46eb7