summaryrefslogtreecommitdiffstats
path: root/scripts/paste-derwan.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/paste-derwan.pl')
-rw-r--r--scripts/paste-derwan.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/paste-derwan.pl b/scripts/paste-derwan.pl
index bc4e89f..dd96dde 100644
--- a/scripts/paste-derwan.pl
+++ b/scripts/paste-derwan.pl
@@ -113,7 +113,7 @@ sub paste {
return;
};
if ($where =~ /^-s/) {
- open (F, ">>$file") or do {
+ open (F, ">>", $file) or do {
$window->print("Paste: Cannot write savefile \"$file\"", $paste_use_level);
return;
};