forked from CleanTalk/smf-antispam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modification.xml
19 lines (19 loc) · 905 Bytes
/
modification.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="www.simplemachines.org/xml/modification">
<id>cleantalk:antispam</id>
<version>2.15</version>
<file name="$sourcedir/Post.php">
<operation error="fatal">
<search position="after"><![CDATA[createPost($msgOptions, $topicOptions, $posterOptions);]]></search>
<add><![CDATA[cleantalk_check_message($msgOptions, $topicOptions, $posterOptions);]]>
</add>
</operation>
</file>
<file name="$sourcedir/Subs-Post.php">
<operation error="fatal">
<search position="after"><![CDATA[// Increase the number of posts and topics on the board.]]></search>
<add><![CDATA[cleantalk_after_create_topic($msgOptions, $topicOptions, $posterOptions);]]></add>
</operation>
</file>
</modification>