diff options
-rw-r--r-- | actions/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php index 27153f131..c04843383 100644 --- a/actions/public.php +++ b/actions/public.php @@ -173,7 +173,7 @@ class PublicAction extends Action if (common_logged_in()) { $message .= _('Be the first to post!'); } - else { + if (! (common_config('site','closed') || common_config('site','inviteonly'))) { $message .= _('Why not [register an account](%%action.register%%) and be the first to post!'); } |