3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 04:02:37 +01:00

Make secret stuff more secret

This commit is contained in:
Pragmatic Software 2016-11-17 18:34:11 -08:00
parent e37b48822b
commit a5bb523f96

View File

@ -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');