aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-02 23:56:29 -0700
committerfriendica <info@friendica.com>2013-11-02 23:56:29 -0700
commit9158909fa3e938d04ebf06d2c2dba9417b36ffa6 (patch)
tree146c2f621f8b9e5227cf3c0a58d7fefd0f7ad694 /mod/message.php
parent8eed3a10062818dd30f339139074be8e721546d5 (diff)
downloadvolse-hubzilla-9158909fa3e938d04ebf06d2c2dba9417b36ffa6.tar.gz
volse-hubzilla-9158909fa3e938d04ebf06d2c2dba9417b36ffa6.tar.bz2
volse-hubzilla-9158909fa3e938d04ebf06d2c2dba9417b36ffa6.zip
return a login form on some protoected pages if not logged in.
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php
index bd2545ea5..a4d73e6b0 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -205,7 +205,7 @@ function message_content(&$a) {
if(! local_user()) {
notice( t('Permission denied.') . EOL);
- return;
+ return login();
}
$channel = $a->get_channel();