mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 20:22:39 +01:00
Restrict version command to admin
This commit is contained in:
parent
c6d3b5ccf4
commit
532b1daaa6
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user