summaryrefslogtreecommitdiff
path: root/src/modules/m_filter.h
AgeCommit message (Collapse)Author
2007-05-10Add m_taxonomy and api minor tweak to make it work, enable some modules for it.brain
I have higher aims for this module, namely a neat fix for feature request in bug #285 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6967 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add filter type 'silent', as requested in bug #235 reported by Casey.brain
filter type silent for m_filter and m_filter_pcre does not notify opers, and just blocks the text. It does however tell the user their text was blocked and still log. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6739 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-25For the filter GLINE action, ban *@IP, so that they cant change their ident ↵brain
and it'll still get unresolved hosts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Fix bad duplication of filters containing spaces across the network.brain
(filters containing spaces arent strictly allowed because they cant be defined via the /filter command, however we do define them in the config on chatspike so its worth supporting them. This will now translate space to \7 in the metadata, and translate it back at the receiving end. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6417 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Fix to allow for OnRehash to know what user initiated the rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31Thanks AnMasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6188 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30If a user has a QUIT message matching a KILL type filter, we cant KILL ↵brain
someone whos already quitting (what will they care) so treat it as BLOCK and filter their quit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6185 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Make filters work on PART and QUIT messages too.brain
NOTE: If you use the type 'block' on a PART or QUIT, the text of their part or quit message will be replaced with 'Reason filtered', as we cant block the entire line without breaking clients. Satsifies request in bug #184 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6184 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Still more massive commit fun. Headers in include/ still to be done, else ↵w00t
that's it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 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-11Improve quit messages caused by filtering, now prefixed by "Filtered: "brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5682 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Also dont try and filter remote users. This is ick.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5681 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Filtering should leave ulines alone, and not filter uline notices.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5680 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10These should now be VF_COMMON, they sync databrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5677 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Make /stats s more detailed, fix a grammar errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5676 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Whoops, make /stats s workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5675 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Add /stats sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5674 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Oops, fix crashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5673 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Document changes to m_filter and m_filter_pcre a little.brain
Actually add the metadata stuff to Implements() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5670 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Implement on-burst synching of filtersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5669 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Oops, forgot command source, these wouldnt be able to be unloaded properlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5668 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Implement the /filter command. Note that this is currently untested, and ↵brain
propogation of filters between servers on burst isnt implemented yet (This is next on my todo) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5667 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Add gline type, and <filter:duration> value to say how long to ban for.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5666 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Inherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so ↵brain
that changes for /filter command and gline actions etc only need to be made in one place (the base classes header) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5665 e03df62e-2008-0410-955e-edbf42e46eb7