mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 10:45:40 -04:00
removing warning in the hack
This commit is contained in:
parent
1118925e35
commit
3ddb8a65aa
1 changed files with 2 additions and 1 deletions
|
@ -391,7 +391,8 @@ sub irc_001 {
|
|||
|
||||
# GIANT HACK
|
||||
if( $bot_conf->{server} =~ /freenode/ ) {
|
||||
open my $fh, "/home/simcop2387/nickservpass" or open my $fh, "/home/simcop/nickservpass" or goto HACKEND; #sorry
|
||||
my $fh;
|
||||
open $fh, "/home/simcop2387/nickservpass" or open $fh, "/home/simcop/nickservpass" or goto HACKEND; #sorry
|
||||
my $pass = <$fh>;
|
||||
chomp $pass;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue