summaryrefslogtreecommitdiffstats
path: root/sidebar.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'sidebar.cgi')
-rwxr-xr-xsidebar.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/sidebar.cgi b/sidebar.cgi
index ec021ea1c..7cf823aaa 100755
--- a/sidebar.cgi
+++ b/sidebar.cgi
@@ -68,8 +68,7 @@ if ($useragent =~ m:Mozilla/([1-9][0-9]*):i && $1 >= 5 && $useragent !~ m/compat
$template->process("sidebar.xul.tmpl", $vars)
|| ThrowTemplateError($template->error());
} else {
- DisplayError("sidebar.cgi currently only supports Mozilla based web browsers");
- exit;
+ ThrowUserError("sidebar_supports_mozilla_only");
}