diff --git a/bot/brain.rb b/bot/brain.rb index ca8aa36e..e346ab0a 100644 --- a/bot/brain.rb +++ b/bot/brain.rb @@ -43,8 +43,9 @@ def request_archive(m, target, params, depth=:inf, url_file=false) if depth == :inf return unless authorized?(m) # Lock !a < FILE to ops for now: it's a very niche thing. - if url_file - return unless op?(m) + if url_file and not op?(m) + reply m, "Sorry, only channel operators may use that command." + return end # Allow only ops to add jobs to the queue if there are 5 or more jobs pending