1

Use check for defined value after eval(), style fixes, fix typo in sub name and var name

This commit is contained in:
eleksir
2021-03-29 00:19:51 +03:00
parent a406c7c717
commit eb12b23a3d
11 changed files with 38 additions and 36 deletions

View File

@@ -9,7 +9,7 @@ use warnings;
use utf8;
use open qw (:std :utf8);
use English qw ( -no_match_vars );
use Carp qw(carp);
use Carp qw (carp);
use File::Path qw (make_path);
use Hailo;
use Net::Jabber::Bot;
@@ -145,7 +145,8 @@ sub RunJabberBot {
tls => 1,
ssl_verify => 0,
username => $c->{jabberbot}->{aleesa}->{authname},
# threre is some nasty bug in module, so we have to set from_full explicitly
# threre is some nasty bug in module, so we have to set from_full explicitly
from_full => sprintf (
'%s@%s/%s',
$c->{jabberbot}->{aleesa}->{room},