Browse Source

Don't create anti-bot stuff in buildThread() when asked to return HTML as a string.

pull/40/head
Michael Foster 11 years ago
parent
commit
07b825c6d2
  1. 2
      inc/functions.php

2
inc/functions.php

@ -1755,7 +1755,7 @@ function buildThread($id, $return = false, $mod = false) {
'config' => $config,
'id' => $id,
'mod' => $mod,
'antibot' => $mod ? false : create_antibot($board['uri'], $id),
'antibot' => $mod || $return ? false : create_antibot($board['uri'], $id),
'boardlist' => createBoardlist($mod),
'return' => ($mod ? '?' . $board['url'] . $config['file_index'] : $config['root'] . $board['dir'] . $config['file_index'])
));

Loading…
Cancel
Save