summaryrefslogtreecommitdiffstats
path: root/scripts/fleech.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fleech.pl')
-rw-r--r--scripts/fleech.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fleech.pl b/scripts/fleech.pl
index 3443c28..935d803 100644
--- a/scripts/fleech.pl
+++ b/scripts/fleech.pl
@@ -744,7 +744,7 @@ sub print_dbg {
my ($txt, $mlvl) = @_;
my $lvl = Irssi::settings_get_int('fleech_verbose_level');
if ($dbglog) {
- if (not open (DBGLOG, ">> $dbglog")) {
+ if (not open (DBGLOG, ">>", $dbglog)) {
$dbglog = "";
} else {
# print_dbg("fleech.pl $VERSION loaded");