aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-10-17 03:32:12 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2025-10-17 03:32:12 +0200
commitf5bf5aca870c475d0621003b43eacdde808539c7 (patch)
tree8d11d72c2fa32b375260d4de034e73132d804bfc
parent95fb9015f44774778e2d1143b289c76dcdfb4842 (diff)
Fixed bogus if
-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");