0

Perlcritic and update README.md

This commit is contained in:
Sergei Fedosov
2021-08-05 11:39:07 +03:00
parent 2f3e3f764e
commit 98486b062b
5 changed files with 12 additions and 3 deletions

View File

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

View File

@@ -196,3 +196,5 @@ sub init {
1;
__END__
# vim: set ft=perl noet ai ts=4 sw=4 sts=4:

View File

@@ -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;
}