From 9260b5610c0d73edf8c2b41cdee9ffc92a0e9ff4 Mon Sep 17 00:00:00 2001 From: runemaster <> Date: Mon, 21 Feb 2005 03:37:14 +0000 Subject: [PATCH] Fix bug in last commit. --- web/root/msgs/msg.ssjs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/web/root/msgs/msg.ssjs b/web/root/msgs/msg.ssjs index c43438dc51..619f53d73a 100644 --- a/web/root/msgs/msg.ssjs +++ b/web/root/msgs/msg.ssjs @@ -26,9 +26,14 @@ else { error("You can't read messages in this sub!"); } -if(msg_area.sub[sub].can_post) { - template.can_post=true; +if(sub=='mail' && user.alias!='Guest') { + template.can_post=true; } + else { + if(msg_area.sub[sub].can_post) { + template.can_post=true; + } +} template.idx=msgbase.get_msg_index(false,m); if(sub=='mail' && template.idx.to!=user.number) -- GitLab