mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-23 02:24:25 +01:00
PBot: make stdin admin hostmask better
This commit is contained in:
parent
849e022544
commit
790abba7e5
@ -212,8 +212,8 @@ 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", 90, 'admin', 1);
|
||||
$self->{admins}->login($botnick, "$botnick!stdin\@localhost", 'admin');
|
||||
$self->{admins}->add_admin($botnick, '.*', ".*!stdin\@pbot", 100, 'notused', 1);
|
||||
$self->{admins}->login($botnick, "$botnick!stdin\@pbot", 'notused');
|
||||
|
||||
# start timer
|
||||
$self->{timer}->start();
|
||||
|
Loading…
Reference in New Issue
Block a user