aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/obsproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/obsproc.c b/FICS/obsproc.c
index 27c5156..9eaea96 100644
--- a/FICS/obsproc.c
+++ b/FICS/obsproc.c
@@ -1898,7 +1898,7 @@ jsave_history(int p, char save_spot, int p1, int from, char *to_file)
save_spot);
unlink(jfname);
- if (fics_copyfile(HistoryFname, jfname)) {
+ if (!fics_copyfile(HistoryFname, jfname)) {
pprintf(p, "System command in jsave_history "
"failed!\n");
pprintf(p, "Please report this to an admin.\n");