Fixed some Perl::Critic violations.
This commit is contained in:
1 parent
60edbba15d
commit
3a7ffb24ee
1 file changed
+1
-1
+1
-1
@@ -114,7 +114,7 @@ sub slog
|
||||
# It is, continue.
|
||||
|
||||
# Split the network and channel.
|
||||
my ($net, $chan) = split '/', (conf_get('logchan'))[0][0];
|
||||
my ($net, $chan) = split m/[\/]/, (conf_get('logchan'))[0][0];
|
||||
$chan = lc $chan;
|
||||
|
||||
# Check if we're connected to the network.
|
||||
|
||||
Reference in new issue
Block a user