diff options
Diffstat (limited to 'quips.cgi')
-rwxr-xr-x | quips.cgi | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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."); |