From 4089fee13cf6897bfcd6b226ff1cb5d6238cd342 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 19 Dec 2013 18:51:49 +0000 Subject: [PATCH] access control on the thingie whatsit --- modules/reddit/reddit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/reddit/reddit.js b/modules/reddit/reddit.js index f2cc757..032078e 100644 --- a/modules/reddit/reddit.js +++ b/modules/reddit/reddit.js @@ -195,6 +195,8 @@ var reddit = function(dbot) { }; this.commands['~addredditfeed'].regex = [/^~addredditfeed ([^ ]+) ([^ ]+) ([^ ]+)$/, 4]; this.commands['~rmredditfeed'].regex = [/^~rmredditfeed ([^ ]+) ([^ ]+)$/, 3]; + this.commands['~addredditfeed'].access = 'moderator'; + this.commands['~rmredditfeed'].access = 'moderator'; this.onLoad = function() { this.internalAPI.reloadChannelFeeds();