mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Make secret stuff more secret
This commit is contained in:
parent
e37b48822b
commit
a5bb523f96
@ -138,7 +138,7 @@ sub initialize {
|
|||||||
$self->{registry}->load;
|
$self->{registry}->load;
|
||||||
|
|
||||||
my @chars = ("A".."Z", "a".."z", "0".."9");
|
my @chars = ("A".."Z", "a".."z", "0".."9");
|
||||||
$self->{secretstuff} = $chars[rand @chars] for 1..32;
|
$self->{secretstuff} .= $chars[rand @chars] for 1..64;
|
||||||
|
|
||||||
# create implicit bot-admin account for bot
|
# create implicit bot-admin account for bot
|
||||||
my $botnick = $self->{registry}->get_value('irc', 'botnick');
|
my $botnick = $self->{registry}->get_value('irc', 'botnick');
|
||||||
|
Loading…
Reference in New Issue
Block a user