Made slog() saner.
This commit is contained in:
1 parent
ce8ef76363
commit
e868892f51
2 files changed
+4
No files matched your search
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
||||
|
||||
3.0 Indev
|
||||
===============================================================================
|
||||
* Made slog() saner.
|
||||
* Syntax for mod_init() changed. Package name is no longer required.
|
||||
* Added German translation to Greet help hash. - nridley
|
||||
* Added German translation to FML help hash. - nridley
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user