1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 15:40:12 +01:00

Merge pull request #106 from ctrlcctrlv/master

Per board configuration names were not working
This commit is contained in:
Michael 2013-03-21 08:53:36 -07:00
commit b9140f3c07
2 changed files with 3 additions and 3 deletions

View File

@ -858,8 +858,8 @@
$config['mod']['shadow_mesage'] = 'Moved to %s.';
// Capcode to use when posting the above message.
$config['mod']['shadow_capcode'] = 'Mod';
// Name to use when posting the above message.
$config['mod']['shadow_name'] = $config['anonymous'];
// Name to use when posting the above message. If false, the default board name will be used. If something else, that will be used.
$config['mod']['shadow_name'] = false;
// Wait indefinitely when rebuilding everything
$config['mod']['rebuild_timelimit'] = 0;

View File

@ -912,7 +912,7 @@ function mod_move($originBoard, $postID) {
'mod' => true,
'subject' => '',
'email' => '',
'name' => $config['mod']['shadow_name'],
'name' => (!$config['mod']['shadow_name'] ? $config['anonymous'] : $config['mod']['shadow_name']),
'capcode' => $config['mod']['shadow_capcode'],
'trip' => '',
'password' => '',