mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix #1882 add toggle to change if spamfilter rule applies to member
This commit is contained in:
parent
98f75ee4dd
commit
539b548509
7 changed files with 155 additions and 27 deletions
11
modules/spamfilter/queries/updateDeniedIPAttributes.xml
Normal file
11
modules/spamfilter/queries/updateDeniedIPAttributes.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateDeniedIPAttributes" action="update">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_ip" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="except_member" var="except_member" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="ipaddress" var="ipaddress" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
12
modules/spamfilter/queries/updateDeniedWordAttributes.xml
Normal file
12
modules/spamfilter/queries/updateDeniedWordAttributes.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<query id="updateDeniedWordAttributes" action="update">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_word" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="except_member" var="except_member" />
|
||||
<column name="filter_html" var="filter_html" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="word" var="word" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue