3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

Restrict version command to admin

This commit is contained in:
Sam Nicholls 2013-02-11 16:36:01 +00:00
parent c6d3b5ccf4
commit 532b1daaa6

View File

@ -295,6 +295,7 @@ var commands = function(dbot) {
commands['reload'].access = 'admin'; commands['reload'].access = 'admin';
commands['unload'].access = 'admin'; commands['unload'].access = 'admin';
commands['load'].access = 'admin'; commands['load'].access = 'admin';
commands['version'].access = 'admin';
commands['setconfig'].access = 'admin'; commands['setconfig'].access = 'admin';
commands['showconfig'].access = 'moderator'; commands['showconfig'].access = 'moderator';
commands['join'].access = 'moderator'; commands['join'].access = 'moderator';