Made slog() saner.

This commit is contained in:
Elijah Perrault committed 2011-04-04 15:31:30 -06:00
1 parent ce8ef76363
commit e868892f51
2 files changed
+4

No files matched your search

+3
View File
@@ -113,6 +113,9 @@ sub slog
if (conf_get('logchan')) {
# It is, continue.
# Don't even bother with continuing if there are *NO* connections.
if (!keys %Auto::SOCKET) { return }
# Split the network and channel.
my ($net, $chan) = split m/[\/]/xsm, (conf_get('logchan'))[0][0];
$chan = lc $chan;