]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/inspircd.filter.example
'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipp...
[user/henk/code/inspircd.git] / conf / inspircd.filter.example
1 # Configuration file for m_filter.so and m_filter_pcre.so\r\r# The tags for this module are formatted as follows:\r#\r# <keyword      pattern="any glob pattern here"\r#               reason="reason for filtering"\r#               action="action to take"\r#               flags="filter flags"\r#          duration="optional length of gline">\r#\r# Valid actions for 'action' are:\r#\r# block         This blocks the line, sends out a notice to all opers with\r#               +s and informs the user that their message was blocked.\r#\r# silent        This blocks the line only, and informs the user their message\r#               was blocked, but does not notify opers.\r#\r# none          This action causes nothing to be done except logging. This\r#               is the default action if none is specified.\r#\r# kill          This disconnects the user, with the 'reason' parameter as\r#               the kill reason.\r#\r# gline         G-LINE the user for 'duration' length of time. Durations may\r#               be specified using the notation 1y2d3h4m6s in a similar way to\r#               other glines, omitting the duration or setting it to 0 makes\r#               any glines set by this filter be permanent.\r#\r# You can add filters from IRC using the /FILTER command. If you do this, they\r# will be set globally to your entire network.\r#\r# Valid characters for 'flags' are one or more of:\r#\r# p: Block private and channel messages\r# n: Block private and channel notices\r# P: Block part messages\r# q: Block quit messages\r# o: Don't match against opers\r# *: Represents all of the above flags\r# -: Does nothing, a non-op for when you do not want to specify any flags \r\r# Example filters for m_filter:\r#\r# <keyword pattern="*qwerty*" reason="You qwertied!" action="block" flags="pn">\r# <keyword pattern="*killmenow*" reason="As you request." action="kill" flags="*">\r# <keyword pattern="*blah*" reason="Dont blah!" action="gline" duration="1d6h" flags="-">\r\r# An example regexp filter for m_filter_pcre:\r#\r# <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h" flags="pnPq">\r\r