From 43dae060eb367ed99789769a0a90206502f68b3c Mon Sep 17 00:00:00 2001 From: Scritches Date: Sun, 26 May 2019 13:07:10 -0400 Subject: [PATCH] Restrict ~hostmask command to moderators and above. --- modules/nickserv/nickserv.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nickserv/nickserv.js b/modules/nickserv/nickserv.js index e4903bf..ad773e6 100644 --- a/modules/nickserv/nickserv.js +++ b/modules/nickserv/nickserv.js @@ -94,6 +94,8 @@ var nickserv = function(dbot) { } }; + this.commands['~hostmask'].access = 'moderator'; + this.listener = function(event) { if(event.action == 'NOTICE') { var nickserv = dbot.config.servers[event.server].nickserv,