From 2361ecddae0e694280bdf6847f4fc9c34ec7471f Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 19 Nov 2013 13:19:51 -0600 Subject: [PATCH] Fix permissions on /a --- lib/chatcommand.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/chatcommand.js b/lib/chatcommand.js index 5bf052a8..08d5e047 100644 --- a/lib/chatcommand.js +++ b/lib/chatcommand.js @@ -31,6 +31,9 @@ var handlers = { } }, "a": function (chan, user, msg, meta) { + if (user.global_rank < 255) { + return; + } var superadminflair = { labelclass: "label-important", icon: "icon-globe"