3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 19:52:36 +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['unload'].access = 'admin';
commands['load'].access = 'admin';
commands['version'].access = 'admin';
commands['setconfig'].access = 'admin';
commands['showconfig'].access = 'moderator';
commands['join'].access = 'moderator';