diff -r 220428d80925 -r 4d8ffe107a0d plugins/SpecialUserFuncs.php --- a/plugins/SpecialUserFuncs.php Sun Sep 20 02:52:24 2009 -0400 +++ b/plugins/SpecialUserFuncs.php Sun Sep 20 03:59:36 2009 -0400 @@ -144,7 +144,14 @@ $level = USER_LEVEL_MEMBER; } if ( $level <= USER_LEVEL_MEMBER && $session->user_logged_in ) + { + if ( $target = $paths->getAllParams() ) + { + redirect(makeUrl($target), '', '', 0); + } $paths->main_page(); + } + $template->header(); echo '