From 532b1daaa6f6f97c2a2bf414b0de2bbc4a280e2c Mon Sep 17 00:00:00 2001 From: Sam Nicholls Date: Mon, 11 Feb 2013 16:36:01 +0000 Subject: [PATCH] Restrict version command to admin --- modules/admin/commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/admin/commands.js b/modules/admin/commands.js index a5d3719..c648760 100644 --- a/modules/admin/commands.js +++ b/modules/admin/commands.js @@ -295,6 +295,7 @@ var commands = function(dbot) { commands['reload'].access = 'admin'; commands['unload'].access = 'admin'; commands['load'].access = 'admin'; + commands['version'].access = 'admin'; commands['setconfig'].access = 'admin'; commands['showconfig'].access = 'moderator'; commands['join'].access = 'moderator';