3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-18 00:22:35 +01:00

set power_user access in quiet specifically

This commit is contained in:
reality 2013-07-26 11:46:57 +00:00
parent ae31b121d8
commit ea11ed5ac6

View File

@ -264,6 +264,8 @@ var commands = function(dbot) {
commands['~kickcount'].access = 'regular'; commands['~kickcount'].access = 'regular';
commands['~kickstats'].access = 'regular'; commands['~kickstats'].access = 'regular';
commands['~quiet'].access = 'power_user';
commands['~unquiet'].access = 'power_user';
commands['~ckick'].regex = [/^~ckick ([^ ]+) ([^ ]+) (.+)$/, 4]; commands['~ckick'].regex = [/^~ckick ([^ ]+) ([^ ]+) (.+)$/, 4];
commands['~nban'].regex = /^~nban ([\d\.^ ]+)?([^ ]+) (.+)$/; commands['~nban'].regex = /^~nban ([\d\.^ ]+)?([^ ]+) (.+)$/;