root/antispam/trunk/plugin/punbb_antispam.php
| Revision 216, 349 bytes (checked in by haypo, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | require_once('antispam_config.php'); |
| 4 | require_once('antispam.php'); |
| 5 | |
| 6 | function punbb_antispam($topic, $message, $author, $ip) |
| 7 | { |
| 8 | $text = ''; |
| 9 | if ($topic) { |
| 10 | $text .= "Topic: $topic\n"; |
| 11 | } |
| 12 | $text .= "Author: $author\n"; |
| 13 | $text .= "IP: $ip\n"; |
| 14 | $text .= "\n"; |
| 15 | $text .= "$message\n"; |
| 16 | return antispam($text); |
| 17 | } |
| 18 | |
| 19 | ?> |
| 20 |
Note: See TracBrowser for help on using the browser.
