mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 20:09:43 +01:00
Increase bot's default admin level to 90
`rebuildaliases` command requires level 90 admin due to it's special use-case.
This commit is contained in:
parent
fa6dad12cd
commit
5e94890c61
@ -146,7 +146,7 @@ sub initialize {
|
||||
|
||||
# create implicit bot-admin account for bot
|
||||
my $botnick = $self->{registry}->get_value('irc', 'botnick');
|
||||
$self->{admins}->add_admin($botnick, '.*', "$botnick!stdin\@localhost", 60, 'admin', 1);
|
||||
$self->{admins}->add_admin($botnick, '.*', "$botnick!stdin\@localhost", 90, 'admin', 1);
|
||||
$self->{admins}->login($botnick, "$botnick!stdin\@localhost", 'admin');
|
||||
|
||||
# start timer
|
||||
|
Loading…
Reference in New Issue
Block a user