Fixed some Perl::Critic violations.

This commit is contained in:
Elijah Perrault committed 2011-03-03 15:55:55 -07:00
1 parent 60edbba15d
commit 3a7ffb24ee
1 file changed
+1 -1
+1 -1
View File
@@ -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.