# HG changeset patch # User Christophe Lincoln # Date 1486859028 -3600 # Node ID b3511ea2c6a6241d414eb0cb341c59a96a2c4c88 # Parent 2a13332944eea96678a3ed403019f1ad13e6c7a2 Small fix to commnity plugin diff -r 2a13332944ee -r b3511ea2c6a6 plugins/community/community.cgi --- a/plugins/community/community.cgi Sun Feb 12 00:18:54 2017 +0100 +++ b/plugins/community/community.cgi Sun Feb 12 01:23:48 2017 +0100 @@ -12,6 +12,12 @@ html_header user_box + # Wall is only for logged users + if ! check_auth; then + gettext "You must be logged to read the wall" + html_footer && exit 0 + fi + # Save any new message first if [ "$(GET message)" ] && check_auth; then # Prevent more than one message by minute peer user