Fixed bug in proxyban
git-svn-id: http://kusabax.cultnet.net/svn/repo/stable@181 73d99b7e-4f53-4972-b7b7-2ecd3c4d89ee
This commit is contained in:
1 parent
5bb2edf96e
commit
b49defe6b2
3 files changed
+12
-5
No files matched your search
@@ -316,7 +316,7 @@ class Posting {
|
||||
foreach ($badlinks as $badlink) {
|
||||
if (stripos($_POST['message'], $badlink) !== false) {
|
||||
/* They included a blacklisted link in their post. Ban them for an hour */
|
||||
$bans_class->BanUser($_SERVER['REMOTE_ADDR'], 'board.php', 1, 3600, '', $tc_db->qstr(_gettext('Posting a blacklisted link.') . ' (' . $badlink . ')'), $tc_db->qstr($_POST['message']));
|
||||
$bans_class->BanUser($_SERVER['REMOTE_ADDR'], 'board.php', 1, 3600, '', _gettext('Posting a blacklisted link.') . ' (' . $badlink . ')', $_POST['message']);
|
||||
exitWithErrorPage(sprintf(_gettext('Blacklisted link ( %s ) detected.'), $badlink));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user