aboutsummaryrefslogtreecommitdiffstats
path: root/quips.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'quips.cgi')
-rwxr-xr-xquips.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/quips.cgi b/quips.cgi
index 234c2f463..a50bbc54a 100755
--- a/quips.cgi
+++ b/quips.cgi
@@ -62,7 +62,13 @@ if ($action eq "add") {
DisplayError("Please enter a quip in the text field.");
exit();
}
+
+ if (Param('enablequips') ne "on") {
+ ThrowUserError("This site does not permit the addition of new quips");
+ exit();
+ }
+
if ($comment =~ m/</) {
DisplayError("Sorry - for security reasons, support for HTML tags has
been turned off in quips.");