Perlcritic and update README.md
This commit is contained in:
@@ -4,7 +4,7 @@ package Bot::IRC;
|
||||
use 5.014;
|
||||
use exact;
|
||||
|
||||
use Encode qw (_utf8_on _utf8_off encode_utf8 decode_utf8);
|
||||
use Encode qw (_utf8_on _utf8_off);
|
||||
use Daemon::Device;
|
||||
use Date::Format 'time2str';
|
||||
use IO::Socket::IP -register;
|
||||
|
||||
@@ -196,3 +196,5 @@ sub init {
|
||||
1;
|
||||
|
||||
__END__
|
||||
|
||||
# vim: set ft=perl noet ai ts=4 sw=4 sts=4:
|
||||
@@ -13,8 +13,6 @@ use version; our $VERSION = qw (1.0);
|
||||
use Exporter qw (import);
|
||||
our @EXPORT_OK = qw (RunIRCBot);
|
||||
|
||||
my $c = LoadConf ();
|
||||
|
||||
|
||||
sub RunIRCBot {
|
||||
my $c = LoadConf ();
|
||||
@@ -50,6 +48,8 @@ sub RunIRCBot {
|
||||
} else {
|
||||
$bot->run;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user