git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
918efb1
)
videosite-irssi: remove debug messages
author
Ralf Ertzinger
<ralf@skytale.net>
Tue, 30 Apr 2013 14:32:40 +0000
(16:32 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Tue, 30 Apr 2013 14:32:40 +0000
(16:32 +0200)
videosite-irssi.pl
patch
|
blob
|
history
diff --git
a/videosite-irssi.pl
b/videosite-irssi.pl
index
dc6196b
..
1a09e66
100644
(file)
--- a/
videosite-irssi.pl
+++ b/
videosite-irssi.pl
@@
-785,7
+785,6
@@
sub config_init {
# Try to find old config files and load them.
if (-r $conffile) {
# Try to find old config files and load them.
if (-r $conffile) {
- write_debug("Attempting JSON config load from %s", $conffile);
eval {
local $/;
open(CONF, '<', $conffile);
eval {
local $/;
open(CONF, '<', $conffile);
@@
-793,7
+792,6
@@
sub config_init {
close(CONF);
};
} elsif (-r $xmlconffile) {
close(CONF);
};
} elsif (-r $xmlconffile) {
- write_debug("Attempting XML config load from %s", $xmlconffile);
$conf = XML::Simple::XMLin($xmlconffile, ForceArray => ['config', 'option', 'connectorlist'], KeepRoot => 1, KeyAttr => {'connector' => '+name', 'config' => 'module', 'option' => 'key'});
}
$conf = XML::Simple::XMLin($xmlconffile, ForceArray => ['config', 'option', 'connectorlist'], KeepRoot => 1, KeyAttr => {'connector' => '+name', 'config' => 'module', 'option' => 'key'});
}